These are chat archives for getredash/redash

10th
May 2017
easton042
@easton042
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/trace.py", line 240, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/app/redash/worker.py", line 68, in __call__
    return TaskBase.__call__(self, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/celery/app/trace.py", line 438, in __protected_call__
    return self.run(*args, **kwargs)
  File "/app/redash/tasks/queries.py", line 267, in refresh_queries
    for query in models.Query.outdated_queries():
  File "/app/redash/models.py", line 828, in outdated_queries
    queries = (db.session.query(Query)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/scoping.py", line 157, in do
    return getattr(self.registry(), name)(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/_collections.py", line 990, in __call__
    return self.registry.setdefault(key, self.createfunc())
  File "/usr/local/lib/python2.7/dist-packages/flask_sqlalchemy/__init__.py", line 771, in create_session
    return SignallingSession(self, **options)
  File "/usr/local/lib/python2.7/dist-packages/flask_sqlalchemy/__init__.py", line 155, in __init__
    bind = options.pop('bind', None) or db.engine
  File "/usr/local/lib/python2.7/dist-packages/flask_sqlalchemy/__init__.py", line 893, in engine
    return self.get_engine(self.get_app())
  File "/usr/local/lib/python2.7/dist-packages/flask_sqlalchemy/__init__.py", line 910, in get_engine
    return connector.get_engine()
  File "/usr/local/lib/python2.7/dist-packages/flask_sqlalchemy/__init__.py", line 545, in get_engine
    self._engine = rv = sqlalchemy.create_engine(info, **options)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/__init__.py", line 387, in create_engine
    return strategy.create(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/strategies.py", line 56, in create
    entrypoint = u._get_entrypoint()
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/url.py", line 139, in _get_entrypoint
    cls = registry.load(name)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/langhelpers.py", line 212, in load
    (self.group, name))
NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:mongodb
easton042
@easton042
May 10 2017 02:18
here's my Data Source conf:
Screen Shot 2017-05-09 at 7.14.39 PM.png
Shahar Evron
@shevron
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