airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Riccomini (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRFLOW-1132) Clear DAG via UI causes exception
Date Thu, 20 Apr 2017 17:35:04 GMT
Chris Riccomini created AIRFLOW-1132:
----------------------------------------

             Summary: Clear DAG via UI causes exception
                 Key: AIRFLOW-1132
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1132
             Project: Apache Airflow
          Issue Type: Bug
          Components: DAG, ui
            Reporter: Chris Riccomini
            Priority: Blocker
             Fix For: 1.8.1


When I try to clear some of my DAGs via the UI, I get:

{noformat}
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/flask/app.py", line 1988, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/lib64/python2.7/site-packages/flask/app.py", line 1641, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/lib64/python2.7/site-packages/flask/app.py", line 1544, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/lib64/python2.7/site-packages/flask/app.py", line 1639, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/lib64/python2.7/site-packages/flask/app.py", line 1625, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/lib64/python2.7/site-packages/flask_admin/base.py", line 69, in inner
    return self._run_view(f, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/flask_admin/base.py", line 368, in _run_view
    return fn(self, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/flask_login.py", line 758, in decorated_view
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/airflow/www/utils.py", line 125, in wrapper
    return f(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/airflow/www/utils.py", line 172, in wrapper
    return f(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/airflow/www/views.py", line 1013, in clear
    dag = dag.sub_dag(
AttributeError: 'NoneType' object has no attribute 'sub_dag'
{noformat}

These are failed DAGs with a failed task.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message