<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”>
OSError
OSError: [Errno 116] Stale file handle: './wkdir/data/a057f0c6e403495abc6704341e782beb.md'
Traceback (most recent call last)
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 2091, in
__call__def __call__(self, environ: dict, start_response: t.Callable) -> t.Any:"""The WSGI server calls the Flask application object as theWSGI application. This calls :meth:`wsgi_app`, which can bewrapped to apply middleware."""return self.wsgi_app(environ, start_response)File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 2076, in
wsgi_apptry:ctx.push()response = self.full_dispatch_request()except Exception as e:error = eresponse = self.handle_exception(e)except: # noqa: B001error = sys.exc_info()[1]raisereturn response(environ, start_response)finally:File "/usr/local/lib/python3.7/site-packages/flask_cors/extension.py", line 194, in
wrapped_function# Wrap exception handlers with cross_origin# These error handlers will still respect the behavior of the routeif options.get('intercept_exceptions', True):def _after_request_decorator(f):def wrapped_function(*args, **kwargs):return cors_after_request(app.make_response(f(*args, **kwargs)))return wrapped_functionif hasattr(app, 'handle_exception'):app.handle_exception = _after_request_decorator(app.handle_exception)File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 2073, in
wsgi_appctx = self.request_context(environ)error: t.Optional[BaseException] = Nonetry:try:ctx.push()response = self.full_dispatch_request()except Exception as e:error = eresponse = self.handle_exception(e)except: # noqa: B001error = sys.exc_info()[1]File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1519, in
full_dispatch_requestrequest_started.send(self)rv = self.preprocess_request()if rv is None:rv = self.dispatch_request()except Exception as e:rv = self.handle_user_exception(e)return self.finalize_request(rv)def finalize_request(self,rv: t.Union[ft.ResponseReturnValue, HTTPException],File "/usr/local/lib/python3.7/site-packages/flask_cors/extension.py", line 194, in
wrapped_function# Wrap exception handlers with cross_origin# These error handlers will still respect the behavior of the routeif options.get('intercept_exceptions', True):def _after_request_decorator(f):def wrapped_function(*args, **kwargs):return cors_after_request(app.make_response(f(*args, **kwargs)))return wrapped_functionif hasattr(app, 'handle_exception'):app.handle_exception = _after_request_decorator(app.handle_exception)File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1517, in
full_dispatch_requestself.try_trigger_before_first_request_functions()try:request_started.send(self)rv = self.preprocess_request()if rv is None:rv = self.dispatch_request()except Exception as e:rv = self.handle_user_exception(e)return self.finalize_request(rv)def finalize_request(File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1503, in
dispatch_requestgetattr(rule, "provide_automatic_options", False)and req.method == "OPTIONS"):return self.make_default_options_response()# otherwise dispatch to the handler for that endpointreturn self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)def full_dispatch_request(self) -> Response:"""Dispatches the request and on top of that performs requestpre and postprocessing as well as HTTP exception catching anderror handling.File "/backend/app.py", line 114, in
r_download- </ul>
File "/usr/local/lib/python3.7/site-packages/magic/__init__.py", line 112, in
from_fileexcept MagicException as e:return self._handle509Bug(e)def from_file(self, filename):# raise FileNotFoundException or IOError if the file does not existwith _real_open(filename):passwith self.lock:try:return maybe_decode(magic_file(self.cookie, filename))OSError: [Errno 116] Stale file handle: './wkdir/data/a057f0c6e403495abc6704341e782beb.md'
</div>This is the Copy/Paste friendly version of the traceback.
The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error. If you enable JavaScript you can also use additional features such as code execution (if the evalex feature is enabled), automatic pasting of the exceptions and much more.</div>Console Locked
The console is locked and needs to be unlocked by entering the PIN. You can find the PIN printed out on the standard output of your shell that runs the server.