stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: "Expecting value: line 1 column 1 (char 0)" thrown

Open 0Ofl opened this issue 1 year ago • 10 comments

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. image

Steps to reproduce the problem

  1. Download the package.
  2. Download other packages it needs.
  3. 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.

0Ofl avatar Nov 20 '23 02:11 0Ofl

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.

w-e-w avatar Nov 20 '23 06:11 w-e-w

Hi,

I got the same issue. Below are the logs from the console.

Screenshot 2023-11-21 at 2 01 03 PM

SriChandana98 avatar Nov 21 '23 19:11 SriChandana98

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?

w-e-w avatar Nov 21 '23 20:11 w-e-w

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.

SriChandana98 avatar Nov 21 '23 23:11 SriChandana98

image

Reichen13 avatar Nov 22 '23 13:11 Reichen13

image

image 信じられない

0Ofl avatar Nov 22 '23 15:11 0Ofl

image That command (--no gradio -queue)works for me When I encounter the same problem as you post the pic above.

Reichen13 avatar Nov 23 '23 04:11 Reichen13

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.

githubwys avatar Dec 13 '23 11:12 githubwys

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

w-e-w avatar Dec 14 '23 11:12 w-e-w

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

richhe678 avatar Feb 14 '24 04:02 richhe678

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.

lucas5-code avatar Jun 14 '24 06:06 lucas5-code

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>

GreyWarden20 avatar Jun 14 '24 09:06 GreyWarden20