gvasquez-waypoint opened a new issue #6344: Test Connection on Athena Datasource: Fatal Python error: _Py_InitializeCore: main interpreter already initialized URL: https://github.com/apache/incubator-superset/issues/6344 Make sure these boxes are checked before submitting your issue - thank you! - [x] I have checked the superset logs for python stacktraces and included it here as text if there are any. - [x] I have reproduced the issue with at least the latest released version of superset. - [x] I have checked the issue tracker for the same issue and I haven't found one similar. ### Superset version 0.28.1 ### Expected results Expected connection OK ### Actual results Fatal Python error: _Py_InitializeCore: main interpreter already initialized Current thread 0x00007fc2727b0540 (most recent call first): File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external>", line 1043 in create_module File "<frozen importlib._bootstrap>", line 583 in module_from_spec File "<frozen importlib._bootstrap>", line 670 in _load_unlocked File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "/usr/local/lib64/python3.7/site-packages/jpype/_jpackage.py", line 18 in <module> File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external>", line 728 in exec_module File "<frozen importlib._bootstrap>", line 677 in _load_unlocked File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "/usr/local/lib64/python3.7/site-packages/jpype/__init__.py", line 17 in <module> File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external>", line 728 in exec_module File "<frozen importlib._bootstrap>", line 677 in _load_unlocked File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "/usr/local/lib/python3.7/site-packages/pyathenajdbc/connection.py", line 8 in <module> File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external>", line 728 in exec_module File "<frozen importlib._bootstrap>", line 677 in _load_unlocked File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "/usr/local/lib/python3.7/site-packages/pyathenajdbc/__init__.py", line 65 in connect File "/usr/local/lib/python3.7/site-packages/sqlalchemy/engine/default.py", line 412 in connect File "/usr/local/lib/python3.7/site-packages/sqlalchemy/engine/strategies.py", line 106 in connect File "/usr/local/lib/python3.7/site-packages/sqlalchemy/pool.py", line 671 in __connect File "/usr/local/lib/python3.7/site-packages/sqlalchemy/pool.py", line 474 in __init__ File "/usr/local/lib/python3.7/site-packages/sqlalchemy/pool.py", line 347 in _create_connection File "/usr/local/lib/python3.7/site-packages/sqlalchemy/pool.py", line 1190 in _do_get File "/usr/local/lib/python3.7/site-packages/sqlalchemy/pool.py", line 529 in checkout File "/usr/local/lib/python3.7/site-packages/sqlalchemy/pool.py", line 788 in _checkout File "/usr/local/lib/python3.7/site-packages/sqlalchemy/pool.py", line 342 in unique_connection File "/usr/local/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 2158 in _wrap_pool_connect File "/usr/local/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 2188 in raw_connection File "/usr/local/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 90 in __init__ File "/usr/local/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 2102 in connect File "/usr/local/lib/python3.7/site-packages/superset/views/core.py", line 1780 in testconn File "/usr/local/lib/python3.7/site-packages/flask_appbuilder/security/decorators.py", line 52 in wraps File "/usr/local/lib/python3.7/site-packages/superset/views/base.py", line 69 in wraps File "/usr/local/lib64/python3.7/site-packages/flask/app.py", line 1598 in dispatch_request File "/usr/local/lib64/python3.7/site-packages/flask/app.py", line 1612 in full_dispatch_request File "/usr/local/lib64/python3.7/site-packages/flask/app.py", line 1982 in wsgi_app File "/usr/local/lib64/python3.7/site-packages/flask/app.py", line 1997 in __call__ File "/usr/local/lib/python3.7/site-packages/gunicorn/workers/sync.py", line 176 in handle_request File "/usr/local/lib/python3.7/site-packages/gunicorn/workers/sync.py", line 135 in handle File "/usr/local/lib/python3.7/site-packages/gunicorn/workers/sync.py", line 30 in accept File "/usr/local/lib/python3.7/site-packages/gunicorn/workers/sync.py", line 68 in run_for_one File "/usr/local/lib/python3.7/site-packages/gunicorn/workers/sync.py", line 124 in run File "/usr/local/lib/python3.7/site-packages/gunicorn/workers/base.py", line 134 in init_process File "/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py", line 583 in spawn_worker File "/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py", line 616 in spawn_workers File "/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py", line 545 in manage_workers File "/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py", line 203 in run File "/usr/local/lib/python3.7/site-packages/gunicorn/app/base.py", line 72 in run File "/usr/local/lib/python3.7/site-packages/gunicorn/app/base.py", line 223 in run File "/usr/local/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 61 in run File "/usr/local/bin/gunicorn", line 11 in <module> ### Steps to reproduce New DataSource, entered SQLAlchemy URI, Pressed "Test Connection" button 
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
