text2image-gui
text2image-gui copied to clipboard
'Unhandled Stable Diffusion Error'
Had 1.7.1 working fine, made a fresh install of the 1.7.2 today (windows 10, 1070ti with 8Go VRAM). Everytime I try to run a prompt the event box says : 'Preparing model files... Unhandled Stable Diffusion Error: The given key was not present in the dictionary.'
And it doesn't process any further.
I've try checking/unchecking every parameters, and strangely it works on low memory mode with OpitimizedSD. But the normal InvokeAI mode was working fine on previous installs, I used various versions of this GUI since a few months.
Got a recent backup so I'll roll the install back to 1.7.1, but I was willing to record the issue here.
I had the same error, and I found out that I was referencing a Wildcard file that was not there anymore. With the OptimizedSD option, wildcards do not work so that is why you don't have the error.
Hope it helps.
I had the same error, and I found out that I was referencing a Wildcard file that was not there anymore. With the OptimizedSD option, wildcards do not work so that is why you don't have the error.
Hope it helps.
thank you, I'll try to dig this, but it seems weird as I don't use wildcards at all
Found the issue by opening the realtime log event viewer, it still have to be addressed I guess, to have a warning message or window appearing when it occurs.
The pickle malware scanner found a malware in one of the models I had laying in my downloaded models folder. And after flagging it, even if the model incriminated wasn't in use for the generation, it creates an error. Without thinking I deleted the model, so I won't be able to reproduce the issue to copy the full log here.