Hi,

I'm using Airflow 1.8.1, but also tried with 1.8.0 and 1.8.2-rc1, with
LocalExecutor, on a single node. When I click Refresh on the UI (either in
the Dag's page, or in the main DAG list), there is a good chance that
airflow somehow does not find the DAG anymore and displays the stacktrace
with the usual error message, when it can't find a dag:

AttributeError: 'NoneType' object has no attribute 'latest_execution_date'

After some time (usually ~15s) if I refresh the browser, the DAG is found
and everything is back to normal.
Checked the webserver and scheduler logs, but couldn't find anything else
than the stacktrace that's displayed on the UI.
This happens frequently, usually 6-7 out of 10 refreshes. Any idea what
goes wrong here? The permissions should be fine, and the postgres DB seems
to contain all the dags.


Thanks,
Zsolt

Reply via email to