Created
January 25, 2025 21:19
-
-
Save casesolved-co-uk/d4df1415c29eafa28414265a9d24650d to your computer and use it in GitHub Desktop.
Werkzeug problem
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# python | |
@local_manager.middleware | |
@Request.application | |
def application(request: Request): | |
# gunicorn error | |
Traceback (most recent call last): | |
File "/home/rich/v14/env/lib/python3.11/site-packages/gunicorn/workers/sync.py", line 134, in handle | |
self.handle_request(listener, req, client, addr) | |
File "/home/rich/v14/env/lib/python3.11/site-packages/gunicorn/workers/sync.py", line 177, in handle_request | |
respiter = self.wsgi(environ, resp.start_response) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/home/rich/v14/env/lib/python3.11/site-packages/werkzeug/local.py", line 235, in application | |
return ClosingIterator(app(environ, start_response), self.cleanup) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/home/rich/v14/env/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 196, in application | |
return resp(*args[-2:]) | |
^^^^^^^^^^^^^^^^ | |
TypeError: 'NoneType' object is not callable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment