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 2019/11/22 06:13:55 UTC

[GitHub] [incubator-superset] axuew edited a comment on issue #8418: Flask App factory PR #1

axuew edited a comment on issue #8418: Flask App factory PR #1
URL: https://github.com/apache/incubator-superset/pull/8418#issuecomment-557402316
 
 
   @craig-rueda 
     Traceback (most recent call last):
     File "/home/incubator-superset/venv/lib/python3.6/site-packages/flask/app.py", line 2446, in wsgi_app
       response = self.full_dispatch_request()
     File "/home/incubator-superset/venv/lib/python3.6/site-packages/flask/app.py", line 1951, in full_dispatch_request
       rv = self.handle_user_exception(e)
     File "/home/incubator-superset/venv/lib/python3.6/site-packages/flask/app.py", line 1820, in handle_user_exception
       reraise(exc_type, exc_value, tb)
     File "/home/incubator-superset/venv/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise
       raise value
     File "/home/incubator-superset/venv/lib/python3.6/site-packages/flask/app.py", line 1949, in full_dispatch_request
       rv = self.dispatch_request()
     File "/home/incubator-superset/venv/lib/python3.6/site-packages/flask/app.py", line 1935, in dispatch_request
       return self.view_functions[rule.endpoint](**req.view_args)
     File "/home/lesso/incubator-superset/superset/views/core.py", line 3018, in welcome
       payload, default=utils.pessimistic_json_iso_dttm_ser
     File "/home/incubator-superset/venv/lib/python3.6/site-packages/flask_appbuilder/baseviews.py", line 228, in render_template
       template, **dict(list(kwargs.items()) + list(self.extra_args.items()))
     File "/home/incubator-superset/venv/lib/python3.6/site-packages/flask/templating.py", line 138, in render_template
       ctx.app.jinja_env.get_or_select_template(template_name_or_list),
     File "/home/incubator-superset/venv/lib/python3.6/site-packages/jinja2/environment.py", line 869, in get_or_select_template
       return self.get_template(template_name_or_list, parent, globals)
     File "/home/incubator-superset/venv/lib/python3.6/site-packages/jinja2/environment.py", line 830, in get_template
       return self._load_template(name, self.make_globals(globals))
     File "/home/incubator-superset/venv/lib/python3.6/site-packages/jinja2/environment.py", line 804, in _load_template
       template = self.loader.load(self, name, globals)
     File "/home/incubator-superset/venv/lib/python3.6/site-packages/jinja2/loaders.py", line 113, in load
       source, filename, uptodate = self.get_source(environment, name)
     File "/home/incubator-superset/venv/lib/python3.6/site-packages/flask/templating.py", line 60, in get_source
       return self._get_source_fast(environment, template)
     File "/home/incubator-superset/venv/lib/python3.6/site-packages/flask/templating.py", line 89, in _get_source_fast
       raise TemplateNotFound(template)
   jinja2.exceptions.TemplateNotFound: superset/welcome.html
   
   class SupersetIndexView(IndexView):
       @expose("/")
       def index(self):
           return redirect("/superset/welcome")

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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