These are chat archives for getredash/redash

May 2017
May 10 2017 02:07
hi @arikfr , I'm trying redash Docker image, I added one MongoDB data source, then encountered this error: NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:mongodb, do you have any idea?
detailed log
[2017-05-10 02:05:13,207: ERROR/MainProcess] Task redash.tasks.refresh_queries[bbe3bfb7-6381-4baa-b099-c022b35dab3c] raised unexpected: NoSuchModuleError("Can't load plugin: sqlalchemy.dialects:mongodb",)
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/celery/app/", line 240, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/app/redash/", line 68, in __call__
    return TaskBase.__call__(self, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/celery/app/", line 438, in __protected_call__
    return*args, **kwargs)
  File "/app/redash/tasks/", line 267, in refresh_queries
    for query in models.Query.outdated_queries():
  File "/app/redash/", line 828, in outdated_queries
    queries = (db.session.query(Query)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/", line 157, in do
    return getattr(self.registry(), name)(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/", line 990, in __call__
    return self.registry.setdefault(key, self.createfunc())
  File "/usr/local/lib/python2.7/dist-packages/flask_sqlalchemy/", line 771, in create_session
    return SignallingSession(self, **options)
  File "/usr/local/lib/python2.7/dist-packages/flask_sqlalchemy/", line 155, in __init__
    bind = options.pop('bind', None) or db.engine
  File "/usr/local/lib/python2.7/dist-packages/flask_sqlalchemy/", line 893, in engine
    return self.get_engine(self.get_app())
  File "/usr/local/lib/python2.7/dist-packages/flask_sqlalchemy/", line 910, in get_engine
    return connector.get_engine()
  File "/usr/local/lib/python2.7/dist-packages/flask_sqlalchemy/", line 545, in get_engine
    self._engine = rv = sqlalchemy.create_engine(info, **options)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/", line 387, in create_engine
    return strategy.create(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/", line 56, in create
    entrypoint = u._get_entrypoint()
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/", line 139, in _get_entrypoint
    cls = registry.load(name)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/", line 212, in load
    (, name))
NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:mongodb
May 10 2017 02:18
here's my Data Source conf:
Screen Shot 2017-05-09 at 7.14.39 PM.png
Shahar Evron
May 10 2017 19:24
hey all, what are my chances of upgrading / migrating (without losing data) to a recent release from 0.8.11?
I have tried running the upgrade script to go to 0.12 first but it fails with an error on migrations