JavierLopezT opened a new issue #15649:
URL: https://github.com/apache/airflow/issues/15649


   I have just updated from Airflow 1.10.14 to Airflow 2.0.2 and I am getting 
an error of this kind in a lot of dags. I have several python scripts in my 
dags subfolders. Here is the error I get in the UI:
   
   ![Captura de pantalla 2021-05-04 a las 10 49 
49](https://user-images.githubusercontent.com/11339132/116980382-74eb1e80-acc6-11eb-87cd-d1060736094c.png)
   
   However, the code of the DAG is the following:
   ```
   from utilities.files import get_arguments_python_script
   dag_route, dag_name, ts = get_arguments_python_script()
   dag_globals = Variable.get('variables_secret', deserialize_json=True)
   ```
   
   I am using airflow with docker-compose and I have already restarted it 
several times and the error persists. Moreover, if I click on the DAG, I can 
successfully enter it and even run the script. Also, in the logs of the 
containers of the webserver and the scheduler, there is no error logs


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to