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 2022/08/26 19:05:17 UTC

[GitHub] [airflow] mufaddal-rohawala opened a new issue, #25993: airflow import causes configparser.ParsingError intermittently

mufaddal-rohawala opened a new issue, #25993:
URL: https://github.com/apache/airflow/issues/25993

   ### Apache Airflow version
   
   2.3.4
   
   ### What happened
   
   When importing `airflow` we recieve configparser.ParsingError errors intermittently. This is an intermittent behaviour and passes on retries. Not sure whats the issue here, can someone help?
   
   Dependency:
   [apache-airflow=](https://airflow.apache.org/)=2.3.4
   Code:
   https://github.com/aws/sagemaker-python-sdk/blob/master/tests/integ/test_airflow_config.py
   
   ```
   _____________ ERROR collecting tests/integ/test_airflow_config.py ______________
   --
   84 | tests/integ/test_airflow_config.py:19: in <module>
   85 | from airflow import utils
   86 | .tox/py310/lib/python3.10/site-packages/airflow/__init__.py:35: in <module>
   87 | from airflow import settings
   88 | .tox/py310/lib/python3.10/site-packages/airflow/settings.py:35: in <module>
   89 | from airflow.configuration import AIRFLOW_HOME, WEBSERVER_CONFIG, conf  # NOQA F401
   90 | .tox/py310/lib/python3.10/site-packages/airflow/configuration.py:1617: in <module>
   91 | conf = initialize_config()
   92 | .tox/py310/lib/python3.10/site-packages/airflow/configuration.py:1342: in initialize_config
   93 | local_conf.read(AIRFLOW_CONFIG)
   94 | .tox/py310/lib/python3.10/site-packages/airflow/configuration.py:766: in read
   95 | super().read(filenames=filenames, encoding=encoding)
   96 | /.pyenv/versions/3.10.4/lib/python3.10/configparser.py:698: in read
   97 | self._read(fp, filename)
   98 | /.pyenv/versions/3.10.4/lib/python3.10/configparser.py:1117: in _read
   99 | raise e
   100 | E   configparser.ParsingError: Source contains parsing errors: '/root/airflow/airflow.cfg'
   101 | E       [line 808]: 'ry creates lots of ``.*reply-celery-pidbox`` queues. You can\n'
   102 | _____________________________ ERROR collecting gw1 _____________________________
   ```
   
   ### What you think should happen instead
   
   There should not be any intermittent import errors
   
   ### How to reproduce
   
   Just importing airflow causes intermittent failures.
   
   ### Operating System
   
   Linux
   
   ### Versions of Apache Airflow Providers
   
   [apache-airflow=](https://airflow.apache.org/)=2.3.4
   [apache-airflow-providers-amazon=](https://airflow.apache.org/)=4.0.0
   
   ### Deployment
   
   Other Docker-based deployment
   
   ### Deployment details
   
   AWS Codebuild
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] potiuk closed issue #25993: airflow import causes configparser.ParsingError intermittently

Posted by GitBox <gi...@apache.org>.
potiuk closed issue #25993: airflow import causes configparser.ParsingError intermittently
URL: https://github.com/apache/airflow/issues/25993


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] boring-cyborg[bot] commented on issue #25993: airflow import causes configparser.ParsingError intermittently

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #25993:
URL: https://github.com/apache/airflow/issues/25993#issuecomment-1228823824

   Thanks for opening your first issue here! Be sure to follow the issue template!
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org