Closed devioa closed 8 months ago
I haven't touched code in forever, but I'll say what I could figure out. It looks like extra_options_section.py is supposed to let you add options like clip skip or other things to the main text2img and img2img interfaces. I couldn't get it working. It might work in main AUTOMATIC1111, but I haven't checked. To get the error to go away I moved the "extra-options-section" folder out of "extensions-builtin". It's not really doing much there as far as I can tell. You can try that and see if it works for you.
Seems like there are two arguable oversights in the code resulting in this error: 1) It runs on every generation even when the "extra options" accordion that that extension provides is entirely disabled, as it is by default. 2) It doesn't have sanity-checking for there not actually being any settings configured in the options to show up there. This is the actual bulk of the error, as it's trying to iterate over the empty setting field. I haven't tested this, because I don't have intent to use that accordion so I just removed it as silvri did, but I would suspect that adding a setting to it in its section at the bottom of the User Interface page of the options menu (and then fully restarting the app, not just the UI) would solve the error.
Quick way to reproduce....
After this gens will print out that error/warning even if Scripts are disabled.
I haven't touched code in forever, but I'll say what I could figure out. It looks like extra_options_section.py is supposed to let you add options like clip skip or other things to the main text2img and img2img interfaces. I couldn't get it working. It might work in main AUTOMATIC1111, but I haven't checked. To get the error to go away I moved the "extra-options-section" folder out of "extensions-builtin". It's not really doing much there as far as I can tell. You can try that and see if it works for you.
can confirm, thanks, removing this specific file removed the problem for me.
I do not know if it is supposed to do anything, but i see no loss of functionality for what i use.
you are right close the issue
Is there an existing issue for this?
What happened?
getting an error in console when I click
Generate
button:Steps to reproduce the problem
Generate
button in WebUIWhat should have happened?
no errors
Version or Commit where the problem happens
355c0efed9f185d0f2259aa845e201ca44b53d49
What Python version are you running on ?
Python 3.10.x
What platforms do you use to access the UI ?
Windows
What device are you running WebUI on?
Nvidia GPUs (RTX 20 above)
Cross attention optimization
Automatic
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
List of extensions
ddetection-detailer | https://github.com/Bing-su/dddetailer.git | master | ed32e3b0 | Sun May 28 04:16:03 2023 | unknown dynamic-thresholding | https://github.com/mcmonkeyprojects/sd-dynamic-thresholding.git | master | f02cacfc | Mon May 22 14:20:30 2023 | unknown multidiffusion | https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111.git | main | b28c03b1 | Fri Jun 9 17:45:33 2023 | unknown sd-webui-additional-networks | https://github.com/kohya-ss/sd-webui-additional-networks.git | main | e9f3d622 | Tue May 23 12:31:15 2023 | unknown sd-webui-controlnet | https://github.com/Mikubill/sd-webui-controlnet.git | main | caf54076 | Tue Jun 13 07:39:32 2023 | unknown sd-webui-locon | https://github.com/KohakuBlueleaf/a1111-sd-webui-locon.git | main | 161ba405 | Fri May 26 16:01:42 2023 | unknown sd-webui-lycoris | https://github.com/KohakuBlueleaf/a1111-sd-webui-lycoris.git | main | 123d1da1 | Thu Jun 8 01:19:40 2023 | unknown sd-webui-tagcomplete | https://github.com/DominikDoom/a1111-sd-webui-tagcomplete | main | f4218a71 | Fri Jun 9 14:15:27 2023 | unknown LDSR | built-in | None | | Wed Jun 14 06:56:07 2023 | Lora | built-in | None | | Wed Jun 14 06:56:07 2023 | ScuNET | built-in | None | | Wed Jun 14 06:56:07 2023 | SwinIR | built-in | None | | Wed Jun 14 06:56:07 2023 | canvas-zoom-and-pan | built-in | None | | Wed Jun 14 06:56:07 2023 | extra-options-section | built-in | None | | Wed Jun 14 06:56:07 2023 | prompt-bracket-checker | built-in | None | | Wed Jun 14 06:56:07 2023 | sd_theme_editor | built-in | None | | Wed Jun 14 06:56:07 2023
Console logs
Additional information
No response