omgMath opened a new issue, #26104:
URL: https://github.com/apache/airflow/issues/26104

   ### Apache Airflow version
   
   2.3.4
   
   ### What happened
   
   When using the docker image `apache/airflow:2.3.4-python3.10`, the container 
fails with
   
   ```
   Traceback (most recent call last):
     File 
"/home/airflow/.local/lib/python3.10/site-packages/MySQLdb/__init__.py", line 
18, in <module>
       from . import _mysql
   ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: cannot allocate 
memory in static TLS block
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File "/home/airflow/.local/bin/airflow", line 5, in <module>
       from airflow.__main__ import main
     File 
"/home/airflow/.local/lib/python3.10/site-packages/airflow/__init__.py", line 
47, in <module>
       settings.initialize()
     File 
"/home/airflow/.local/lib/python3.10/site-packages/airflow/settings.py", line 
562, in initialize
       configure_adapters()
     File 
"/home/airflow/.local/lib/python3.10/site-packages/airflow/settings.py", line 
427, in configure_adapters
       import MySQLdb.converters
     File 
"/home/airflow/.local/lib/python3.10/site-packages/MySQLdb/__init__.py", line 
24, in <module>
       version_info, _mysql.version_info, _mysql.__file__
   NameError: name '_mysql' is not defined
   ```
   However, when using `apache/airflow:2.3.4-python3.9` the container starts 
without problems.
   
   
   
   ### What you think should happen instead
   
   The docker image should not fail to start.
   
   ### How to reproduce
   
   _No response_
   
   ### Operating System
   
   Docker Container
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other Docker-based deployment
   
   ### Deployment details
   
   _No response_
   
   ### 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: [email protected]

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

Reply via email to