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

can not execute fabmanager create-admin –app caravel #711

Closed
qinzl1 opened this issue Jul 1, 2016 · 5 comments
Closed

can not execute fabmanager create-admin –app caravel #711

qinzl1 opened this issue Jul 1, 2016 · 5 comments

Comments

@qinzl1
Copy link

qinzl1 commented Jul 1, 2016

Traceback (most recent call last):
File "/usr/local/bin/fabmanager", line 5, in
from pkg_resources import load_entry_point
File "/usr/local/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py", line 2671, in
working_set.require(requires)
File "/usr/local/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py", line 654, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/local/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py", line 552, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: Flask-WTF>=0.9.1

@bobcolner
Copy link

Also unable to execute fabmanager create-admin.

λ AirBob Dropbox → fabmanager create-admin --app caravel
Username [admin]: admin
User first name [admin]: admin
User last name [user]: user
Email [admin@fab.org]: admin@fab.org
Password:
Repeat for confirmation:
/usr/local/lib/python3.5/site-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.script is deprecated, use flask_script instead.
.format(x=modname), ExtDeprecationWarning
Was unable to import caravel Error: make_declarative_base() takes 1 positional argument but 2 were given

@xrmx
Copy link
Contributor

xrmx commented Jul 2, 2016

@qinzl1 it looks like you are missing dependencies or they are outdated. pip install --upgrade Flask-WTF should do the trick

@bobcolner completely different issue than the reporter, please don't hijack issues

@qinzl1
Copy link
Author

qinzl1 commented Jul 3, 2016

i upgrade all about flask ,also can not create admin
a new issues
/usr/local/lib/python2.7/site-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.sqlalchemy is deprecated, use flask_sqlalchemy instead.
.format(x=modname), ExtDeprecationWarning
/usr/local/lib/python2.7/site-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.sqlalchemy._compat is deprecated, use flask_sqlalchemy._compat instead.
.format(x=modname), ExtDeprecationWarning
Username [admin]: admin
User first name [admin]:
User last name [user]:
Email [admin@fab.org]:
Password:
Repeat for confirmation:
/usr/local/lib/python2.7/site-packages/flask_cache/init.py:152: UserWarning: Flask-Cache: CACHE_TYPE is set to null, caching is effectively disabled.
warnings.warn("Flask-Cache: CACHE_TYPE is set to null, "
/usr/local/lib/python2.7/site-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.cache is deprecated, use flask_cache instead.
.format(x=modname), ExtDeprecationWarning
2016-07-03 20:07:52,829:ERROR:flask_appbuilder.security.sqla.manager:DB Creation and initialization failed: No module named pysqlite2

@xrmx
Copy link
Contributor

xrmx commented Jul 3, 2016

@qinzl1 you have done something wrong installing caravel since you are missing a lot of fab dependencies. Also the errors are in plain english so just keep installing the missing pieces.

@xrmx
Copy link
Contributor

xrmx commented Aug 8, 2016

No more reporter feedback in 1 month, closing

@xrmx xrmx closed this as completed Aug 8, 2016
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 17, 2021
* feat: improve world map colors

* sqrt

* addressing comment

* ad d3-color
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 24, 2021
* feat: improve world map colors

* sqrt

* addressing comment

* ad d3-color
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 25, 2021
* feat: improve world map colors

* sqrt

* addressing comment

* ad d3-color
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 26, 2021
* feat: improve world map colors

* sqrt

* addressing comment

* ad d3-color
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

3 participants