[
https://issues.apache.org/jira/browse/AIRFLOW-2636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16848083#comment-16848083
]
ASF GitHub Bot commented on AIRFLOW-2636:
-----------------------------------------
tssujt commented on pull request #5176: [AIRFLOW-2636] Fix Nonetype error for
task failure instance duration
URL: https://github.com/apache/airflow/pull/5176
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Airflow crash on click on "Task Duration"
> -----------------------------------------
>
> Key: AIRFLOW-2636
> URL: https://issues.apache.org/jira/browse/AIRFLOW-2636
> Project: Apache Airflow
> Issue Type: Bug
> Components: ui
> Affects Versions: 2.0.0
> Reporter: gsemet
> Assignee: Helen Weng
> Priority: Major
> Labels: webapp
>
> Using Airflow HEAD
> {code}
> -------------------------------------------------------------------------------
> Node: afdev-web-55664d57cb-wqxqx
> -------------------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1982, in
> wsgi_app
> response = self.full_dispatch_request()
> File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1614, in
> full_dispatch_request
> rv = self.handle_user_exception(e)
> File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1517, in
> handle_user_exception
> reraise(exc_type, exc_value, tb)
> File "/usr/local/lib/python3.6/site-packages/flask/_compat.py", line 33, in
> reraise
> raise value
> File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1612, in
> full_dispatch_request
> rv = self.dispatch_request()
> File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1598, in
> dispatch_request
> return self.view_functions[rule.endpoint](**req.view_args)
> File "/usr/local/lib/python3.6/site-packages/flask_admin/base.py", line 69,
> in inner
> return self._run_view(f, *args, **kwargs)
> File "/usr/local/lib/python3.6/site-packages/flask_admin/base.py", line
> 368, in _run_view
> return fn(self, *args, **kwargs)
> File "/usr/local/lib/python3.6/site-packages/flask_login.py", line 755, in
> decorated_view
> return func(*args, **kwargs)
> File "/usr/local/lib/python3.6/site-packages/airflow/www/utils.py", line
> 270, in wrapper
> return f(*args, **kwargs)
> File "/usr/local/lib/python3.6/site-packages/airflow/utils/db.py", line 74,
> in wrapper
> return func(*args, **kwargs)
> File "/usr/local/lib/python3.6/site-packages/airflow/www/views.py", line
> 1551, in duration
> fails_totals[dict_key] += tf.duration
> TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType'
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)