Skip to content

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

@rnrllah07

Description

@rnrllah07

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-reportReport of a bug, yet to be confirmed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions