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

[0.24.0] ImportError: No module named 'flask.exthook' #55

Closed
Maxwell2022 opened this issue May 15, 2018 · 3 comments
Closed

[0.24.0] ImportError: No module named 'flask.exthook' #55

Maxwell2022 opened this issue May 15, 2018 · 3 comments

Comments

@Maxwell2022
Copy link

Maxwell2022 commented May 15, 2018

I'm getting an error with the latest container:

Traceback (most recent call last):
  File "/usr/local/bin/superset", line 9, in <module>
    from flask.exthook import ExtDeprecationWarning
ImportError: No module named 'flask.exthook'
docker run -it -v $(pwd)/superset/config:/etc/superset -v $(pwd)/superset/SQLlite:/var/lib/superset -p8088:6000 amancevice/superset:0.24.0

config:

ROW_LIMIT = 5000
SUPERSET_WEBSERVER_PORT = 8088
SECRET_KEY = '\2\secret\1\2\e\y\y\h'

SQLALCHEMY_DATABASE_URI = 'sqlite:////var/lib/superset/superset.db'

WTF_CSRF_ENABLED = Truen
WTF_CSRF_EXEMPT_LIST = []
WTF_CSRF_TIME_LIMIT = 60 * 60 * 24 * 365

MAPBOX_API_KEY = ''
HTTP_HEADERS = {}

ENABLE_PROXY_FIX = True
PREFERRED_URL_SCHEME = 'http'

Note/Update: 0.23.3 is working fine

@jbeemster
Copy link

Looks like this tag was mutated 5 days ago according to Docker Hub.

@amancevice
Copy link
Owner

amancevice commented May 15, 2018

Yes, please try re-pulling 0.24.0 or 0.25.2. Apologies.

@Maxwell2022
Copy link
Author

Thanks! I pulled again 0.24.0 and everything is working now.

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