AUTOMATIC1111 / stable-diffusion-webui

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

img2img - 'dict' object has no attribute 'split' #143

Closed ReinerBforartists closed 1 year ago

ReinerBforartists commented 1 year ago

I get an error message when i try to modify an existing image with img2img.

'dict' object has no attribute 'split'

image2image

nerdyrodent commented 1 year ago

I get content = encoding.split(";")[1] AttributeError: 'NoneType' object has no attribute 'split'. So far the thing that seems to "work" is to go to "inpaint part of an image" and wiggle the mouse over the image area... then the other options (loopback, sd upscale, etc) work again.

AUTOMATIC1111 commented 1 year ago

is this with the latest version of the ui

ReinerBforartists commented 1 year ago

Yes. I have pulled and setup the repo just before a few minutes. But i cannot reproduce the error anymore at the moment.

AUTOMATIC1111 commented 1 year ago

This error was known to happen when you switched tabs with an image in the "inpaint" section. I fixed it by always removing that image when you switch tabs. It's a gradio error error so the best I can do is work around it like this. If you find another way to reliably reproduce it I might be able to plug that hole also.

ReinerBforartists commented 1 year ago

Thanks. It can indeed be that i clicked the impaint section. As told, fresh downloaded and installed. And the first thing that i did was having a look what i have here. I'll keep my eyes open if i can reproduce it :)

nerdyrodent commented 1 year ago

For me it always errors. I have to do the "workaround" each time any "send to" button is pressed. Same with gradio 3.1.7, 3.2 and 3.2.1b2

TwistedFromArma commented 1 year ago

also have the issue. latest version from an hour or so ago.

maybe having inpaint in its own window?

dfaker commented 1 year ago

Gradio version bumped, please retest