You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Daniel Huang (JIRA)" <ji...@apache.org> on 2017/11/08 18:47:00 UTC

[jira] [Created] (AIRFLOW-1794) No Exception.message in Python 3

Daniel Huang created AIRFLOW-1794:
-------------------------------------

             Summary: No Exception.message in Python 3
                 Key: AIRFLOW-1794
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1794
             Project: Apache Airflow
          Issue Type: Bug
            Reporter: Daniel Huang
            Assignee: Daniel Huang
            Priority: Minor


[~ashb] ran into this

{code}
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1988, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1641, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1544, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.5/dist-packages/flask/_compat.py", line 33, in reraise
    raise value
  File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1639, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1625, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/local/lib/python3.5/dist-packages/flask_admin/base.py", line 69, in inner
    return self._run_view(f, *args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/flask_admin/base.py", line 368, in _run_view
    return fn(self, *args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/flask_login.py", line 758, in decorated_view
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/airflow/www/utils.py", line 262, in wrapper
    return f(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/airflow/www/views.py", line 715, in log
    .format(task_log_reader, e.message)]
AttributeError: 'AttributeError' object has no attribute 'message'
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)