Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webserver-1 keep crashing #63

Open
charlietls opened this issue Apr 30, 2022 · 1 comment
Open

webserver-1 keep crashing #63

charlietls opened this issue Apr 30, 2022 · 1 comment

Comments

@charlietls
Copy link

charlietls commented Apr 30, 2022

My env is Windows 10 + docker desktop:

Step 1: git clone https://github.com/tuanavu/airflow-tutorial.git
Step 2: cd airflow-tutorial
Step 3: docker-compose up

airflow-tutorial-webserver-1 | /usr/local/lib/python3.6/site-packages/airflow/configuration.py:57: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.
airflow-tutorial-webserver-1 | from cryptography.fernet import Fernet
airflow-tutorial-webserver-1 | Traceback (most recent call last):
airflow-tutorial-webserver-1 | File "/usr/local/lib/python3.6/site-packages/MySQLdb/init.py", line 18, in
airflow-tutorial-webserver-1 | from . import _mysql
airflow-tutorial-webserver-1 | ImportError: libmariadb.so.3: cannot open shared object file: No such file or directory
airflow-tutorial-webserver-1 |
airflow-tutorial-webserver-1 | During handling of the above exception, another exception occurred:
airflow-tutorial-webserver-1 |
airflow-tutorial-webserver-1 | Traceback (most recent call last):
airflow-tutorial-webserver-1 | File "/usr/local/bin/airflow", line 21, in
airflow-tutorial-webserver-1 | from airflow import configuration
airflow-tutorial-webserver-1 | File "/usr/local/lib/python3.6/site-packages/airflow/init.py", line 36, in
airflow-tutorial-webserver-1 | from airflow import settings
airflow-tutorial-webserver-1 | File "/usr/local/lib/python3.6/site-packages/airflow/settings.py", line 261, in
airflow-tutorial-webserver-1 | configure_adapters()
airflow-tutorial-webserver-1 | File "/usr/local/lib/python3.6/site-packages/airflow/settings.py", line 218, in configure_adapters
airflow-tutorial-webserver-1 | import MySQLdb.converters
airflow-tutorial-webserver-1 | File "/usr/local/lib/python3.6/site-packages/MySQLdb/init.py", line 24, in
airflow-tutorial-webserver-1 | version_info, _mysql.version_info, _mysql.file
airflow-tutorial-webserver-1 | NameError: name '_mysql' is not defined
airflow-tutorial-webserver-1 | Traceback (most recent call last):
airflow-tutorial-webserver-1 | File "/usr/local/lib/python3.6/site-packages/MySQLdb/init.py", line 18, in
airflow-tutorial-webserver-1 | from . import _mysql
airflow-tutorial-webserver-1 | ImportError: libmariadb.so.3: cannot open shared object file: No such file or directory

@KiranQureshi53
Copy link

Hey, it has been fixed in the below mentioned link
[https://github.com//issues/51#issuecomment-918743193]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants