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 SD1.8.0 #168

Open
swumagic opened this issue Mar 2, 2024 · 0 comments
Open

BUG SD1.8.0 #168

swumagic opened this issue Mar 2, 2024 · 0 comments

Comments

@swumagic
Copy link

swumagic commented Mar 2, 2024

*** Error executing callback app_started_callback for M:\SD\sdwebui\extensions\auto-sd-paint-ext\scripts\main.py
Traceback (most recent call last):
File "M:\SD\sdwebui\modules\script_callbacks.py", line 153, in app_started_callback
c.callback(demo, app)
File "M:\SD\sdwebui\extensions\auto-sd-paint-ext\scripts\main.py", line 43, in on_app_started
app.middleware("http")(app_encryption_middleware)
File "M:\SD\sdwebui\py310\lib\site-packages\fastapi\applications.py", line 898, in decorator
self.add_middleware(BaseHTTPMiddleware, dispatch=func)
File "M:\SD\sdwebui\py310\lib\site-packages\starlette\applications.py", line 139, in add_middleware
raise RuntimeError("Cannot add middleware after an application has started")
RuntimeError: Cannot add middleware after an application has started

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

No branches or pull requests

1 participant