Untitled

 avatar
unknown
plain_text
2 years ago
969 B
5
Indexable
Traceback (most recent call last):
  File "/home/hobapp/.local/lib/python3.7/site-packages/flask/app.py", line 2525, in wsgi_app
    response = self.full_dispatch_request()
  File "/tmp/.instana/python/instana/instrumentation/flask/with_blinker.py", line 111, in full_dispatch_request_with_instana
    instance.teardown_request(teardown_request_with_instana)
  File "/home/hobapp/.local/lib/python3.7/site-packages/flask/scaffold.py", line 49, in wrapper_func
    self._check_setup_finished(f_name)
  File "/home/hobapp/.local/lib/python3.7/site-packages/flask/app.py", line 723, in _check_setup_finished
    f"The setup method '{f_name}' can no longer be called"
AssertionError: The setup method 'teardown_request' can no longer be called on the application. It has already handled its first request, any changes will not be applied consistently.
Make sure all imports, decorators, functions, etc. needed to set up the application are done before running it.
Editor is loading...