stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: "Expecting value: line 1 column 1 (char 0)" thrown
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
I'm using the python launch.py command but I can not utilise the function normally.
Steps to reproduce the problem
- Download the package.
- Download other packages it needs.
- Run the webui.
What should have happened?
Normal function.
Sysinfo
I'm using windows system equipped with Python3.10.6.
What browsers do you use to access the UI ?
No response
Console logs
D:\1Workshop\4Downhill\stable-diffusion-webui-master>python launch.py
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
fatal: No names found, cannot describe anything.
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: 1.6.1
Commit hash: <none>
Launching Web UI with arguments:
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Loading weights [6ce0161689] from D:\1Workshop\4Downhill\stable-diffusion-webui-master\models\Stable-diffusion\v1-5-pruned-emaonly.safetensors
Running on local URL: http://127.0.0.1:7860
Additional information
I've pip downloaded xformers before. Any help is appreciated.
you're not providing the error logs that matters
and clearly you haven't read the description of Sysinfo
System info file, generated by WebUI. You can generate it in settings, on the Sysinfo page. Drag the file into the field to upload it. If you submit your report without including the sysinfo file, the report will be closed. If needed, review the report to make sure it includes no personal information you don't want to share. If you can't start WebUI, you can use --dump-sysinfo commandline argument to generate the file.
Hi,
I got the same issue. Below are the logs from the console.
how did you produce the issue are you trying to save the image using the save button? are you perhaps using some extensions? can you verify in what way did json is broken?
It didn't occur to me again after that. I will try to reproduce the issue and debug it.
I will let you know if I find anything.
信じられない
That command (--no gradio -queue)works for me When I encounter the same problem as you post the pic above.
you should not add "--xformers --no-gradio-queue" in file "webui-user.bat", but add it in your command "./webui.sh --no-gradio-queue", I hope it is useful for you.
you should not add "--xformers --no-gradio-queue" in file "webui-user.bat", but add it in your command "./webui.sh --no-gradio-queue", I hope it is useful for you.
wrong info
it depends on your OS and how you're launching web UI
in this particular case since it's on Windows and using the built-in method of launching web UI adding args to webui-user.bat
is the correct method
I think you need to add style database, in my cmd installation I noticed:
Launching Web UI with arguments: no module 'xformers'. Processing without... Style database not found: C:\a1111\stable-diffusion-webui\webui\styles.csv Downloading: "https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors" to C:\a1111\stable-diffusion-webui\webui\models\Stable-diffusion\v1-5-pruned-emaonly.safetensors
I also encountered this problem. I was about to give up and restarted the computer. Then I only used --xformers and re-ran run.bat and it worked normally. I hope this can help you.
Thank you.
On Fri, Jun 14, 2024, 2:59 PM lucas5 @.***> wrote:
I also encountered this problem. I was about to give up and restarted the computer. Then I only used --xformers and re-ran run.bat and it worked normally. I hope this can help you.
— Reply to this email directly, view it on GitHub https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/14037#issuecomment-2167360359, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIELETP5LXZ52JC3C3VWPSTZHKIE3AVCNFSM6AAAAAA7SG5SFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRXGM3DAMZVHE . You are receiving this because you are subscribed to this thread.Message ID: @.*** com>