mikysetiawan opened a new issue, #34266:
URL: https://github.com/apache/superset/issues/34266

   ### Bug description
   
   So after I update my apache superset to newest version, I can't connect the 
data using gsheet, when I try to connect the gsheet, it's shown error 
   `ERROR: Could not load database driver: BaseEngineSpec`
   
   and when I try to see the logs, it's shows some error as shown below
   
   how can I fix this problem?
   
   ### Screenshots/recordings
   
   <img width="2705" height="1494" alt="Image" 
src="https://github.com/user-attachments/assets/f30500ad-b80e-4f8c-b729-305d3103c011";
 />
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   >  File "/app/.venv/lib/python3.11/site-packages/sqlalchemy/engine/url.py", 
line 662, in _get_entrypoint
   superset_app          |     cls = registry.load(name)
   superset_app          |           ^^^^^^^^^^^^^^^^^^^
   superset_app          |   File 
"/app/.venv/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py", line 
343, in load
   superset_app          |     raise exc.NoSuchModuleError(
   superset_app          | sqlalchemy.exc.NoSuchModuleError: Can't load plugin: 
sqlalchemy.dialects:gsheet
   superset_app          |
   superset_app          | The above exception was the direct cause of the 
following exception:
   superset_app          |
   superset_app          | Traceback (most recent call last):
   superset_app          |   File 
"/app/.venv/lib/python3.11/site-packages/flask/app.py", line 1484, in 
full_dispatch_request
   superset_app          |     rv = self.dispatch_request()
   superset_app          |          ^^^^^^^^^^^^^^^^^^^^^^^
   superset_app          |   File 
"/app/.venv/lib/python3.11/site-packages/flask/app.py", line 1469, in 
dispatch_request
   superset_app          |     return 
self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
   superset_app          |            
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   superset_app          |   File 
"/app/.venv/lib/python3.11/site-packages/flask_appbuilder/security/decorators.py",
 line 109, in wraps
   superset_app          |     return f(self, *args, **kwargs)
   superset_app          |            ^^^^^^^^^^^^^^^^^^^^^^^^
   superset_app          |   File "/app/superset/views/base_api.py", line 120, 
in wraps
   superset_app          |     duration, response = time_function(f, self, 
*args, **kwargs)
   superset_app          |                          
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   superset_app          |   File "/app/superset/utils/core.py", line 1372, in 
time_function
   superset_app          |     response = func(*args, **kwargs)
   superset_app          |                ^^^^^^^^^^^^^^^^^^^^^
   superset_app          |   File "/app/superset/utils/log.py", line 304, in 
wrapper
   superset_app          |     value = f(*args, **kwargs)
   superset_app          |             ^^^^^^^^^^^^^^^^^^
   superset_app          |   File "/app/superset/views/base_api.py", line 92, 
in wraps
   superset_app          |     return f(self, *args, **kwargs)
   superset_app          |            ^^^^^^^^^^^^^^^^^^^^^^^^
   superset_app          |   File "/app/superset/databases/api.py", line 1274, 
in test_connection
   superset_app          |     TestConnectionDatabaseCommand(item).run()
   superset_app          |   File 
"/app/superset/commands/database/test_connection.py", line 179, in run
   superset_app          |     raise DatabaseTestConnectionDriverError(
   superset.commands.database.exceptions.DatabaseTestConnectionDriverError: 
Could not load database driver: BaseEngineSpec
   superset_app          | 2025-07-22 
05:22:57,811:WARNING:superset.db_engine_specs:Unable to load SQLAlchemy dialect 
superset: No module named 'pip'
   superset_app          | 2025-07-22 
05:22:57,813:WARNING:superset.db_engine_specs:Unable to load SQLAlchemy dialect 
hive: No module named 'thrift'
   superset_app          | 2025-07-22 
05:22:57,815:WARNING:superset.db_engine_specs:Unable to load SQLAlchemy dialect 
hive.http: No module named 'thrift'
   superset_app          | 2025-07-22 
05:22:57,816:WARNING:superset.db_engine_specs:Unable to load SQLAlchemy dialect 
hive.https: No module named 'thrift'
   superset_app          | 2025-07-22 
05:22:57,818:WARNING:superset.db_engine_specs:Unable to load SQLAlchemy dialect 
gsheets: No module named 'pip'
   superset_app          | 2025-07-22 
05:22:57,819:WARNING:superset.db_engine_specs:Unable to load SQLAlchemy dialect 
shillelagh: No module named 'pip'
   superset_app          | 2025-07-22 
05:22:57,820:WARNING:superset.db_engine_specs:Unable to load SQLAlchemy dialect 
shillelagh.apsw: No module named 'pip'
   superset_app          | 2025-07-22 
05:22:57,821:WARNING:superset.db_engine_specs:Unable to load SQLAlchemy dialect 
shillelagh.safe: No module named 'pip'
   
   ### Checklist
   
   - [x] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [x] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [x] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to