We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
self = <tests.handlers.test_embed.TestPublicDashboard testMethod=test_works_for_logged_in_user>
def test_works_for_logged_in_user(self): dashboard = self.factory.create_dashboard() api_key = self.factory.create_api_key(object=dashboard)
res = self.make_request('get', '/public/dashboards/{}'.format(api_key.api_key), is_json=False)
tests/handlers/test_embed.py:60:
tests/init.py:87: in make_request response = method_fn(path, data=data, headers=headers, content_type=content_type) /usr/local/lib/python2.7/dist-packages/werkzeug/test.py:778: in get return self.open(*args, **kw) /usr/local/lib/python2.7/dist-packages/flask/testing.py:113: in open follow_redirects=follow_redirects) /usr/local/lib/python2.7/dist-packages/werkzeug/test.py:751: in open response = self.run_wsgi_app(environ, buffered=buffered) /usr/local/lib/python2.7/dist-packages/werkzeug/test.py:668: in run_wsgi_app rv = run_wsgi_app(self.application, environ, buffered=buffered) /usr/local/lib/python2.7/dist-packages/werkzeug/test.py:871: in run_wsgi_app app_rv = app(environ, start_response) /usr/local/lib/python2.7/dist-packages/flask/app.py:2000: in call return self.wsgi_app(environ, start_response) /usr/local/lib/python2.7/dist-packages/werkzeug/contrib/fixers.py:152: in call return self.app(environ, start_response) /usr/local/lib/python2.7/dist-packages/flask/app.py:1991: in wsgi_app response = self.make_response(self.handle_exception(e)) /usr/local/lib/python2.7/dist-packages/flask_restful/init.py:271: in error_router return original_handler(e) /usr/local/lib/python2.7/dist-packages/flask/app.py:1567: in handle_exception reraise(exc_type, exc_value, tb) /usr/local/lib/python2.7/dist-packages/flask/app.py:1988: in wsgi_app response = self.full_dispatch_request() /usr/local/lib/python2.7/dist-packages/flask/app.py:1641: in full_dispatch_request rv = self.handle_user_exception(e) /usr/local/lib/python2.7/dist-packages/flask_restful/init.py:271: in error_router return original_handler(e) /usr/local/lib/python2.7/dist-packages/flask/app.py:1544: in handle_user_exception reraise(exc_type, exc_value, tb) /usr/local/lib/python2.7/dist-packages/flask/app.py:1639: in full_dispatch_request rv = self.dispatch_request() /usr/local/lib/python2.7/dist-packages/flask/app.py:1625: in dispatch_request return self.view_functionsrule.endpoint /usr/local/lib/python2.7/dist-packages/flask_login/utils.py:228: in decorated_view return func(*args, **kwargs) redash/handlers/embed.py:101: in public_dashboard return render_index() redash/handlers/static.py:15: in render_index response = render_template("multi_org.html", base_href=base_href()) /usr/local/lib/python2.7/dist-packages/flask/templating.py:133: in render_template return _render(ctx.app.jinja_env.get_or_select_template(template_name_or_list), /usr/local/lib/python2.7/dist-packages/jinja2/environment.py:851: in get_or_select_template return self.get_template(template_name_or_list, parent, globals) /usr/local/lib/python2.7/dist-packages/jinja2/environment.py:812: in get_template return self._load_template(name, self.make_globals(globals)) /usr/local/lib/python2.7/dist-packages/jinja2/environment.py:774: in _load_template cache_key = self.loader.get_source(self, name)[1] /usr/local/lib/python2.7/dist-packages/flask/templating.py:57: in get_source return self._get_source_fast(environment, template)
self = <flask.templating.DispatchingJinjaLoader object at 0x7f83bc4363d0> environment = <flask.templating.Environment object at 0x7f83bd0af390>, template = 'multi_org.html'
def _get_source_fast(self, environment, template): for srcobj, loader in self._iter_loaders(template): try: return loader.get_source(environment, template) except TemplateNotFound: continue
raise TemplateNotFound(template)
E TemplateNotFound: multi_org.html
/usr/local/lib/python2.7/dist-packages/flask/templating.py:85: TemplateNotFound
The text was updated successfully, but these errors were encountered:
No branches or pull requests
self = <tests.handlers.test_embed.TestPublicDashboard testMethod=test_works_for_logged_in_user>
tests/handlers/test_embed.py:60:
tests/init.py:87: in make_request
response = method_fn(path, data=data, headers=headers, content_type=content_type)
/usr/local/lib/python2.7/dist-packages/werkzeug/test.py:778: in get
return self.open(*args, **kw)
/usr/local/lib/python2.7/dist-packages/flask/testing.py:113: in open
follow_redirects=follow_redirects)
/usr/local/lib/python2.7/dist-packages/werkzeug/test.py:751: in open
response = self.run_wsgi_app(environ, buffered=buffered)
/usr/local/lib/python2.7/dist-packages/werkzeug/test.py:668: in run_wsgi_app
rv = run_wsgi_app(self.application, environ, buffered=buffered)
/usr/local/lib/python2.7/dist-packages/werkzeug/test.py:871: in run_wsgi_app
app_rv = app(environ, start_response)
/usr/local/lib/python2.7/dist-packages/flask/app.py:2000: in call
return self.wsgi_app(environ, start_response)
/usr/local/lib/python2.7/dist-packages/werkzeug/contrib/fixers.py:152: in call
return self.app(environ, start_response)
/usr/local/lib/python2.7/dist-packages/flask/app.py:1991: in wsgi_app
response = self.make_response(self.handle_exception(e))
/usr/local/lib/python2.7/dist-packages/flask_restful/init.py:271: in error_router
return original_handler(e)
/usr/local/lib/python2.7/dist-packages/flask/app.py:1567: in handle_exception
reraise(exc_type, exc_value, tb)
/usr/local/lib/python2.7/dist-packages/flask/app.py:1988: in wsgi_app
response = self.full_dispatch_request()
/usr/local/lib/python2.7/dist-packages/flask/app.py:1641: in full_dispatch_request
rv = self.handle_user_exception(e)
/usr/local/lib/python2.7/dist-packages/flask_restful/init.py:271: in error_router
return original_handler(e)
/usr/local/lib/python2.7/dist-packages/flask/app.py:1544: in handle_user_exception
reraise(exc_type, exc_value, tb)
/usr/local/lib/python2.7/dist-packages/flask/app.py:1639: in full_dispatch_request
rv = self.dispatch_request()
/usr/local/lib/python2.7/dist-packages/flask/app.py:1625: in dispatch_request
return self.view_functionsrule.endpoint
/usr/local/lib/python2.7/dist-packages/flask_login/utils.py:228: in decorated_view
return func(*args, **kwargs)
redash/handlers/embed.py:101: in public_dashboard
return render_index()
redash/handlers/static.py:15: in render_index
response = render_template("multi_org.html", base_href=base_href())
/usr/local/lib/python2.7/dist-packages/flask/templating.py:133: in render_template
return _render(ctx.app.jinja_env.get_or_select_template(template_name_or_list),
/usr/local/lib/python2.7/dist-packages/jinja2/environment.py:851: in get_or_select_template
return self.get_template(template_name_or_list, parent, globals)
/usr/local/lib/python2.7/dist-packages/jinja2/environment.py:812: in get_template
return self._load_template(name, self.make_globals(globals))
/usr/local/lib/python2.7/dist-packages/jinja2/environment.py:774: in _load_template
cache_key = self.loader.get_source(self, name)[1]
/usr/local/lib/python2.7/dist-packages/flask/templating.py:57: in get_source
return self._get_source_fast(environment, template)
self = <flask.templating.DispatchingJinjaLoader object at 0x7f83bc4363d0>
environment = <flask.templating.Environment object at 0x7f83bd0af390>, template = 'multi_org.html'
E TemplateNotFound: multi_org.html
/usr/local/lib/python2.7/dist-packages/flask/templating.py:85: TemplateNotFound
The text was updated successfully, but these errors were encountered: