You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2018/05/08 08:04:34 UTC
[GitHub] Neuliaus commented on issue #4953: flask-appbuilder 1.10.0 has
requirement Flask<0.12.99, >=0.12.1,
but you'll have flask 1.0.2 which is incompatible
Neuliaus commented on issue #4953: flask-appbuilder 1.10.0 has requirement Flask<0.12.99,>=0.12.1, but you'll have flask 1.0.2 which is incompatible
URL: https://github.com/apache/incubator-superset/issues/4953#issuecomment-387319892
I did uninstall Flask inside the venv , then I installed pip install -U 'Flask~=0.12.2'
pip install superset and seems to work
then I hit superset db upgrade and get
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume transactional DDL.
Traceback (most recent call last):
File "/home/ubuntu/normal/venv3/bin/superset", line 15, in <module>
manager.run()
File "/home/ubuntu/normal/venv3/local/lib/python2.7/site-packages/flask_script/__init__.py", line 417, in run
result = self.handle(argv[0], argv[1:])
File "/home/ubuntu/normal/venv3/local/lib/python2.7/site-packages/flask_script/__init__.py", line 386, in handle
res = handle(*args, **config)
File "/home/ubuntu/normal/venv3/local/lib/python2.7/site-packages/flask_script/commands.py", line 216, in __call__
return self.run(*args, **kwargs)
File "/home/ubuntu/normal/venv3/local/lib/python2.7/site-packages/flask_migrate/__init__.py", line 259, in upgrade
command.upgrade(config, revision, sql=sql, tag=tag)
File "/home/ubuntu/normal/venv3/local/lib/python2.7/site-packages/alembic/command.py", line 254, in upgrade
script.run_env()
File "/home/ubuntu/normal/venv3/local/lib/python2.7/site-packages/alembic/script/base.py", line 427, in run_env
util.load_python_file(self.dir, 'env.py')
File "/home/ubuntu/normal/venv3/local/lib/python2.7/site-packages/alembic/util/pyfiles.py", line 81, in load_python_file
module = load_module_py(module_id, path)
File "/home/ubuntu/normal/venv3/local/lib/python2.7/site-packages/alembic/util/compat.py", line 141, in load_module_py
mod = imp.load_source(module_id, path, fp)
File "/home/ubuntu/normal/venv3/local/lib/python2.7/site-packages/superset/migrations/env.py", line 103, in <module>
run_migrations_online()
File "/home/ubuntu/normal/venv3/local/lib/python2.7/site-packages/superset/migrations/env.py", line 96, in run_migrations_online
context.run_migrations()
File "<string>", line 8, in run_migrations
File "/home/ubuntu/normal/venv3/local/lib/python2.7/site-packages/alembic/runtime/environment.py", line 836, in run_migrations
self.get_context().run_migrations(**kw)
File "/home/ubuntu/normal/venv3/local/lib/python2.7/site-packages/alembic/runtime/migration.py", line 321, in run_migrations
for step in self._migrations_fn(heads, self):
File "/home/ubuntu/normal/venv3/local/lib/python2.7/site-packages/alembic/command.py", line 243, in upgrade
return script._upgrade_revs(revision, rev)
File "/home/ubuntu/normal/venv3/local/lib/python2.7/site-packages/alembic/script/base.py", line 336, in _upgrade_revs
revs = list(revs)
File "/home/ubuntu/normal/venv3/local/lib/python2.7/site-packages/alembic/script/revision.py", line 656, in _iterate_revisions
uppers = util.dedupe_tuple(self.get_revisions(upper))
File "/home/ubuntu/normal/venv3/local/lib/python2.7/site-packages/alembic/script/revision.py", line 301, in get_revisions
resolved_id, branch_label = self._resolve_revision_number(id_)
File "/home/ubuntu/normal/venv3/local/lib/python2.7/site-packages/alembic/script/revision.py", line 437, in _resolve_revision_number
self._revision_map
File "/home/ubuntu/normal/venv3/local/lib/python2.7/site-packages/alembic/util/langhelpers.py", line 239, in __get__
obj.__dict__[self.__name__] = result = self.fget(obj)
File "/home/ubuntu/normal/venv3/local/lib/python2.7/site-packages/alembic/script/revision.py", line 122, in _revision_map
for revision in self._generator():
File "/home/ubuntu/normal/venv3/local/lib/python2.7/site-packages/alembic/script/base.py", line 99, in _load_revisions
script = Script._from_filename(self, vers, file_)
File "/home/ubuntu/normal/venv3/local/lib/python2.7/site-packages/alembic/script/base.py", line 812, in _from_filename
module = util.load_python_file(dir_, filename)
File "/home/ubuntu/normal/venv3/local/lib/python2.7/site-packages/alembic/util/pyfiles.py", line 81, in load_python_file
module = load_module_py(module_id, path)
File "/home/ubuntu/normal/venv3/local/lib/python2.7/site-packages/alembic/util/compat.py", line 141, in load_module_py
mod = imp.load_source(module_id, path, fp)
File "/home/ubuntu/normal/venv3/local/lib/python2.7/site-packages/superset/migrations/versions/289ce07647b_add_encrypted_password_field.py", line 16, in <module>
from sqlalchemy_utils.types.encrypted import EncryptedType
**ImportError: cannot import name EncryptedType**
thoughts ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org