Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: RuntimeError: dictionary changed size during iteration #13896

Closed
1 task done
swumagic opened this issue Nov 7, 2023 · 2 comments
Closed
1 task done

[Bug]: RuntimeError: dictionary changed size during iteration #13896

swumagic opened this issue Nov 7, 2023 · 2 comments
Labels
bug-report Report of a bug, yet to be confirmed

Comments

@swumagic
Copy link

swumagic commented Nov 7, 2023

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

Traceback (most recent call last):
File "J:\StableDiffusion\sdwebui\py310\lib\site-packages\gradio\routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "J:\StableDiffusion\sdwebui\py310\lib\site-packages\gradio\blocks.py", line 1431, in process_api
result = await self.call_function(
File "J:\StableDiffusion\sdwebui\py310\lib\site-packages\gradio\blocks.py", line 1103, in call_function
prediction = await anyio.to_thread.run_sync(
File "J:\StableDiffusion\sdwebui\py310\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "J:\StableDiffusion\sdwebui\py310\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "J:\StableDiffusion\sdwebui\py310\lib\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, *args)
File "J:\StableDiffusion\sdwebui\py310\lib\site-packages\gradio\utils.py", line 707, in wrapper
response = f(*args, **kwargs)
File "J:\StableDiffusion\sdwebui\modules\ui_extra_networks.py", line 392, in pages_html
return refresh()
File "J:\StableDiffusion\sdwebui\modules\ui_extra_networks.py", line 400, in refresh
ui.pages_contents = [pg.create_html(ui.tabname) for pg in ui.stored_extra_pages]
File "J:\StableDiffusion\sdwebui\modules\ui_extra_networks.py", line 400, in
ui.pages_contents = [pg.create_html(ui.tabname) for pg in ui.stored_extra_pages]
File "J:\StableDiffusion\sdwebui\modules\ui_extra_networks.py", line 162, in create_html
self.items = {x["name"]: x for x in self.list_items()}
File "J:\StableDiffusion\sdwebui\modules\ui_extra_networks.py", line 162, in
self.items = {x["name"]: x for x in self.list_items()}
File "J:\StableDiffusion\sdwebui\extensions-builtin\Lora\ui_extra_networks_lora.py", line 69, in list_items
for index, name in enumerate(networks.available_networks):
RuntimeError: dictionary changed size during iteration
提示:Python 运行时抛出了一个异常。请检查疑难解答页面。

Steps to reproduce the problem

[Bug]: RuntimeError: dictionary changed size during iteration

What should have happened?

[Bug]: RuntimeError: dictionary changed size during iteration

Sysinfo

win11,PY3.10.11,CUDA 12.3

What browsers do you use to access the UI ?

Google Chrome

Console logs

[Bug]: RuntimeError: dictionary changed size during iteration

Additional information

No response

@swumagic swumagic added the bug-report Report of a bug, yet to be confirmed label Nov 7, 2023
@w-e-w
Copy link
Collaborator

w-e-w commented Nov 8, 2023

duplicate report

@catboxanon
Copy link
Collaborator

Closing as duplicate of #13011.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Report of a bug, yet to be confirmed
Projects
None yet
Development

No branches or pull requests

3 participants