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

   ### Bug description
   
   I am getting a TypeError when launching Superset (`superset --help`): 
   
   ```
   TypeError: SQLAlchemySchemaMeta.get_declared_fields() missing 1 required 
positional argument: 'dict_cls'
   ```
   I installed Superset following the ["From 
Scratch"](https://superset.apache.org/docs/installation/installing-superset-from-scratch/)
 method.
   
   ### How to reproduce the bug
   
   1. Install Superset from scratch
   2. Run `superset --help`
   
   ### Screenshots/recordings
   
   ```
   Traceback (most recent call last):
     File "/usr/bin/superset", line 5, in <module>
       from superset.cli.main import superset
     File "/usr/lib/python3.11/site-packages/superset/__init__.py", line 21, in 
<module>
       from superset.app import create_app
     File "/usr/lib/python3.11/site-packages/superset/app.py", line 24, in 
<module>
       from superset.initialization import SupersetAppInitializer
     File 
"/usr/lib/python3.11/site-packages/superset/initialization/__init__.py", line 
28, in <module>
       from flask_appbuilder import expose, IndexView
     File "/usr/lib/python3.11/site-packages/flask_appbuilder/__init__.py", 
line 5, in <module>
       from .api import ModelRestApi  # noqa: F401
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File "/usr/lib/python3.11/site-packages/flask_appbuilder/api/__init__.py", 
line 29, in <module>
       from marshmallow_sqlalchemy.fields import Related, RelatedList
     File 
"/usr/lib/python3.11/site-packages/marshmallow_sqlalchemy/__init__.py", line 9, 
in <module>
       from .schema import (
     File "/usr/lib/python3.11/site-packages/marshmallow_sqlalchemy/schema.py", 
line 143, in <module>
       class SQLAlchemySchema(
     File "/usr/lib/python3.11/site-packages/marshmallow/schema.py", line 116, 
in __new__
       klass._declared_fields = mcs.get_declared_fields(
                                ^^^^^^^^^^^^^^^^^^^^^^^^
   TypeError: SQLAlchemySchemaMeta.get_declared_fields() missing 1 required 
positional argument: 'dict_cls'
   ```
   
   ### Superset version
   
   3.1.0
   
   ### Python version
   
   3.11
   
   ### Node version
   
   Not applicable
   
   ### Browser
   
   Not applicable
   
   ### Additional context
   
   _No response_
   
   ### 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