airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ruslan Dautkhanov (JIRA)" <>
Subject [jira] [Created] (AIRFLOW-2351) timezone fix for @onca DAGs
Date Fri, 20 Apr 2018 17:04:00 GMT
Ruslan Dautkhanov created AIRFLOW-2351:

             Summary: timezone fix for @onca DAGs
                 Key: AIRFLOW-2351
             Project: Apache Airflow
          Issue Type: Improvement
          Components: core, scheduler
    Affects Versions: Airflow 2.0, 1.10.0, 1.9.1, 2.0.0
            Reporter: Ruslan Dautkhanov
            Assignee: Ruslan Dautkhanov

As discussed on the dev list: 

Upgraded Airflow .. getting following error [1] when processing a DAG
We have 'start_date': None set in default_args.. but this used to work im previous airflow
This is a '@once DAG.. so we don't need a start_date (no back fill).
{quote}[2018-01-16 16:05:25,283] \{} ERROR - Failed to import: /home/rdautkha/airflow/dags/discover/
Traceback (most recent call last):
  File "/opt/airflow/airflow-20180116/src/apache-airflow/airflow/", line 290, in
    m = imp.load_source(mod_name, filepath)
  File "/home/rdautkha/airflow/dags/discover/", line 66, in <module>
    orientation                    = 'TB',                       
  # default graph view
  File "/opt/airflow/airflow-20180116/src/apache-airflow/airflow/", line 2951, in
    self.timezone = self.default_args['start_date'].tzinfo
AttributeError: 'NoneType' object has no attribute 'tzinfo'{quote}

This message was sent by Atlassian JIRA

View raw message