airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kengo Seki (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRFLOW-1052) dags/test_dag.py can not be imported
Date Wed, 29 Mar 2017 06:03:41 GMT
Kengo Seki created AIRFLOW-1052:
-----------------------------------

             Summary: dags/test_dag.py can not be imported
                 Key: AIRFLOW-1052
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1052
             Project: Apache Airflow
          Issue Type: Bug
            Reporter: Kengo Seki
            Assignee: Kengo Seki
            Priority: Minor


AIRFLOW-863 broke dags/test_dag.py as follows:

{code}
[2017-03-29 14:53:39,268] [13910] {models.py:271} ERROR - Failed to import: /home/sekikn/incubator-airflow/dags/test_dag.py
Traceback (most recent call last):
  File "/home/sekikn/incubator-airflow/airflow/models.py", line 268, in process_file
    m = imp.load_source(mod_name, filepath)
  File "/home/sekikn/incubator-airflow/dags/test_dag.py", line 27, in <module>
    'start_date': airflow.utils.dates.days_ago(2)
NameError: name 'airflow' is not defined
{code}



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

Mime
View raw message