lllyasviel / lllyasviel/stable-diffusion-webui-forge
Error opening
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
This happens when I use stable-diffusion-webui-forge-2.1. Can anyone help me? Thank you.
Launching Web UI with arguments:
Total VRAM 12287 MB, total RAM 16308 MB
pytorch version: 2.1.2+cu121
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 3060 : native
Hint: your device supports --cuda-malloc for potential speed improvements.
VAE dtype preferences: [torch.bfloat16, torch.float32] -> torch.bfloat16
CUDA Using Stream: False
E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\transformers\utils\hub.py:127: FutureWarning: Using `TRANSFORMERS_CACHE` is deprecated and will be removed in v5 of Transformers. Use `HF_HOME` instead.
warnings.warn(
Using pytorch cross attention
Using pytorch attention for VAE
ControlNet preprocessor location: E:\stable-diffusion-webui-forge-21\webui\models\ControlNetPreprocessor
2025-07-14 16:36:37,217 - ControlNet - INFO - ControlNet UI callback registered.
Checkpoint realisticVisionV51_v51VAE.safetensors not found; loading fallback Illustrious\AlusterMix-illustrious-XL.safetensors
Model selected: {'checkpoint_info': {'filename': 'E:\\stable-diffusion-webui-forge-21\\webui\\models\\Stable-diffusion\\Illustrious\\AlusterMix-illustrious-XL.safetensors', 'hash': 'b76dd1e9'}, 'vae_filename': None, 'unet_storage_dtype': None}
Running on local URL: http://127.0.0.1:7860
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 404, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\fastapi\applications.py", line 1106, in __call__
await super().__call__(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
raise exc
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio\route_utils.py", line 724, in __call__
await self.app(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\middleware\exceptions.py", line 79, in __call__
raise exc
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\middleware\exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 20, in __call__
raise e
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\routing.py", line 276, in handle
await self.app(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\routing.py", line 66, in app
response = await func(request)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\fastapi\routing.py", line 274, in app
raw_response = await run_endpoint_function(
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\fastapi\routing.py", line 193, in run_endpoint_function
return await run_in_threadpool(dependant.call, **values)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\concurrency.py", line 41, in run_in_threadpool
return await anyio.to_thread.run_sync(func, *args)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
result = context.run(func, *args)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio\routes.py", line 404, in main
gradio_api_info = api_info(False)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio\routes.py", line 433, in api_info
app.api_info = app.get_blocks().get_api_info()
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio\blocks.py", line 2766, in get_api_info
python_type = client_utils.json_schema_to_python_type(info)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 893, in json_schema_to_python_type
type_ = _json_schema_to_python_type(schema, schema.get("$defs"))
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 938, in _json_schema_to_python_type
elements = _json_schema_to_python_type(items, defs)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 908, in _json_schema_to_python_type
return _json_schema_to_python_type(defs[schema["$ref"].split("/")[-1]], defs)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 947, in _json_schema_to_python_type
des = [
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 948, in
f"{n}: {_json_schema_to_python_type(v, defs)}{get_desc(v)}"
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 908, in _json_schema_to_python_type
return _json_schema_to_python_type(defs[schema["$ref"].split("/")[-1]], defs)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 947, in _json_schema_to_python_type
des = [
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 948, in
f"{n}: {_json_schema_to_python_type(v, defs)}{get_desc(v)}"
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 955, in _json_schema_to_python_type
f"str, {_json_schema_to_python_type(schema['additionalProperties'], defs)}"
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 901, in _json_schema_to_python_type
type_ = get_type(schema)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 863, in get_type
if "const" in schema:
TypeError: argument of type 'bool' is not iterable
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 404, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\fastapi\applications.py", line 1106, in __call__
await super().__call__(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
raise exc
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio\route_utils.py", line 724, in __call__
await self.app(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\middleware\exceptions.py", line 79, in __call__
raise exc
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\middleware\exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 20, in __call__
raise e
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\routing.py", line 276, in handle
await self.app(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\routing.py", line 66, in app
response = await func(request)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\fastapi\routing.py", line 274, in app
raw_response = await run_endpoint_function(
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\fastapi\routing.py", line 193, in run_endpoint_function
return await run_in_threadpool(dependant.call, **values)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\concurrency.py", line 41, in run_in_threadpool
return await anyio.to_thread.run_sync(func, *args)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
result = context.run(func, *args)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio\routes.py", line 404, in main
gradio_api_info = api_info(False)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio\routes.py", line 433, in api_info
app.api_info = app.get_blocks().get_api_info()
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio\blocks.py", line 2766, in get_api_info
python_type = client_utils.json_schema_to_python_type(info)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 893, in json_schema_to_python_type
type_ = _json_schema_to_python_type(schema, schema.get("$defs"))
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 938, in _json_schema_to_python_type
elements = _json_schema_to_python_type(items, defs)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 908, in _json_schema_to_python_type
return _json_schema_to_python_type(defs[schema["$ref"].split("/")[-1]], defs)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 947, in _json_schema_to_python_type
des = [
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 948, in
f"{n}: {_json_schema_to_python_type(v, defs)}{get_desc(v)}"
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 908, in _json_schema_to_python_type
return _json_schema_to_python_type(defs[schema["$ref"].split("/")[-1]], defs)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 947, in _json_schema_to_python_type
des = [
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 948, in
f"{n}: {_json_schema_to_python_type(v, defs)}{get_desc(v)}"
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 955, in _json_schema_to_python_type
f"str, {_json_schema_to_python_type(schema['additionalProperties'], defs)}"
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 901, in _json_schema_to_python_type
type_ = get_type(schema)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 863, in get_type
if "const" in schema:
TypeError: argument of type 'bool' is not iterable
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 404, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\fastapi\applications.py", line 1106, in __call__
await super().__call__(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
raise exc
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio\route_utils.py", line 724, in __call__
await self.app(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\middleware\exceptions.py", line 79, in __call__
raise exc
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\middleware\exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 20, in __call__
raise e
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\routing.py", line 276, in handle
await self.app(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\routing.py", line 66, in app
response = await func(request)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\fastapi\routing.py", line 274, in app
raw_response = await run_endpoint_function(
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\fastapi\routing.py", line 193, in run_endpoint_function
return await run_in_threadpool(dependant.call, **values)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\concurrency.py", line 41, in run_in_threadpool
return await anyio.to_thread.run_sync(func, *args)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
result = context.run(func, *args)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio\routes.py", line 404, in main
gradio_api_info = api_info(False)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio\routes.py", line 433, in api_info
app.api_info = app.get_blocks().get_api_info()
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio\blocks.py", line 2766, in get_api_info
python_type = client_utils.json_schema_to_python_type(info)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 893, in json_schema_to_python_type
type_ = _json_schema_to_python_type(schema, schema.get("$defs"))
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 938, in _json_schema_to_python_type
elements = _json_schema_to_python_type(items, defs)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 908, in _json_schema_to_python_type
return _json_schema_to_python_type(defs[schema["$ref"].split("/")[-1]], defs)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 947, in _json_schema_to_python_type
des = [
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 948, in
f"{n}: {_json_schema_to_python_type(v, defs)}{get_desc(v)}"
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 908, in _json_schema_to_python_type
return _json_schema_to_python_type(defs[schema["$ref"].split("/")[-1]], defs)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 947, in _json_schema_to_python_type
des = [
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 948, in
f"{n}: {_json_schema_to_python_type(v, defs)}{get_desc(v)}"
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 955, in _json_schema_to_python_type
f"str, {_json_schema_to_python_type(schema['additionalProperties'], defs)}"
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 901, in _json_schema_to_python_type
type_ = get_type(schema)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 863, in get_type
if "const" in schema:
TypeError: argument of type 'bool' is not iterable
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 404, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\fastapi\applications.py", line 1106, in __call__
await super().__call__(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
raise exc
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio\route_utils.py", line 724, in __call__
await self.app(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\middleware\exceptions.py", line 79, in __call__
raise exc
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\middleware\exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 20, in __call__
raise e
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\routing.py", line 276, in handle
await self.app(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\routing.py", line 66, in app
response = await func(request)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\fastapi\routing.py", line 274, in app
raw_response = await run_endpoint_function(
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\fastapi\routing.py", line 193, in run_endpoint_function
return await run_in_threadpool(dependant.call, **values)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\concurrency.py", line 41, in run_in_threadpool
return await anyio.to_thread.run_sync(func, *args)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
result = context.run(func, *args)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio\routes.py", line 404, in main
gradio_api_info = api_info(False)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio\routes.py", line 433, in api_info
app.api_info = app.get_blocks().get_api_info()
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio\blocks.py", line 2766, in get_api_info
python_type = client_utils.json_schema_to_python_type(info)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 893, in json_schema_to_python_type
type_ = _json_schema_to_python_type(schema, schema.get("$defs"))
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 938, in _json_schema_to_python_type
elements = _json_schema_to_python_type(items, defs)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 908, in _json_schema_to_python_type
return _json_schema_to_python_type(defs[schema["$ref"].split("/")[-1]], defs)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 947, in _json_schema_to_python_type
des = [
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 948, in
f"{n}: {_json_schema_to_python_type(v, defs)}{get_desc(v)}"
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 908, in _json_schema_to_python_type
return _json_schema_to_python_type(defs[schema["$ref"].split("/")[-1]], defs)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 947, in _json_schema_to_python_type
des = [
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 948, in
f"{n}: {_json_schema_to_python_type(v, defs)}{get_desc(v)}"
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 955, in _json_schema_to_python_type
f"str, {_json_schema_to_python_type(schema['additionalProperties'], defs)}"
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 901, in _json_schema_to_python_type
type_ = get_type(schema)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 863, in get_type
if "const" in schema:
TypeError: argument of type 'bool' is not iterable
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 404, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\fastapi\applications.py", line 1106, in __call__
await super().__call__(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
raise exc
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio\route_utils.py", line 724, in __call__
await self.app(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\middleware\exceptions.py", line 79, in __call__
raise exc
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\middleware\exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 20, in __call__
raise e
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\routing.py", line 276, in handle
await self.app(scope, receive, send)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\routing.py", line 66, in app
response = await func(request)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\fastapi\routing.py", line 274, in app
raw_response = await run_endpoint_function(
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\fastapi\routing.py", line 193, in run_endpoint_function
return await run_in_threadpool(dependant.call, **values)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\starlette\concurrency.py", line 41, in run_in_threadpool
return await anyio.to_thread.run_sync(func, *args)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
result = context.run(func, *args)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio\routes.py", line 404, in main
gradio_api_info = api_info(False)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio\routes.py", line 433, in api_info
app.api_info = app.get_blocks().get_api_info()
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio\blocks.py", line 2766, in get_api_info
python_type = client_utils.json_schema_to_python_type(info)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 893, in json_schema_to_python_type
type_ = _json_schema_to_python_type(schema, schema.get("$defs"))
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 938, in _json_schema_to_python_type
elements = _json_schema_to_python_type(items, defs)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 908, in _json_schema_to_python_type
return _json_schema_to_python_type(defs[schema["$ref"].split("/")[-1]], defs)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 947, in _json_schema_to_python_type
des = [
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 948, in
f"{n}: {_json_schema_to_python_type(v, defs)}{get_desc(v)}"
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 908, in _json_schema_to_python_type
return _json_schema_to_python_type(defs[schema["$ref"].split("/")[-1]], defs)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 947, in _json_schema_to_python_type
des = [
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 948, in
f"{n}: {_json_schema_to_python_type(v, defs)}{get_desc(v)}"
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 955, in _json_schema_to_python_type
f"str, {_json_schema_to_python_type(schema['additionalProperties'], defs)}"
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 901, in _json_schema_to_python_type
type_ = get_type(schema)
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio_client\utils.py", line 863, in get_type
if "const" in schema:
TypeError: argument of type 'bool' is not iterable
Exception in thread Thread-18 (webui_worker):
Traceback (most recent call last):
File "threading.py", line 1016, in _bootstrap_inner
File "threading.py", line 953, in run
File "E:\stable-diffusion-webui-forge-21\webui\webui.py", line 86, in webui_worker
app, local_url, share_url = shared.demo.launch(
File "E:\stable-diffusion-webui-forge-21\system\python\lib\site-packages\gradio\blocks.py", line 2446, in launch
raise ValueError(
ValueError: When localhost is not accessible, a shareable link must be created. Please set share=True or check your proxy settings to allow access to localhost.
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 with the traceback in gradio/routes.py at api_info and follow the schema conversion into gradio_client/utils.py. Reproduce the startup failure using the reported Forge setup and inspect the schema value reaching get_type. Done means the Web UI starts without the TypeError during API information generation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100