Closed iurysouzatx closed 10 months ago
in your stable-diffusion-webui\extensions\sd-webui-controlnet
folder, do you have a presets folder? Is it empty? If not, try to delete this folder and reload the webui.
in your
stable-diffusion-webui\extensions\sd-webui-controlnet
folder, do you have a presets folder? Is it empty? If not, try to delete this folder and reload the webui.
Nothing on presets folder because I removed controlnet and tried to reinstall again, same problem.
same issue here
I don't know what caused this, but a new fresh install of SD got it to work again :/
I don't know what caused this, but a new fresh install of SD got it to work again :/
I tried a lot of fixes, but none worked. Finally I had to reinstall as well. Took me half a day... But I can make my waifus again now, so overall not bad...
Delete your ui-config.json
and config.json
files.
AUTO1111 will complain the files don't exist on starting the server; don't worry, it's just a warning. You can recreate them by going to Settings
and clicking "Apply settings
"
Hopefully this saves others from having to completely rebuild their install.
For me it was the "txt2img/img2img UI item order" setting (Settings > User Interface). If you have changed it at all this extension throws all those errors on start up. Very annoying as I like having Scripts at the top of my UI.
@huchenlei This issue is still happening on the latest commit if I alter the order of the UI. You marked this as closed, Was it supposed to have been fixed?
Please follow instructions in this comment: https://github.com/Mikubill/sd-webui-controlnet/issues/2136#issuecomment-1741850364
That doesn't fix the issue. See https://github.com/Mikubill/sd-webui-controlnet/issues/2136#issuecomment-1789932744 As soon as I change the UI order back to the way I like it (using the built in setting of Automatic1111) the error occurs again.
It appears that Control Net is assuming the UI will have a specific structure but because the order of the UI was changed it leads to the gradio error. I don't mean to be pushy but this is a repeatable and narrow issue with the extension where it does not support a built in setting of Automatic1111 so I think this issue is deserving of a proper fix.
I print the list inputs
, and found one of the list is empty, so I repair it by change [block._id for block in inputs]
to [block._id for block in inputs if block is not None]
. It works for me.
Is there an existing issue for this?
What happened?
Can't even launch the WebUI when ControlNet is installed. I updated the ControlNet and that's it.
Steps to reproduce the problem
Just open the WebUI
What should have happened?
The WebUI started normally.
Commit where the problem happens
webui: 5ef669de080814067961f28357256e8fe27544f4 controlnet: e67e017
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
List of enabled extensions
Pixel Art
Console logs
Additional information
No response