stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: webui doesn't start if you don't press something on the keyboard
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
For the last few days webui doesn't start automatically. You have to press something on the keyboard to continue the startup.
Steps to reproduce the problem
- Start the webui-user.bat
- Don't press anything
- Nothing happens, server doesn't start
What should have happened?
Startup as usual without having to press anything
Commit where the problem happens
https://google.com/search?q=d725be5d187c172fbabfb2d35cf6bff2237367a8c1cf743d03c1c0e57f0e43fa
What platforms do you use to access the UI ?
Windows
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
--listen --opt-split-attention-v1 --xformers --ckpt-dir "C:\stable-diffusion-ui\models\stable-diffusion"
List of extensions
ebsynth_utility sd-webui-3d-open-pose-editor sd-webui-controlnet sd-webui-llul sd-webui-regional-prompter sd_dreambooth_extension sd_smartprocess stable-diffusion-webui-composable-lora stable-diffusion-webui-rembg stable-diffusion-webui-state stable-diffusion-webui-two-shot ultimate-upscale-for-automatic1111 LDSR Lora ScuNET SwinIR prompt-bracket-checker
Console logs
-
Additional information
No response
that is not a Commit nor a version number
Is that the one?
python: 3.10.6 • torch: 2.0.0+cu118 • xformers: 0.0.17 • gradio: 3.28.1 • commit: 5ab7f213 • checkpoint: d725be5d18
you're not giving me anything to work with all I can say is that you're not using the latest version you should upgrade to the latest version and do a clean install
thanks, you are a great helper :) totally useless
you literally giving me nothing to work with
I don't even know how you're starting webut are are you perhaps double clicking webui-user.bat? using CMD? Powershell? you said you're using Windows, but that could mean lots of things have you tried disabling the extensions because sometimes extensions could do strange things I don't know you what keys you're pressing so that it start working?
only thing I know is that out of the usual is that you're using older version of webUI, so the only advice I can give is to update
I can take a very wild guess if you are using Windows 10 + CMD + webui-user.bat and you have some text selected because it will enter quick edit mode but if you're using Windows 11 then it defaults to Windows terminal which doesn't have any mode pause
is the issue in or out webui? is it a python issue is a terminal issue? or maybe you have some special software running that causes the issue I don't know antivirus wild guess so many possibilities
we are not you we don't sit in front of your computer we don't see what you see we don't know what you do
whe someone tags can't reproduce means that for whatever reason you're not giving enough information and other reproduce the behavior
The above post has the solution:
- Right click on the border of the cmd/console window
- Under the Options tab/Edit Options uncheck "Quick Edit Mode"
- Click OK/Close
That should stop the behavior of Windows waiting for a key to be entered before continuing the webui startup (or dependency installs/etc).
the thing is I have no idea if this is what he's experiencing or he is experiencing something else, it's blind guess
Almost positive that's what he's talking about. Bugged me too until I asked ChatGPT 4 about it. Hopefully they'll reply and confirm you provided the solution they were seeking.
Not an A1111 issue if that's what is being referred to.
when you click on cmd (command prompt) window it says select and pauses the entire terminal, thats why they dont see any updates or progress. You need to click or type so it will show the console log again
Didnt know that quick edit tip, so I'm glad he brought it up. i was struggling with the same issue.
Closing as stale.
To disable the QuickEdit you need to:
-
find the
webui.bat, right click, create shortcut. Ensure it's in the same folder. Name itwebui_shortcut_no_CmdQuickEdit -
right click the shortcut, open its properties, switch to the 'Options' tab. Untick
QuickEdit Mode. -
right click the
webui-user.bat-> edit in notepad --> and change the line
call webui.bat
to
start "" "%CD%\webui_shortcut_no_CmdQuickEdit.lnk"
- Enjoy :)