Skip to content
New issue

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

jinja2.exceptions.TemplateNotFound: index.html #69

Closed
guilherme-argentino opened this issue Apr 21, 2023 · 0 comments
Closed

jinja2.exceptions.TemplateNotFound: index.html #69

guilherme-argentino opened this issue Apr 21, 2023 · 0 comments

Comments

@guilherme-argentino
Copy link

guilherme-argentino commented Apr 21, 2023

Running the docker-compose version. After installing and accessing the URL http://127.0.0.1:7887/

alpaca_1  | 172.18.0.1 - - [21/Apr/2023 02:01:36] "GET / HTTP/1.1" 500 -
alpaca_1  | Traceback (most recent call last):
alpaca_1  |   File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2551, in __call__
alpaca_1  |     return self.wsgi_app(environ, start_response)
alpaca_1  |   File "/usr/local/lib/python3.8/site-packages/flask_socketio/__init__.py", line 43, in __call__
alpaca_1  |     return super(_SocketIOMiddleware, self).__call__(environ,
alpaca_1  |   File "/usr/local/lib/python3.8/site-packages/engineio/middleware.py", line 74, in __call__
alpaca_1  |     return self.wsgi_app(environ, start_response)
alpaca_1  |   File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2531, in wsgi_app
alpaca_1  |     response = self.handle_exception(e)
alpaca_1  |   File "/usr/local/lib/python3.8/site-packages/flask_cors/extension.py", line 165, in wrapped_function
alpaca_1  |     return cors_after_request(app.make_response(f(*args, **kwargs)))
alpaca_1  |   File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2528, in wsgi_app
alpaca_1  |     response = self.full_dispatch_request()
alpaca_1  |   File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1825, in full_dispatch_request
alpaca_1  |     rv = self.handle_user_exception(e)
alpaca_1  |   File "/usr/local/lib/python3.8/site-packages/flask_cors/extension.py", line 165, in wrapped_function
alpaca_1  |     return cors_after_request(app.make_response(f(*args, **kwargs)))
alpaca_1  |   File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1823, in full_dispatch_request
alpaca_1  |     rv = self.dispatch_request()
alpaca_1  |   File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1799, in dispatch_request
alpaca_1  |     return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
alpaca_1  |   File "/app/api.py", line 234, in index
alpaca_1  |     return render_template("index.html")
alpaca_1  |   File "/usr/local/lib/python3.8/site-packages/flask/templating.py", line 146, in render_template
alpaca_1  |     template = app.jinja_env.get_or_select_template(template_name_or_list)
alpaca_1  |   File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 1081, in get_or_select_template
alpaca_1  |     return self.get_template(template_name_or_list, parent, globals)
alpaca_1  |   File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 1010, in get_template
alpaca_1  |     return self._load_template(name, globals)
alpaca_1  |   File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 969, in _load_template
alpaca_1  |     template = self.loader.load(self, name, self.make_globals(globals))
alpaca_1  |   File "/usr/local/lib/python3.8/site-packages/jinja2/loaders.py", line 126, in load
alpaca_1  |     source, filename, uptodate = self.get_source(environment, name)
alpaca_1  |   File "/usr/local/lib/python3.8/site-packages/flask/templating.py", line 62, in get_source
alpaca_1  |     return self._get_source_fast(environment, template)
alpaca_1  |   File "/usr/local/lib/python3.8/site-packages/flask/templating.py", line 98, in _get_source_fast
alpaca_1  |     raise TemplateNotFound(template)
alpaca_1  | jinja2.exceptions.TemplateNotFound: index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant