Hi ! I got a DAG in Airflow generating a new eleme...
# community-support
p
Hi ! I got a DAG in Airflow generating a new elementary report every day but at some point it stopped working with the following error, its hard to pinpoint what's the cause of this since everything is going well in DBT, any advice ? : Running dbt --log-format json run-operation elementary.log_macro_results --args {"macro_name": "elementary_cli.get_test_results", "macro_args": {"days_back": 7, "invocations_per_test": 720, "disable_passed_test_metrics": false}} --project-dir /usr/local/airflow/astro_venvs/fb6c3dbcaed676104087c57fde52ff528203277c/lib/python3.11/site-packages/elementary/monitor/dbt_project --profiles-dir /usr/local/airflow/dbt/profiles/service — ERROR — Could not generate the report - Error: Failed to run dbt command.
d
Hey @Philippe Tu, It looks like edr can't find dbt, which means dbt is probably not installed in the same python environment as edr. Can you check from which python env you try to run edr and dbt, on your airflow worker ?