hrms
hrms copied to clipboard
frappe.exceptions.DoesNotExistError: DocType Job Opening not found - on installing Hrms on bitnami erpnext
Information about bug
trying to install hrms on exrpnext ova by bitnami
it just stops working after add hrms
Module
HR
Version
Bench 5.2.14 frappe -15 frappe-hr installed using bench add-app hrms
Installation method
None
Relevant log output / Stack trace / Full Error Message.
Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 95, in application
init_request(request)
File "apps/frappe/frappe/app.py", line 179, in init_request
raise frappe.SessionStopped("Session Stopped")
frappe.exceptions.SessionStopped: Session Stopped
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "apps/frappe/frappe/website/serve.py", line 17, in get_response
endpoint, renderer_instance = path_resolver.resolve()
File "apps/frappe/frappe/website/path_resolver.py", line 63, in resolve
if renderer_instance.can_render():
File "apps/frappe/frappe/website/page_renderers/document_page.py", line 17, in can_render
if self.search_in_doctypes_with_web_view():
File "apps/frappe/frappe/website/page_renderers/document_page.py", line 26, in search_in_doctypes_with_web_view
if document := _find_matching_document_webview(self.path):
File "apps/frappe/frappe/utils/caching.py", line 157, in redis_cache_wrapper
val = func(*args, **kwargs)
File "apps/frappe/frappe/website/page_renderers/document_page.py", line 92, in _find_matching_document_webview
meta = frappe.get_meta(doctype)
File "apps/frappe/frappe/__init__.py", line 1294, in get_meta
return frappe.model.meta.get_meta(doctype, cached=cached)
File "apps/frappe/frappe/model/meta.py", line 63, in get_meta
meta = Meta(doctype)
File "apps/frappe/frappe/model/meta.py", line 117, in __init__
super().__init__("DocType", doctype)
File "apps/frappe/frappe/model/document.py", line 123, in __init__
self.load_from_db()
File "apps/frappe/frappe/model/meta.py", line 123, in load_from_db
super().load_from_db()
File "apps/frappe/frappe/model/document.py", line 169, in load_from_db
frappe.throw(
File "apps/frappe/frappe/__init__.py", line 578, in throw
msgprint(
File "apps/frappe/frappe/__init__.py", line 550, in msgprint
_raise_exception()
File "apps/frappe/frappe/__init__.py", line 501, in _raise_exception
raise exc
frappe.exceptions.DoesNotExistError: DocType Job Opening not found
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Make sure, bench is running during installation.
You can try to run bench migrate and see if it fixes the issue.