airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Riccomini (JIRA)" <>
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
             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:

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

These are failed DAGs with a failed task.

This message was sent by Atlassian JIRA

View raw message