stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

'Send to' buttons all crash the client

Open antipoet opened this issue 3 years ago • 3 comments

Describe the bug All the functions seem to work fine individually (IE when you click the tabs and manually add an image) but if you click the shortcut to send a generated image (for instance) from txt2img to img2img the client crashes. This seems to be the same for all the 'send to' buttons. Suddenly started today afaik.

Error message below.

To Reproduce Steps to reproduce the behavior: Just click a 'send to' button, it crashes for me every time.

Desktop (please complete the following information):

  • OS: Windows
  • Browser firefox
  • Commit revision 5967d07d1aa4e2fef031a57b1612b1ab04a3cd78

Additional context Traceback (most recent call last): File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 275, in run_predict output = await app.blocks.process_api( File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 787, in process_api result = await self.call_function(fn_index, inputs, iterator) File "D:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 694, in call_function prediction = await anyio.to_thread.run_sync( File "D:\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 "D:\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "D:\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run result = context.run(func, *args) File "D:\stable-diffusion-webui\modules\ui.py", line 1599, in fn=lambda img, *args: (image_from_url_text(img),*args), File "D:\stable-diffusion-webui\modules\ui.py", line 98, in image_from_url_text if filedata.startswith("data:image/png;base64,"): AttributeError: 'dict' object has no attribute 'startswith'

antipoet avatar Oct 15 '22 10:10 antipoet

I have the same errors :( Although I'm sure Auto is on the case, the man is a machine.

blootman avatar Oct 15 '22 12:10 blootman

Seems like this should be fixed in https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/20a1f68c752f8e37492ea00911c97bfc572a6e67?

xram64 avatar Oct 15 '22 20:10 xram64

Hm still seems broken for me, even with a new pull. I am noticing that it crashes most of the time when using the switcher to change the model too.

antipoet avatar Oct 16 '22 12:10 antipoet