You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kengo Seki (JIRA)" <ji...@apache.org> on 2017/03/29 06:03:41 UTC

[jira] [Created] (AIRFLOW-1052) dags/test_dag.py can not be imported

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)