stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: Warning: Bad ui setting value:....
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
I'm running A1111 with the auto update on, starting the webui-user.bat since earlier today I have been getting this error (below in the picture, this appears right at launch after embeddings and model etc are loaded. On top of that I can't click any of the tabs in my A1111 browser page like img2img,extras, png info... etc. I can click on all sections below the main tab and generate though. (though no image preview appears, this has been broken for a few days though, I heard removing dreambooth is meant to help but by the time I tried that today, this new problem had appeared so i'm not sure if removing DB would fix it)
After clicking generate I get this, and with basic settings it will process, though I had tried toying with the settings and generating and it seemed to break at least once.
in short the whole UI is goofed, I saw a few people in the SD discord with the same issue, I was expecting an update might fix it as it seems there has been a constant stream of things changing when loading the WEBui.bat though the issue is still there.
Steps to reproduce the problem
Load webui-user.bat
What should have happened?
The UI functions without a hitch.
Commit where the problem happens
3e22e294135ed0327ce9d9738655ff03c53df3c0
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
--xformers
Additional information, context and logs
No response
I'm getting the same thing. The checkpoint selector just says error and I can only click on Generate. It was working just fine last night. Commit: 3e22e294135ed0327ce9d9738655ff03c53df3c0 Windows, Chrome
Edit: Command lines: --lowvram --no-half-vae --api
Just tried the latest and i'm having the same issue on edge and firefox mobile, just reverted back to a previous version until its resolved.
The new UI does look nice. Can't wait to try it
Same issue on a Mac I updated with "git pull" today and beforehand it worked.
Confirmed broken here, still. It's been getting in my way for a couple days now, I've a lot of inpainting to do.
Same issue on a Mac I updated with "git pull" today and beforehand it worked.
Haha funny.
same issue. part of that Issue here appeared when i press "send to img2img" in the IMAGE BROWSER extention tab
Anytime I select the 1.5 inpainting model by SD it breaks everything. It's pissing me off because I've been needing to use it heavily for a really big project I am doing.
Inpainting itself seems fine, but using the 1.5 model breaks it. Maybe I missed something that explains what tthis happens now.
On Tue, Jan 3, 2023 at 8:48 PM 4lt3r3go @.***> wrote:
same issue. that Issue here appear when i pressed "send to img2img" in the IMAGE BROWSER extention tab
— Reply to this email directly, view it on GitHub https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/6278#issuecomment-1370429921, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2755J2APQD6KTWFNOKJ3K3WQTQJDANCNFSM6AAAAAATQCRMWU . You are receiving this because you commented.Message ID: @.***>
I don't understand how some of you are lucky enough generate on the new UI at all. When i load the UI, its completely non responsive and cannot generate. Tried again this morning hoping the issue as fixed and exactly the same, still broken.
Same here @RashanJS it loads, but nothing is clickable to use.
Same.
I just attempted renaming my extensions folder to extensionsOLD, so it couldn't use any of my extensions, and now it seems to have launched in a workable fashion though I didn't check it very much. I can switch through the various tabs and generate an image. I'm using whatever is the latest code at the time of writing this I pulled it a few minutes ago. Though there is a bunch of new warning/errors still showing after doing this that were not shown in older releases. Perhaps only people who have extensions that are conflicting with the new code are running into this error?
Still get the following errors, but generating images is working:
/Users/robertw/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/components.py:2196: UserWarning: The bytes
type is deprecated and may not work as expected. Please use binary
instead.
warnings.warn(
/Users/robertw/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/utils.py:796: UserWarning: Expected 1 arguments for function <function update_generation_info at 0x2927d2cb0>, received 2.
warnings.warn(
/Users/robertw/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/utils.py:804: UserWarning: Expected maximum 1 arguments for function <function update_generation_info at 0x2927d2cb0>, received 2.
warnings.warn(
Warning: Bad ui setting value: img2img/Mask mode/value: Draw mask; Default value "Inpaint masked" will be used instead.
I got mine working by removing all of my extensions. I wa having the same issue, cleared my extensions and it booted right up. I will be reinstalling them 1 by 1 to find my issue.
It seems that by just deleting all of my extensions and then loading them all back in it still works. Basically a fresh install?
Deleting my extensions didn't work for me, i just get different errors and a frozen UI
I got mine working by removing all of my extensions. I wa having the same issue, cleared my extensions and it booted right up. I will be reinstalling them 1 by 1 to find my issue.
interesting, I checked my extensions folder and saw a folder for "Config-Presets", I've no idea where this even came from but I do notice those words in the erros, I removed that folder from the extensions folder and now it loads without a lot of the errors.
Tabs and UI appears to work now though, the only error I'm still gettting now is:
Warning: Bad ui setting value: img2img/Mask mode/value: Draw mask; Default value "Inpaint masked" will be used instead.
An improvement!
Cheers.
tryed remove all extention, this message is still there: Bad ui setting value: img2img/Mask mode/value: Draw mask; Default value "Inpaint masked" will be used instead.
Try to remove ui-config.json
file and restart. At some moment wrong value was saved in it, and then loaded every time. You can alter it manually or let it be generated again with correct value after some commit. Be sure to git pull first. Just checked - it works. Same here: https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/6310#discussioncomment-4598403
Try to remove
ui-config.json
Thanks! this fixed the error
Still get the following errors, but generating images is working:
/Users/robertw/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/components.py:2196: UserWarning: The
bytes
type is deprecated and may not work as expected. Please usebinary
instead. warnings.warn( /Users/robertw/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/utils.py:796: UserWarning: Expected 1 arguments for function <function update_generation_info at 0x2927d2cb0>, received 2. warnings.warn( /Users/robertw/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/utils.py:804: UserWarning: Expected maximum 1 arguments for function <function update_generation_info at 0x2927d2cb0>, received 2. warnings.warn( Warning: Bad ui setting value: img2img/Mask mode/value: Draw mask; Default value "Inpaint masked" will be used instead.
- Move your
ui-config.json
andconfig.json
somewhere. - Start your WebUI, it basically will generate new .json files for you, and will RESET your whole settings,
- If there is no more errors, compare the new generated files with the old ones to find the culprit.
I don't know if this will help you all, but getting rid of the dhazard auto fix patch extension whatever fixed all my problems.
On Sat, Jan 7, 2023 at 4:16 PM Marchel Sugi @.***> wrote:
Still get the following errors, but generating images is working:
/Users/robertw/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/components.py:2196: UserWarning: The bytes type is deprecated and may not work as expected. Please use binary instead. warnings.warn( /Users/robertw/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/utils.py:796: UserWarning: Expected 1 arguments for function <function update_generation_info at 0x2927d2cb0>, received 2. warnings.warn( /Users/robertw/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/utils.py:804: UserWarning: Expected maximum 1 arguments for function <function update_generation_info at 0x2927d2cb0>, received 2. warnings.warn( Warning: Bad ui setting value: img2img/Mask mode/value: Draw mask; Default value "Inpaint masked" will be used instead.
- Move your ui-config.json and config.json somewhere.
- Start your WebUI, it basically will generate new .json files for you, and will RESET your whole settings,
- If there is no more errors, compare the new generated files with the old ones to find the culprit.
— Reply to this email directly, view it on GitHub https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/6278#issuecomment-1374632586, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2755J2ZST7RCLYQC36EGKTWRHTKTANCNFSM6AAAAAATQCRMWU . You are receiving this because you commented.Message ID: @.***>
gtg here. thanks everyone for the help.
Same happens on M2 MacBook Air. Web UI runs without problems (Firefox). Commit: 8850fc23b6e8a8e210bdfe4aade81516fb5770f3 Command Line Arguments: --no-half --use-cpu interrogate I have no extensions installed.
Try to remove
ui-config.json
file and restart. At some moment wrong value was saved in it, and then loaded every time. You can alter it manually or let it be generated again with correct value after some commit. Be sure to git pull first. Just checked - it works. Same here: #6310 (comment)
Yup! That was it.
but it fix it just temporarily
It may be caused by an extension too. This time it was caused by the main repo, and then fixed.