openlibhums / openlibhums/janeway
django.template.exceptions.TemplateDoesNotExist: foundationform/_foundation_form_field.html on master
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 238
- Forks
- 97
- Avg merge
- 9d 1h
- Merged PRs (30d)
- 8
Description
Describe the bug
Cannot install
Janeway version
4bde358b354a2fbdaac0ab4b6a511e4330a79c39
To Reproduce
Steps to reproduce the behavior:
- Install application
- Answer Questions during the CLI pieces
- Go to url provided for install
- Click next after the logo upload screen
- Server error
Expected behavior
Install to continue?
Screenshots
janeway-web-1 | WARNING 2026-02-05 14:43:29,416 log P:9 T:264931193827360 Not Found: /install/journal/
janeway-web-1 | Traceback (most recent call last):
janeway-web-1 | File "/usr/local/lib/python3.12/site-packages/django/template/backends/django.py", line 61, in render
janeway-web-1 | return self.template.render(context)
janeway-web-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
janeway-web-1 | File "/usr/local/lib/python3.12/site-packages/django/template/base.py", line 175, in render
janeway-web-1 | return self._render(context)
janeway-web-1 | ^^^^^^^^^^^^^^^^^^^^^
janeway-web-1 | File "/usr/local/lib/python3.12/site-packages/django/template/base.py", line 167, in _render
janeway-web-1 | return self.nodelist.render(context)
janeway-web-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
janeway-web-1 | File "/usr/local/lib/python3.12/site-packages/django/template/base.py", line 1005, in render
janeway-web-1 | return SafeString("".join([node.render_annotated(context) for node in self]))
janeway-web-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
janeway-web-1 | File "/usr/local/lib/python3.12/site-packages/django/template/base.py", line 966, in render_annotated
janeway-web-1 | return self.render(context)
janeway-web-1 | ^^^^^^^^^^^^^^^^^^^^
janeway-web-1 | File "/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py", line 157, in render
janeway-web-1 | return compiled_parent._render(context)
janeway-web-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
janeway-web-1 | File "/usr/local/lib/python3.12/site-packages/django/template/base.py", line 167, in _render
janeway-web-1 | return self.nodelist.render(context)
janeway-web-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
janeway-web-1 | File "/usr/local/lib/python3.12/site-packages/django/template/base.py", line 1005, in render
janeway-web-1 | return SafeString("".join([node.render_annotated(context) for node in self]))
janeway-web-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
janeway-web-1 | File "/usr/local/lib/python3.12/site-packages/django/template/base.py", line 966, in render_annotated
janeway-web-1 | return self.render(context)
janeway-web-1 | ^^^^^^^^^^^^^^^^^^^^
janeway-web-1 | File "/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py", line 63, in render
janeway-web-1 | result = block.nodelist.render(context)
janeway-web-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
janeway-web-1 | File "/usr/local/lib/python3.12/site-packages/django/template/base.py", line 1005, in render
janeway-web-1 | return SafeString("".join([node.render_annotated(context) for node in self]))
janeway-web-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
janeway-web-1 | File "/usr/local/lib/python3.12/site-packages/django/template/base.py", line 966, in render_annotated
janeway-web-1 | return self.render(context)
janeway-web-1 | ^^^^^^^^^^^^^^^^^^^^
janeway-web-1 | File "/usr/local/lib/python3.12/site-packages/django/template/base.py", line 1064, in render
janeway-web-1 | output = self.filter_expression.resolve(context)
janeway-web-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
janeway-web-1 | File "/usr/local/lib/python3.12/site-packages/django/template/base.py", line 742, in resolve
janeway-web-1 | new_obj = func(obj, *arg_vals)
janeway-web-1 | ^^^^^^^^^^^^^^^^^^^^
janeway-web-1 | File "/janeway/src/foundationform/foundationform/templatetags/foundation.py", line 27, in foundation
janeway-web-1 | template, context = get_context_template(element)
janeway-web-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
janeway-web-1 | File "/janeway/src/foundationform/foundationform/templatetags/foundation.py", line 13, in get_context_template
janeway-web-1 | template = get_template("foundationform/_foundation_form_field.html")
janeway-web-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
janeway-web-1 | File "/usr/local/lib/python3.12/site-packages/django/template/loader.py", line 19, in get_template
janeway-web-1 | raise TemplateDoesNotExist(template_name, chain=chain)
janeway-web-1 | django.template.exceptions.TemplateDoesNotExist: foundationform/_foundation_form_field.html
janeway-web-1 |
janeway-web-1 | The above exception was the direct cause of the following exception:
janeway-web-1 |
janeway-web-1 | Traceback (most recent call last):
janeway-web-1 | File "/usr/local/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner
janeway-web-1 | response = get_response(request)
janeway-web-1 | ^^^^^^^^^^^^^^^^^^^^^
janeway-web-1 | File "/usr/local/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response
janeway-web-1 | response = wrapped_callback(request, *callback_args, **callback_kwargs)
janeway-web-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
janeway-web-1 | File "/usr/local/lib/python3.12/site-packages/django/contrib/auth/decorators.py", line 23, in _wrapper_view
janeway-web-1 | return view_func(request, *args, **kwargs)
janeway-web-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
janeway-web-1 | File "/janeway/src/install/views.py", line 68, in journal
janeway-web-1 | return render(request, template, context)
janeway-web-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
janeway-web-1 | File "/usr/local/lib/python3.12/site-packages/django/shortcuts.py", line 24, in render
janeway-web-1 | content = loader.render_to_string(template_name, context, request, using=using)
janeway-web-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
janeway-web-1 | File "/usr/local/lib/python3.12/site-packages/django/template/loader.py", line 62, in render_to_string
janeway-web-1 | return template.render(context, request)
janeway-web-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
janeway-web-1 | File "/usr/local/lib/python3.12/site-packages/django/template/backends/django.py", line 63, in render
janeway-web-1 | reraise(exc, self.backend)
janeway-web-1 | File "/usr/local/lib/python3.12/site-packages/django/template/backends/django.py", line 84, in reraise
janeway-web-1 | raise new from exc
janeway-web-1 | django.template.exceptions.TemplateDoesNotExist: foundationform/_foundation_form_field.html
Additional context
Add any other context about the problem here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with foundationform/foundationform/templatetags/foundation.py and the install flow in install/views.py, then reproduce the installation steps through the logo upload screen. Trace why foundationform/_foundation_form_field.html cannot be loaded and verify that continuing the installation no longer raises TemplateDoesNotExist.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- django, python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100