Skip to content
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]: JSONDecodeError launch_utils.py line 250 #14521

Open
1 of 6 tasks
rnrllah07 opened this issue Jan 3, 2024 · 1 comment
Open
1 of 6 tasks

[Bug]: JSONDecodeError launch_utils.py line 250 #14521

rnrllah07 opened this issue Jan 3, 2024 · 1 comment
Labels
bug-report Report of a bug, yet to be confirmed

Comments

@rnrllah07
Copy link

Checklist

  • The issue exists after disabling all extensions
  • The issue exists on a clean installation of webui
  • The issue is caused by an extension, but I believe it is caused by a bug in the webui
  • The issue exists in the current version of the webui
  • The issue has not been reported before recently
  • The issue has been reported before but has not been fixed yet

What happened?

I had install application and create an image a few time. After restart pc, program not working. Thank you for helping

Steps to reproduce the problem

  1. First runnig to "run.bat" file
  2. Get error

What should have happened?

System must start

What browsers do you use to access the UI ?

Google Chrome

Sysinfo

ı havent file. sorry

Console logs

Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.7.0
Commit hash: cf2772fab0af5573da775e7437e6acdca424f26e
Fetching updates for Stable Diffusion...
Fetching updates for K-diffusion...
*** Could not load settings
    Traceback (most recent call last):
      File "Y:\stable diffusion\stable-diffusion-webui\webui\modules\launch_utils.py", line 250, in list_extensions
        settings = json.load(file)
      File "json\__init__.py", line 293, in load
      File "json\__init__.py", line 346, in loads
      File "json\decoder.py", line 337, in decode
      File "json\decoder.py", line 355, in raw_decode
    json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

---
Launching Web UI with arguments:
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
*** Could not load settings
    Traceback (most recent call last):
      File "Y:\stable diffusion\stable-diffusion-webui\webui\modules\launch_utils.py", line 250, in list_extensions
        settings = json.load(file)
      File "json\__init__.py", line 293, in load
      File "json\__init__.py", line 346, in loads
      File "json\decoder.py", line 337, in decode
      File "json\decoder.py", line 355, in raw_decode
    json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

---
No module 'xformers'. Proceeding without it.
Traceback (most recent call last):
  File "Y:\stable diffusion\stable-diffusion-webui\webui\launch.py", line 48, in <module>
    main()
  File "Y:\stable diffusion\stable-diffusion-webui\webui\launch.py", line 44, in main
    start()
  File "Y:\stable diffusion\stable-diffusion-webui\webui\modules\launch_utils.py", line 460, in start
    import webui
  File "Y:\stable diffusion\stable-diffusion-webui\webui\webui.py", line 13, in <module>
    initialize.imports()
  File "Y:\stable diffusion\stable-diffusion-webui\webui\modules\initialize.py", line 34, in imports
    shared_init.initialize()
  File "Y:\stable diffusion\stable-diffusion-webui\webui\modules\shared_init.py", line 22, in initialize
    shared.opts.load(shared.config_filename)
  File "Y:\stable diffusion\stable-diffusion-webui\webui\modules\options.py", line 180, in load
    self.data = json.load(file)
  File "json\__init__.py", line 293, in load
  File "json\__init__.py", line 346, in loads
  File "json\decoder.py", line 337, in decode
  File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Press any key to continue . . .

Additional information

No response

@rnrllah07 rnrllah07 added the bug-report Report of a bug, yet to be confirmed label Jan 3, 2024
@w-e-w
Copy link
Collaborator

w-e-w commented Jan 3, 2024

for whatever reason your config.json is corrupted
I suggest you delete the existing config.json and let webui recreate it
this will cause your setting to be reset to default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Report of a bug, yet to be confirmed
Projects
None yet
Development

No branches or pull requests

2 participants