airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-1794) No Exception.message in Python 3
Date Fri, 10 Nov 2017 07:58:00 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16247148#comment-16247148
] 

ASF subversion and git services commented on AIRFLOW-1794:
----------------------------------------------------------

Commit 3bc0b7d33b92758108c90c2afc411e4ea4358afe in incubator-airflow's branch refs/heads/v1-9-test
from [~dxhuang]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=3bc0b7d ]

[AIRFLOW-1794] Remove uses of Exception.message for Python 3

Closes #2766 from dhuang/AIRFLOW-1794

(cherry picked from commit f5f7701258f858698562579cbfb4e1934056e009)
Signed-off-by: Bolke de Bruin <bolke@xs4all.nl>


> 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)

Mime
View raw message