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 2016/10/24 08:13:59 UTC

[jira] [Assigned] (AIRFLOW-586) Importing dags/test_dag.py fails between 0 and 3 o'clock

     [ https://issues.apache.org/jira/browse/AIRFLOW-586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kengo Seki reassigned AIRFLOW-586:
----------------------------------

    Assignee: Kengo Seki

> Importing dags/test_dag.py fails between 0 and 3 o'clock
> --------------------------------------------------------
>
>                 Key: AIRFLOW-586
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-586
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Kengo Seki
>            Assignee: Kengo Seki
>
> It raises the following error:
> {code}
> $ airflow webserver
> (snip)
> [2016-10-23 00:07:30,613] [28693] {models.py:266} ERROR - Failed to import: /home/sekikn/airflow/dags/test_dag.py
> Traceback (most recent call last):
>   File "/home/sekikn/incubator-airflow/airflow/models.py", line 263, in process_file
>     m = imp.load_source(mod_name, filepath)
>   File "/home/sekikn/airflow/dags/test_dag.py", line 20, in <module>
>     now_to_the_hour = now.replace(hour=now.time().hour-3 , minute=0, second=0, microsecond=0)
> ValueError: hour must be in 0..23
> {code}



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