-
-
Notifications
You must be signed in to change notification settings - Fork 880
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: .cmd don't launch #920
Comments
Running it in the command prompt, I'm getting this error.
|
Same here, under Windows |
Same, here's a bit more details: /p first_line= 0<environment.yaml |
@hafiidz seems to be related to your changes in the cmd files |
I've temporarily reverted to the original state, and added the new lines in a comment
|
starting again 👍 |
I couldn't reproduce the error in my local PC, but there might be some differences in order execution.
Will send PR if this fully resolved the problem. |
Send a draft, appreciate everyone's help to test. Please also share you OS version. I am quite curious on how this were to happen. |
@hafiidz Thanks for your work on the fix but the draft has the same error. I'm running Windows 11 10.0.25188.1000 |
Hi there... I just made an account to try help with this. I am no programmer but I test things. I needed some time to understand that I had to edit webui.cmd instead of environment.yaml... so there you can see my (lack of) knowledge. Any way. Copypasting @mykeehu lines ad the begining of webui.cmd allowed me to launch AI again and play. OS is Windows 10 Home |
I do Have Conda on C: and SD on K: too. |
Mine is also on different disk, so that shouldn't be the issue. @codedealer , could you please help to revert both #860 & #895 from master while I am doing more detailed check in the dev branch. Hard to fix something that I unfortunately couldn't reproduce. My sincerest apologies. |
|
How do I know the error code? without reverting the changes cmd just opens and closes itself without telling anything. With the whole picture do you mean the whole lines of code inside it? |
Please add
And screenshot those. You can screenshot and paste (CTRL+V) in the comment box |
Hope this helps |
Is it possible for you to try with this.
|
Weird that the wording changes to set /p first line = 0 <environment.yaml Not sure where that comes from. |
And, you can just paste your screencap in the comment box here. I also just learn this yesterday. Github automatically upload picture here after a few seconds. |
Same exact error with your last request. |
Is it possible for you to double click the webui.cmd instead of calling from another command line? Sorry for a lot of question. Couldn't really reproduce this myself unfortunately. Huhu. |
On the contrary, thank you for developing this AI. I usually double click cmd. There is only a little difference if I right click execute it as a administrator: It opens says some words and closes. gonna try read them in time... Spec not found: invalid name, try the format: user/package haha took me 6 tries |
Really appreciate your hard work to help me test. This is collaborative Open Source work. I just help with external side part for now. Mostly other team members are doing the hard part. Could you please try another option. |
BTW, I was using this branch because of the deepfry problem: https://github.com/xaedes/stable-diffusion-webui/tree/mask-restore-665 But have downloaded the whole master branch to do the tests, there's no difference. The code reverted works the new code closes on opening On my way! (My thanks extends to the whole team, of course) |
And thanks to use for error reporting and testing. Every contribution helps. |
The problem is related to how newlines are treated in the If anyone is having this issue, open the |
We will revert the changes for now. Will continue to debug this further before we restore the automated environment set.
Oh my god. Thanks!!! I think this is it. Able to reproduce the error. Will try to check the best way to handle this when restoring this feature. |
Confirming @pozibrothers fix works. Thanks, good job. |
If I didn't understand a word of what he said is alright to revert for now or should I try to understand it? Thanks by the way. |
Are you in master branch? If so, just sync back to this master branch, the revert has been done there. If you are in dev, please perform fix by @mykeehu , i.e. manually revert the changes by commenting and adding the old line.
|
Need to take some rest first. Will be off for the rest of the day. Thanks again everyone who submit report, tested and found the actual root cause. Really appreciate it. |
Yes. I will confirm as well, this fixed it. |
https://stackoverflow.com/a/20631625 So instead of:
this:
|
Awesome, really appreciate your help @DarkAndBlue. @codedealer or @ZeroCool940711 , appreciate if you could have a look and incorporate this fix, I am unfortunately stuck with another unrelated issue couldn't fully test this until next week. |
- Allow reading environment.yaml file in either LF or CRLF - Only update environment if environment.yaml changes - Remove custom_conda_path to discourage changing source file - Fix unable to launch webui due to frontend module missing (Sygil-Dev#605)
- Allow reading environment.yaml file in either LF or CRLF - Only update environment if environment.yaml changes - Remove custom_conda_path to discourage changing source file - Fix unable to launch webui due to frontend module missing (Sygil-Dev#605)
What happened?
.cmd don't launch
Version
0.0.1 (Default)
What browsers are you seeing the problem on?
Chrome
Where are you running the webui?
Windows
Custom settings
No response
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: