You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by GitBox <gi...@apache.org> on 2022/02/26 05:52:41 UTC
[GitHub] [incubator-heron] nicknezis opened a new issue #3776: Heron UI fails to run with Jinja2 error
nicknezis opened a new issue #3776:
URL: https://github.com/apache/incubator-heron/issues/3776
**Describe the bug**
Built a new Docker image and tried to install the Helm chart (Ubuntu 20.04 OS flavor). The Heron UI failed to start with the following output:
```
Traceback (most recent call last):
File "/root/.pex/unzipped_pexes/8441fa64fbac3368d66a56198197a0e21b924c36/.bootstrap/pex/pex.py", line 476, in execute
exit_value = self._wrap_coverage(self._wrap_profiling, self._execute)
File "/root/.pex/unzipped_pexes/8441fa64fbac3368d66a56198197a0e21b924c36/.bootstrap/pex/pex.py", line 401, in _wrap_coverage
return runner(*args)
File "/root/.pex/unzipped_pexes/8441fa64fbac3368d66a56198197a0e21b924c36/.bootstrap/pex/pex.py", line 432, in _wrap_profiling
return runner(*args)
File "/root/.pex/unzipped_pexes/8441fa64fbac3368d66a56198197a0e21b924c36/.bootstrap/pex/pex.py", line 532, in _execute
return self.execute_entry(self._pex_info.entry_point)
File "/root/.pex/unzipped_pexes/8441fa64fbac3368d66a56198197a0e21b924c36/.bootstrap/pex/pex.py", line 679, in execute_entry
return self.execute_module(entry_point, alter_sys)
File "/root/.pex/unzipped_pexes/8441fa64fbac3368d66a56198197a0e21b924c36/.bootstrap/pex/pex.py", line 691, in execute_module
runpy.run_module(module_name, run_name="__main__", alter_sys=alter_sys)
File "/usr/lib/python3.8/runpy.py", line 207, in run_module
return _run_module_code(code, init_globals, run_name, mod_spec)
File "/usr/lib/python3.8/runpy.py", line 97, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/root/.pex/unzipped_pexes/8441fa64fbac3368d66a56198197a0e21b924c36/heron/tools/ui/src/python/main.py", line 63, in <module>
templates = Jinja2Templates(
File "/root/.pex/installed_wheels/731dc61df60b32802b03d6c81bdd9757b24655fb/starlette-0.13.6-py3-none-any.whl/starlette/templating.py", line 52, in __init__
assert jinja2 is not None, "jinja2 must be installed to use Jinja2Templates"
AssertionError: jinja2 must be installed to use Jinja2Templates
```
**To Reproduce**
Steps to reproduce the behavior:
1. Build docker image
2. Helm install with the new image
--
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.
To unsubscribe, e-mail: commits-unsubscribe@heron.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-heron] nicknezis closed issue #3776: Heron UI fails to run with Jinja2 error
Posted by GitBox <gi...@apache.org>.
nicknezis closed issue #3776:
URL: https://github.com/apache/incubator-heron/issues/3776
--
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.
To unsubscribe, e-mail: commits-unsubscribe@heron.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org