Ikar Pohorsky created AIRFLOW-3339:
--------------------------------------
Summary: Fix timezone error
Key: AIRFLOW-3339
URL: https://issues.apache.org/jira/browse/AIRFLOW-3339
Project: Apache Airflow
Issue Type: Bug
Components: scheduler
Affects Versions: 1.10.1
Reporter: Ikar Pohorsky
>From slack:
nicor88 8:34 AM
{quote}
Hey all, we are having issue with our scheduler, in the latest release 1.10.1
due to this error:
{noformat}
Process DagFileProcessor94249-Process:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/multiprocessing/process.py", line 258, in
_bootstrap
self.run()
File "/usr/local/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.6/site-packages/airflow/jobs.py", line 389, in
helper
pickle_dags)
File "/usr/local/lib/python3.6/site-packages/airflow/utils/db.py", line 74, in
wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/airflow/jobs.py", line 1846, in
process_file
self._process_dags(dagbag, dags, ti_keys_to_schedule)
File "/usr/local/lib/python3.6/site-packages/airflow/jobs.py", line 1426, in
_process_dags
dag_run = self.create_dag_run(dag)
File "/usr/local/lib/python3.6/site-packages/airflow/utils/db.py", line 74, in
wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/airflow/jobs.py", line 835, in
create_dag_run
next_start = dag.following_schedule(now)
File "/usr/local/lib/python3.6/site-packages/airflow/models.py", line 3396, in
following_schedule
tz = pendulum.timezone(self.timezone.name)
AttributeError: 'NoneType' object has no attribute 'name'
{quote}
We have a timezone setup in the config
{quote}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)