《幼儿园美术教案彩色画活动:大海环抱的世界.doc》由会员分享,可在线阅读,更多相关《幼儿园美术教案彩色画活动:大海环抱的世界.doc(35页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。
1、 werkzeug.exceptions.Exception.wrap.lt;localsnewcls: 400 Bad Request: KeyError: text /Werkzeug Debugger var TRACEBACK=140258257812336, CONSOLE_MODE=false, EVALEX=true, EVALEX_TRUSTED=false, SECRET=yqfTpa0Sxt0TCyiyAopL; werkzeug.exceptions.BadRequestKeyError werkzeug.exceptions.Exception.wrap.lt;loca
2、lsnewcls: 400 Bad Request: KeyError: textTraceback (most recent call last) File /root/anaconda3/lib/python3.7/site-packages/flask/app.py, line 2309, in _call_ def _call_(self, environ, start_response): The WSGI server calls the Flask application object as the WSGI application. This calls :meth:wsgi_
3、app which can be wrapped to applying middleware. return self.wsgi_app(environ, start_response) def _repr_(self): return lt;%s %r % ( self._class_._name_, self.name, File /root/anaconda3/lib/python3.7/site-packages/flask/app.py, line 2295, in wsgi_app try: ctx.push() response=self.full_dispatch_reque
4、st() except Exception as e: error=e response=self.handle_exception(e) except: error=sys.exc_info()1 raise return response(environ, start_response) finally: File /root/anaconda3/lib/python3.7/site-packages/flask_cors/extension.py, line 161, in wrapped_function # Wrap exception handlers with cross_ori
5、gin # These error handlers will still respect the behavior of the route if 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_function if hasattr(app, handle_exce
6、ption): app.handle_exception=_after_request_decorator( app.handle_exception) File /root/anaconda3/lib/python3.7/site-packages/flask/app.py, line 1741, in handle_exception # if we want to repropagate the exception, we can attempt to # raise it with the whole traceback in case we can do that # (the fu
7、nction was actually called from the except part) # otherwise, we just raise the error again if exc_value is e: reraise(exc_type, exc_value, tb) else: raise e self.log_exception(exc_type, exc_value, tb) if handler is None: File /root/anaconda3/lib/python3.7/site-packages/flask/_compat.py, line 35, in
8、 reraise from io import StringIO def reraise(tp, value, tb=None): if value._traceback_ is not tb: raise value.with_traceback(tb) raise value implements_to_string=_identity else: text_type=unicode File /root/anaconda3/lib/python3.7/site-packages/flask/app.py, line 2292, in wsgi_app ctx=self.request_c
9、ontext(environ) error=None try: try: ctx.push() response=self.full_dispatch_request() except Exception as e: error=e response=self.handle_exception(e) except: error=sys.exc_info()1 File /root/anaconda3/lib/python3.7/site-packages/flask/app.py, line 1815, in full_dispatch_request request_started.send
10、(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, from_error_handler=False): Given the return value from a view function this finalizes the request by c
11、onverting it into a response and invoking the File /root/anaconda3/lib/python3.7/site-packages/flask_cors/extension.py, line 161, in wrapped_function # Wrap exception handlers with cross_origin # These error handlers will still respect the behavior of the route if options.get(intercept_exceptions, T
12、rue): def _after_request_decorator(f): def wrapped_function(*args, *kwargs): return cors_after_request(app.make_response(f(*args, *kwargs) return wrapped_function if hasattr(app, handle_exception): app.handle_exception=_after_request_decorator( app.handle_exception) File /root/anaconda3/lib/python3.
13、7/site-packages/flask/app.py, line 1718, in handle_user_exception return self.handle_exception(e) handler=self._find_error_handler(e) if handler is None: reraise(exc_type, exc_value, tb) return handler(e) def handle_exception(self, e): Default exception handling that kicks in when an exception occur
14、s that is not caught. In debug mode the exception will File /root/anaconda3/lib/python3.7/site-packages/flask/_compat.py, line 35, in reraise from io import StringIO def reraise(tp, value, tb=None): if value._traceback_ is not tb: raise value.with_traceback(tb) raise value implements_to_string=_identity else: text_type=unicode File /root/anaconda3/lib/python3.7/site-packages/flask/app.py, line 1813, in full_dispatch_request self.try_trigger_before_first_request_functions() try: request_started.send(self)span class