lllyasviel / lllyasviel/ControlNet
Error: JSONDecoder Error
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 34.1k
- Forks
- 3k
- PR merge metrics
- No merged PRs in 30d
Description
Error completing request
Arguments: ('https://github.com/lllyasviel/ControlNet', ['ads', 'localization', 'installed'], 0) {}
Traceback (most recent call last):
File "/Users/osmond/stable-diffusion-webui/modules/call_queue.py", line 56, in f
res = list(func(*args, **kwargs))
File "/Users/osmond/stable-diffusion-webui/modules/ui_extensions.py", line 192, in refresh_available_extensions
available_extensions = json.loads(text)
File "/opt/homebrew/Cellar/python@3.10/3.10.10_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/opt/homebrew/Cellar/python@3.10/3.10.10_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/opt/homebrew/Cellar/python@3.10/3.10.10_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 8 column 1 (char 7)
Traceback (most recent call last):
File "/Users/osmond/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 987, in postprocess_data
if predictions[i] is components._Keywords.FINISHED_ITERATING:
IndexError: tuple index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/osmond/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/routes.py", line 394, in run_predict
output = await app.get_blocks().process_api(
File "/Users/osmond/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1078, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "/Users/osmond/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 991, in postprocess_data
raise ValueError(
ValueError: Number of output components does not match number of values returned from from function f
Error completing request
Arguments: ('ControlNet-main', '') {}
Traceback (most recent call last):
File "/Users/osmond/stable-diffusion-webui/modules/call_queue.py", line 56, in f
res = list(func(*args, **kwargs))
File "/Users/osmond/stable-diffusion-webui/modules/ui_extensions.py", line 135, in install_extension_from_url
assert url, 'No URL specified'
AssertionError: No URL specified
Closing server running on port: 7860
Restarting UI...
Running on local URL: http://127.0.0.1:7860
To create a public link, set share=True in launch().
Startup time: 0.7s (load scripts: 0.1s, create ui: 0.5s).
Closing server running on port: 7860
Restarting UI...
Running on local URL: http://127.0.0.1:7860
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in modules/ui_extensions.py at refresh_available_extensions and install_extension_from_url, then reproduce the extension-list refresh using the reported ControlNet URL. Trace the non-JSON response and the subsequent Gradio output mismatch; done means the extension UI handles this failure without cascading errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100