Hi there . i am getting similar error when i try to run superset runserver ,
can anybody provide any solution?
ubuntu@ip-x-x-x-x:~$ superset runserver
/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/api.py:405:
FSADeprecationWarning: "_BoundDeclarativeMeta" has been renamed to
"DefaultMeta". The old name will be removed in 3.0.
return declarative_base(**kw)
/usr/local/lib/python2.7/dist-packages/superset/security.py:12:
FSADeprecationWarning: "_BoundDeclarativeMeta" has been renamed to
"DefaultMeta". The old name will be removed in 3.0.
from flask_appbuilder.security.sqla import models as ab_models
/usr/local/lib/python2.7/dist-packages/superset/security.py:12:
FSADeprecationWarning: "_BoundDeclarativeMeta" has been renamed to
"DefaultMeta". The old name will be removed in 3.0.
from flask_appbuilder.security.sqla import models as ab_models
/usr/local/lib/python2.7/dist-packages/superset/security.py:12:
FSADeprecationWarning: "_BoundDeclarativeMeta" has been renamed to
"DefaultMeta". The old name will be removed in 3.0.
from flask_appbuilder.security.sqla import models as ab_models
/usr/local/lib/python2.7/dist-packages/superset/security.py:12:
FSADeprecationWarning: "_BoundDeclarativeMeta" has been renamed to
"DefaultMeta". The old name will be removed in 3.0.
from flask_appbuilder.security.sqla import models as ab_models
/usr/local/lib/python2.7/dist-packages/superset/security.py:12:
FSADeprecationWarning: "_BoundDeclarativeMeta" has been renamed to
"DefaultMeta". The old name will be removed in 3.0.
from flask_appbuilder.security.sqla import models as ab_models
/usr/local/lib/python2.7/dist-packages/superset/security.py:12:
FSADeprecationWarning: "_BoundDeclarativeMeta" has been renamed to
"DefaultMeta". The old name will be removed in 3.0.
from flask_appbuilder.security.sqla import models as ab_models
Traceback (most recent call last):
File "/usr/local/bin/superset", line 12, in <module>
from superset.cli import manager
File "/usr/local/lib/python2.7/dist-packages/superset/__init__.py", line 90,
in <module>
db = SQLA(app)
File "/usr/local/lib/python2.7/dist-packages/flask_sqlalchemy/__init__.py",
line 677, in __init__
self.Model = self.make_declarative_base(model_class, metadata)
TypeError: make_declarative_base() takes at most 2 arguments (3 given)
[ Full content available at:
https://github.com/apache/incubator-superset/issues/4894 ]
This message was relayed via gitbox.apache.org for [email protected]