You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Fokko Driesprong (JIRA)" <ji...@apache.org> on 2018/09/23 07:08:00 UTC
[jira] [Closed] (AIRFLOW-768) Clicking "Code" when zoomed into a
subdag causes an exception
[ https://issues.apache.org/jira/browse/AIRFLOW-768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fokko Driesprong closed AIRFLOW-768.
------------------------------------
Resolution: Duplicate
> 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: 1.7.1.3
> Environment: puckel/docker-airflow:1.7.1.3-5
> Reporter: Dirk Gorissen
> Priority: Major
>
> 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
(v7.6.3#76005)