《亲密旅行》南京路演,导演沙溢现场教学“葵花点穴手”

9月20日,电影《亲密旅行》正式上映了南京路演。这部喜剧喜剧电影于10月3日黄金周期间上映,不仅是沙逸导演的,而且是沙逸和安吉父子的首场银幕放映。姚晨,赵自奇,朱睿,徐凌月等。一群朋友出演了演出。 20日,沙逸的惊喜出现在南京,与期待已久的观众分享幕后故事。

沙逸现身南京站现场教学“向日葵针灸手”活动。沙艺导演的处女作是《亲密旅行》,并出现在南京进行巡回演出。在众多工作室放映后的会议上,沙艺获得了很多好评。有了祝福,许多观众说他们根本不够用,他们在发行后会被刷掉。面对观众的不断赞誉,沙逸一直谦虚地说:``制作这部电影的初衷是拍一部我喜欢给大家带来欢笑的电影,看到观众在笑。非常满意

是的。 “?

在路演现场,沙艺应观众的要求,向世界展示了自己的奉献精神-“向日葵针灸手”,还与观众现场表演同场教学,收获了不少“学徒”。在本次会议中,当沙艺展示“向日葵针灸手”时,听众更加幽默:“我还没有解决!”在80年代和90年代之后,这也引起了很多观众的记忆。有些粉丝坦白说:“我很喜欢你很多年,你一直是我心目中的白色展览厅!”

除成人观众外,当天的路演是家庭观众,家庭动员很多。一名5岁的小观众在现场说,由于他没有看到安吉来现场并感到“不高兴”,沙艺幽默地回答:“男子1号真的过时了,我必须走了。除此之外,沙逸的镜头还赢得了许多“妈妈粉”的祝福。看完电影的《妈妈粉》后,我感到非常兴奋,并称赞沙溢是一位非常敬业的导演。演员:“不用说票房自然销售,我希望《武林外传》将赢得国际大奖。”

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:

通过旅行,我解开了深深埋葬在深通多年的心结。这也使男人和男人感受到了久违的父爱和陪伴并治愈了两个孤独的心。

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:

除了安吉和沙伊外,《亲密旅行》由姚晨,赵自奇,朱瑞,徐凌月,刘欢,胡克,肖宇尔主演,阵容十分豪华。熟悉姚晨的观众知道她很少选择担任嘉宾角色,但由于沙逸打来的电话,姚晨离人群并不远,经过八年的大银幕,喜欢他们的观众非常热情。非常期待它。绝版秀这是安吉大学之前主演的最后一部?至于第一次由安吉主演的大银幕,则显示出无限的潜力。作为父亲和导演,沙艺充分肯定了安吉的表演。他说:“我见过朋友说安吉比我更好,比我更精致。安吉可能是我唯一不认识的演员。在路演现场,沙艺与Angies和观众分享了这个故事。有一个场景给沙逸留下了深刻的印象。雄性芒果和雄性芒果过敏。当申通将他送到医院准备支付费用时,男性和男性的小手握住孩子的大手,说:“我不想一个人呆着。在这里,恐怕!”安吉的演奏与声音相结合是自然而完整的,并且已经完全融入了男人和男人的世界,远远超出了从未学会表演的孩子的水平。

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:

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: