一生挚爱 触动心灵 | 陆游

  • 日期:10-04
  • 点击:(648)


werkzeug.exceptions.HTTPException.wrap.<locals>newcls: 400 Bad Request: KeyError: 'text' //Werkzeug Debugger

werkzeug.exceptions.BadRequestKeyError

werkzeug.exceptions.HTTPException.wrap.<locals>newcls: 400 Bad Request: KeyError: 'text'

Traceback (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_app` which can be
            wrapped to applying middleware."""
            return self.wsgi_app(environ, start_response)
     
        def __repr__(self):
            return '<%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_request()
                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_origin
            # 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_exception'):
                    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 function 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 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_context(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(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 converting 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', 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_exception'):
                    app.handle_exception=_after_request_decorator(
                        app.handle_exception)
  • File "/root/anaconda3/lib/python3.7/site-packages/flask/app.py", line 1718, in handle_user_exception

                return self.handle_http_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
            occurs 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)
                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):
  • File "/root/anaconda3/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request

            # request came with the OPTIONS method, reply automatically
            if getattr(rule, 'provide_automatic_options', False) \
               and req.method=='OPTIONS':
                return self.make_default_options_response()
            # otherwise dispatch to the handler for that endpoint
            return self.view_functions[rule.endpoint](**req.view_args)
     
        def full_dispatch_request(self):
            """Dispatches the request and on top of that performs request
            pre and postprocessing as well as HTTP exception catching and
            error handling.
  • File "/home/google/flask_main.py", line 46, in google_translate

        if request.method=='GET':
            text=request.args.get("text")
            src=request.args.get("src")
            dst=request.args.get("dst")
        elif request.method=='POST':
            text=request.form["text"]
            src=request.form["src"]
            dst=request.form["dst"]
        #print(text,src,dst)
        try:
            data=get_new_text_list(text, src, dst)
  • File "/root/anaconda3/lib/python3.7/site-packages/werkzeug/datastructures.py", line 431, in __getitem__

            """
            if key in self:
                lst=dict.__getitem__(self, key)
                if len(lst) > 0:
                    return lst[0]
            raise exceptions.BadRequestKeyError(key)
     
        def __setitem__(self, key, value):
            """Like :meth:`add` but removes an existing key first.
     
            :param key: the key for the value.
werkzeug.exceptions.HTTPException.wrap.<locals>newcls: 400 Bad Request: KeyError: 'text'

This is the Copy/Paste friendly version of the traceback. You can also paste this traceback into a gist:

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.

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.

PIN:

? ? ? ? ? ? ? ? ? ? ?

? 1148年,王生了一个孩子,陆游生了一个儿子。可以说,好女人是孩子,婆婆想使事情发生。但是陆游呢?面对一个好妻子,您还记得那个以自己的诗歌和昼夜徘徊唱歌的女人吗?

?唐Yan还嫁给了当时著名的文人赵世成。赵氏家族是王室的后裔。更重要的是,赵士成具有宽广的个性和浓厚的感情。他钦佩陆游,同情唐岩,因此尽了最大的努力让唐浩过上幸福的生活。在局外人眼中,唐Yan应该很满意。

?陆游开始在其母亲的监督和教teaching下重新进行科举考试。陆游以其扎实的知识和才华赢得了考官陆昊的赞赏。他被推荐为领导人。

? ? ? ? ? ? ? ? ? ? ? ?在丈夫赵世成的陪同下,唐艳心情愉快。她走来走去,说话和笑。不管我的心是什么,唐s的脸仍然是春天。然而,当唐岩走到陆游的身边时,时间和眼睛凝固了,他们的眼睛粘在一起,就像一场突如其来的暴风雨轻易地侵蚀了唐浩建造的新巢。他们俩都感到困惑和困惑。我不知道梦是否成真。眼中充满了情感,抱怨,思想和怜悯。

?过了一会儿,唐Yan用酒传播感情,一个是表示关心,另一个是表示自己已经成为一个女人,我们之间的感情只能是酒和肉的味道。第三是显示你的慷慨和不在乎。或者,只有两个人不能说实话。

?曾经是别人的妻子的汤唯,终于提到了沉重的脚步,深深地瞥了一眼,然后走了很远。只剩下陆游在花园里。

?带着风,我把陆游沉迷于旧梦中,他不禁效仿了唐image的形象。我来到柳树下的池塘,看到汤岩和赵时成在游泳池的水上吃饭。我隐约看到唐Yan的眉毛低下,不知不觉地伸开了玉手的红袖,慢慢地Zhao着赵世诚。看到卢友的心碎了,这个似曾相识的场景。昨天的爱情梦想,今天的悲伤,让我充满情感。因此,墙上的笔的标题为《钗头凤》:

红色酥脆的手,黄色g酒,满屋子的春宫壁柳。东风是邪恶的,爱是稀薄的。多年分离,我心中充满悲伤。错误!错误!错误!

春天和人们一样古老,人们越来越稀薄,眼泪泛红而粉碎。桃花落下。休闲游泳池。尽管山梦在中间,但本书很难支持。莫!莫!莫!

?悔恨的含义无以伦比!相思的爱是无止境的!

第二年的春天,唐Yan带着莫名的sha铐,再次来到沉远,蹲在蜿蜒的小径走廊之间,突然看到了陆游的题词。一遍又一遍,回想起两位诗人过去唱歌的情景,我不禁大哭起来,不知不觉中和了陆游之后的一个词:

世界是稀薄的,人们恋爱了,雨水使黄昏的花朵容易落下。小凤干燥,流泪和杂物。想担心事情,独白。难!难!难!

人们都是不同的,这不是昨天,生病的灵魂似乎常常在摇摆。牛角的声音很冷,黑夜惊呆了。害怕有人问问题,流着眼泪。隐藏!隐藏!隐藏!

?唐Yan的话表达了旧情难忘,难以言说的悲伤。同年秋天,唐Yan病了。一个女人在她的余生中写下了两个字的章节,一个60字!

? 1199年,令人垂涎的一年(75岁),陆游累累地返回,仍然对沉渊产生了深深的依恋。我经常独自一人走在沉远的小路上,回想起深深印象的那一幕。我想不出这位伟大的诗人在经历了近半个世纪的风雨之后,仍然埋葬了四十多年前的刻骨铭心的爱情,而唐寅的影子(据怀疑是一张震惊的照片)仍然困扰着他的心。这时候,他写了沉渊的两首怀旧诗:

其中之一

梦想破灭了四十年,刘沉远没有飞翔。

此尸体被用作山峰,至今仍是痕迹。

第二

这座城市的对角画很悲伤,沉远没有老水池。

悲伤桥下的弹簧桥是绿色的,嫌疑人是一张震惊的照片。

零无法解析主机:名称或服务未知