jinja2.exceptions.TemplateNotFound: hr/doctype/job_opening/templates/job_opening_row.html
See original GitHub issueDescription of the issue
I have built frappe docker in production mode and i have also installed hrms.
I can go to localhost/jobs
But when i added new job_opening, i got error code 500
as the below image
Context information (for bug reports)
Steps to reproduce the issue
- Add Job Opening
- Go to
localhost/jobs
- Error
Observed result
Expected result
List of jobs
Stacktrace / full error message if available
Traceback (most recent call last):
File "apps/frappe/frappe/website/serve.py", line 18, in get_response
response = renderer_instance.render()
File "apps/frappe/frappe/website/page_renderers/list_page.py", line 12, in render
return super().render()
File "apps/frappe/frappe/website/page_renderers/template_page.py", line 78, in render
html = self.get_html()
File "apps/frappe/frappe/website/utils.py", line 510, in cache_html_decorator
html = func(*args, **kwargs)
File "apps/frappe/frappe/website/page_renderers/template_page.py", line 89, in get_html
self.update_context()
File "apps/frappe/frappe/website/page_renderers/template_page.py", line 157, in update_context
data = self.run_pymodule_method("get_context")
File "apps/frappe/frappe/website/page_renderers/template_page.py", line 219, in run_pymodule_method
return method(self.context)
File "apps/frappe/frappe/www/list.py", line 25, in get_context
context.update(get(**frappe.local.form_dict))
File "apps/frappe/frappe/www/list.py", line 63, in get
rendered_row = frappe.render_template(row_template, new_context, is_path=True)
File "apps/frappe/frappe/utils/jinja.py", line 80, in render_template
return get_jenv().get_template(template).render(context)
File "env/lib/python3.10/site-packages/jinja2/environment.py", line 1010, in get_template
return self._load_template(name, globals)
File "env/lib/python3.10/site-packages/jinja2/environment.py", line 969, in _load_template
template = self.loader.load(self, name, self.make_globals(globals))
File "env/lib/python3.10/site-packages/jinja2/loaders.py", line 575, in load
raise TemplateNotFound(name)
jinja2.exceptions.TemplateNotFound: hr/doctype/job_opening/templates/job_opening_row.html
Issue Analytics
- State:
- Created a year ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
jinja2.exceptions.TemplateNotFound error [duplicate]
I am absolutely sure the login.html is there( static/themes/default/404.html ).Why can this occur? python ...
Read more >Solutions of “jinja2.exceptions.TemplateNotFound: index.html”
The error message was due to the lack of a “index.html” file in the “Template” directory. To resolve the issue, simply create a...
Read more >jinja2.exceptions.TemplateNotFound: index.html #9 - GitHub
Hi I cloned your code and while trying to use the example app I am getting this error raise TemplateNotFound(template) jinja2.exceptions.
Read more >jinja2.exceptions.TemplateNotFound: home.html : r/learnpython
Hello guys so i made a folder named template where my home.html is and my about.html, should i make a template file in...
Read more >jinja2.exceptions.TemplateNotFound: home.html : Forums
I am not having an issue where the web app can not find the ''home.html' file even though it is just in my...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://user-images.githubusercontent.com/13318452/193386735-762bda65-4ee4-45a1-9079-788d8de793fd.mp4
Here is the problem, but now it was gone after i changed docker memory. Maybe something went wrong when we run the setup with slow bandwidth or low memory.
Please create new issue it persists.