Airflow not showing the DAGs code when I click on the code tab of a DAG

154 views Asked by At

I have installed Airflow(version 2.7.3) on my machine running ubuntu 22.04 desktop. The installation seems right because everything works. I have changed from the airflow.cfg file only the sql_alchemy_conn where I connect with a MySQL Db using the PyMySQL package from python. First I start the scheduler and the webserver using the airflow scheduler and airflow webserver -p 9999. And then when I try to open the code of one of the example DAGs I get the error below :

(https://i.stack.imgur.com/kFcmd.png)

Also when I trigger a DAG it is successfully run but the code still isn't displayed. Also logs aren't shown when I click a task but only when I press Read more.

0

There are 0 answers