AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
142.81k stars 26.92k forks source link

[Bug] AttributeError: 'dict' object has no attribute 'size' #5371

Closed Flonixcorn closed 1 year ago

Flonixcorn commented 1 year ago

Is there an existing issue for this?

What happened?

After Gitpull Getting this error spammed in cmd:

prediction = await anyio.to_thread.run_sync(

File "X:\AI\StableDiffusion\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "X:\AI\StableDiffusion\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "X:\AI\StableDiffusion\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run result = context.run(func, *args) File "X:\AI\StableDiffusion\stable-diffusion-webui\modules\ui.py", line 800, in update_orig same_size = state is not None and state.size == image.size AttributeError: 'dict' object has no attribute 'size'

Steps to reproduce the problem

start the webui

What should have happened?

normal, since before last commit

Commit where the problem happens

46b0d230e7c13e247eabb22e1103ce512e7ed6b1

What platforms do you use to access UI ?

Windows

What browsers do you use to access the UI ?

No response

Command Line Arguments

--xformers --share

Additional information, context and logs

Did a git pull, now spamming comandline, cant make new images, multiple Extensions installed SD-latent-mirroring https://github.com/dfaker/SD-latent-mirroring unknown deforum-for-automatic1111-webui https://github.com/deforum-art/deforum-for-automatic1111-webui unknown depthmap2mask https://github.com/Extraltodeus/depthmap2mask.git unknown multi-subject-render https://github.com/Extraltodeus/multi-subject-render.git unknown sd-dynamic-prompts https://github.com/adieyal/sd-dynamic-prompts unknown sd_dreambooth_extension https://github.com/d8ahazard/sd_dreambooth_extension unknown seed_travel https://github.com/yownas/seed_travel.git unknown stable-diffusion-webui-aesthetic-gradients https://github.com/AUTOMATIC1111/stable-diffusion-webui-aesthetic-gradients unknown stable-diffusion-webui-artists-to-study https://github.com/camenduru/stable-diffusion-webui-artists-to-study unknown stable-diffusion-webui-conditioning-highres-fix https://github.com/klimaleksus/stable-diffusion-webui-conditioning-highres-fix.git unknown stable-diffusion-webui-inspiration https://github.com/yfszzx/stable-diffusion-webui-inspiration unknown stable-diffusion-webui-prompt-travel https://github.com/Kahsolt/stable-diffusion-webui-prompt-travel.git unknown stable-diffusion-webui-tokenizer https://github.com/AUTOMATIC1111/stable-diffusion-webui-tokenizer.git unknown stable-diffusion-webui-visualize-cross-attention-extension https://github.com/benkyoujouzu/stable-diffusion-webui-visualize-cross-attention-extension.git unknown stable-diffusion-webui-wildcards https://github.com/AUTOMATIC1111/stable-diffusion-webui-wildcards unknown

Flonixcorn commented 1 year ago

Fixed it by updating all the extensions and reloading webui