“婆媳关系可以有多融洽”三毛曾把婆婆当作假想敌,后来泪汪汪

文字/微微笑

01

最近几天,有人提出了“婆婆和婆婆之间的关系如何和谐”的话题。

在主题下,我看到了很多动人的故事。哦,有很多和,有趣和可爱的老太太。

有一个妻子炫耀她的好婆婆。她说她可以和婆婆一起吃饭和喝水半个月以上,气氛融洽。婆婆为她做饭,为她切水果,为她剥坚果,再也没有让她照顾。

此外,“不服用护肤品,请使用我的岳母;衣服很脏,请穿我的岳母;需要其他东西,她可以立即帮助我购买。我们有没有距离,很随意,就像朋友嫉妒,他们从来没有吵过架.”

是的,她的婆婆真的很好,比她的母亲好,令人羡慕和可恨。

回到现实,许多人或多或少在妇女和儿童之间存在矛盾。在互联网上,各种各样的冷漠和恶作剧都在抱怨婆婆,这真令人不寒而栗。婆around和苦难之间的矛盾也困扰着我周围的朋友。

记住要读一句话,并说明为什么很难与婆婆联系。 “可能是因为您必须束缚两名与血缘无关的陌生女性,所以她们必须等待数十年成为室友。”

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:

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:

如果是您的儿子,您必须了解您正在处理母亲与妻子之间矛盾的重要性。不要选择逃脱。您必须承担此责任,并将配偶放在首位。

如果这是您的daughter妇,请爱您的丈夫,尊重您的mother妇,照顾您的家庭,您有责任。不要越过边界,不要过度劳累和自我比较,过着自己的生活。

最后,我希望每个人都能在母女俩之间建立和谐的关系,这是一个温馨而充满爱心的家庭。