Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

error looking for somthing in webui/static/favicon.svg #35

Open
gsgoldma opened this issue Mar 28, 2023 · 1 comment
Open

error looking for somthing in webui/static/favicon.svg #35

gsgoldma opened this issue Mar 28, 2023 · 1 comment

Comments

@gsgoldma
Copy link

API error: GET: http://127.0.0.1:7860/file=static/favicon.svg {'error': 'RuntimeError', 'detail': '', 'body': '', 'errors': 'File at path D:\stable-diffusion-webui\static\favicon.svg does not exist.'}
╭────────────────────── Traceback (most recent call last) ──────────────────────╮
│ D:\stable-diffusion-webui\venv\lib\site-packages\anyio\streams\memory.py:94 │
│ in receive │
│ │
│ D:\stable-diffusion-webui\venv\lib\site-packages\anyio\streams\memory.py:89 │
│ in receive_nowait │
╰───────────────────────────────────────────────────────────────────────────────╯
WouldBlock

During handling of the above exception, another exception occurred:

╭────────────────────── Traceback (most recent call last) ──────────────────────╮
│ D:\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\base.py │
│ :77 in call_next │
│ │
│ D:\stable-diffusion-webui\venv\lib\site-packages\anyio\streams\memory.py:114 │
│ in receive │
╰───────────────────────────────────────────────────────────────────────────────╯
EndOfStream

During handling of the above exception, another exception occurred:

╭────────────────────── Traceback (most recent call last) ──────────────────────╮
│ D:\stable-diffusion-webui\modules\api\api.py:145 in exception_handling │
│ │
│ 144 │ │ try: │
│ ❱ 145 │ │ │ return await call_next(request) │
│ 146 │ │ except Exception as e: │
│ │
│ ╭───────────────────────────────── locals ──────────────────────────────────╮ │
│ │ call_next = <function │ │
│ │ BaseHTTPMiddleware.call..call_next at │ │
│ │ 0x0000021CE92A39A0> │ │
│ │ e = RuntimeError('File at path │ │
│ │ D:\stable-diffusion-webui\static\favicon.svg does │ │
│ │ not exist.') │ │
│ │ handle_exception = <function api_middleware..handle_exception at │ │
│ │ 0x0000021B3B560A60> │ │
│ │ request = <starlette.requests.Request object at │ │
│ │ 0x0000021CE6FEB430> │ │
│ ╰───────────────────────────────────────────────────────────────────────────╯ │
│ │
│ D:\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\base.py │
│ :80 in call_next │
│ │
│ ... 14 frames hidden ... │
│ │
│ D:\stable-diffusion-webui\venv\lib\site-packages\starlette\routing.py:69 in │
│ app │
│ │
│ D:\stable-diffusion-webui\venv\lib\site-packages\starlette\responses.py:334 │
│ in call
╰───────────────────────────────────────────────────────────────────────────────╯
RuntimeError: File at path D:\stable-diffusion-webui\static\favicon.svg does not
exist.

@ParityError
Copy link

Put favicon.svg (with that exact name) inside the directory:

D:\stable-diffusion-webui\static\

That should fix it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants