airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dirk Gorissen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRFLOW-768) Clicking "Code" when zoomed into a subdag causes an exception
Date Thu, 19 Jan 2017 15:16:26 GMT
Dirk Gorissen created AIRFLOW-768:
-------------------------------------

             Summary: Clicking "Code" when zoomed into a subdag causes an exception
                 Key: AIRFLOW-768
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-768
             Project: Apache Airflow
          Issue Type: Bug
          Components: subdag, webserver
    Affects Versions: Airflow 1.7.1.3
         Environment: puckel/docker-airflow:1.7.1.3-5
            Reporter: Dirk Gorissen


Zoom into a subdag in the graph view. Then clicking on Code gives:

-------------------------------------------------------------------------------
Node: c3a8ec77a1e6
-------------------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1381, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/local/lib/python2.7/dist-packages/flask_admin/base.py", line 68, in inner
    return self._run_view(f, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flask_admin/base.py", line 367, in _run_view
    return fn(self, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flask_login.py", line 755, in decorated_view
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/airflow/www/views.py", line 655, in code
    m = importlib.import_module(dag.module_name)
AttributeError: 'DAG' object has no attribute 'module_name'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message