Hi There, I would like to report an error of installing Civil Contracting module to ERPNext in production image.
I downloaded the production image for Virtual box and setup for a new ERP site. Thanks for making it easy to install. We are interested in the civil contracting module as it is a major part of our business.
Tried installation from Application install in ERPNext, said couldn’t find the module. I run $ bench get-app civil_contracting GitHub - revant/civil_contracting: Frappe App for use in Civil Contracting Business, then tried from Application install again. This time it was queued for installation.
after a while, i found below error message in system log.
frappe.desk.page.applications.applications.start_install
Error
{‘retry’: 0, ‘log’: <function log at 0xb5c8df7c>, ‘site’: u’erpnext.vm’, ‘event’: None, ‘method_name’: u’frappe.desk.page.applications.applications.start_install’, ‘method’: <function start_install at 0xb5c8eaac>, ‘user’: u’jim@acahomes.com.ai’, ‘kwargs’: {‘name’: u’civil_contracting’}, ‘async’: True, ‘job_name’: u’frappe.desk.page.applications.applications.start_install’}
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/background_jobs.py”, line 71, in execute_job
method(**kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/page/applications/applications.py”, line 86, in start_install
frappe.installer.install_app(name)
File “/home/frappe/frappe-bench/apps/frappe/frappe/installer.py”, line 145, in install_app
add_to_installed_apps(name)
File “/home/frappe/frappe-bench/apps/frappe/frappe/installer.py”, line 166, in add_to_installed_apps
post_install(rebuild_website)
File “/home/frappe/frappe-bench/apps/frappe/frappe/installer.py”, line 230, in post_install
init_singles()
File “/home/frappe/frappe-bench/apps/frappe/frappe/installer.py”, line 251, in init_singles
doc.save()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 230, in save
return self._save(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 253, in _save
self.insert()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 181, in insert
self.check_permission(“create”)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 146, in check_permission
self.raise_no_permission_to(permlabel or permtype)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 160, in raise_no_permission_to
raise frappe.PermissionError
PermissionError
Can anyone help on this?
Regards,
Jim