These are chat archives for getredash/redash

Mar 2017
Mar 06 2017 02:08
@arikfr Glad to be able to help :smile:
Jens Lukas
Mar 06 2017 17:03
Hi, just updated to from 0.11 to 1.0 rc2. Now we are having problems with the API. Query refresh call (with parameters) returns Internal Server Error
[2017-03-06 17:00:44,497][PID:1919][ERROR][redash] Exception on /api/queries/38/refresh [POST]
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flask/", line 1639, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/", line 1625, in dispatch_request
return self.view_functionsrule.endpoint
File "/usr/local/lib/python2.7/dist-packages/flask_restful/", line 477, in wrapper
resp = resource(args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flask_login/", line 228, in decorated_view
return func(
args, kwargs)
File "/usr/local/lib/python2.7/dist-packages/flask/", line 84, in view
return self.dispatch_request(*args,
File "/opt/redash/redash.1.0.0-rc.2.b2777/redash/handlers/", line 28, in dispatch_request
return super(BaseResource, self).dispatch_request(args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flask_restful/", line 587, in dispatch_request
resp = meth(
args, **kwargs)
File "/opt/redash/redash.1.0.0-rc.2.b2777/redash/handlers/", line 266, in post
return run_query(query.data_source, parameter_values, query.query_text,
File "/opt/redash/redash.1.0.0-rc.2.b2777/redash/handlers/", line 48, in run_query
job = enqueue_query(query_text, data_source,, metadata={"Username":, "Query ID": query_id})
File "/usr/local/lib/python2.7/dist-packages/werkzeug/", line 343, in getattr
return getattr(self._get_current_object(), name)
AttributeError: 'ApiUser' object has no attribute 'email'
shall I create an issue?