You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/02/04 09:25:12 UTC

[GitHub] [airflow] sudarshan2906 commented on issue #13811: get_dagrun() function starts giving error in 2.0 when using inside cluster policy

sudarshan2906 commented on issue #13811:
URL: https://github.com/apache/airflow/issues/13811#issuecomment-773161859


   @kaxil 
   I tried the workaround. But getting this error:
   ```
   Traceback (most recent call last):
     File "/usr/local/bin/airflow", line 5, in <module>
       from airflow.__main__ import main
     File "/usr/local/lib/python3.7/site-packages/airflow/__init__.py", line 46, in <module>
       settings.initialize()
     File "/usr/local/lib/python3.7/site-packages/airflow/settings.py", line 430, in initialize
       import_local_settings()
     File "/usr/local/lib/python3.7/site-packages/airflow/settings.py", line 400, in import_local_settings
       import airflow_local_settings
     File "/root/airflow/config/airflow_local_settings.py", line 7, in <module>
       session = Session()
   TypeError: 'NoneType' object is not callable
   ```
   


----------------------------------------------------------------
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:
users@infra.apache.org