Hi. I install frappe and erpnext version 5.0. Everything is ok but Application Installer doesn’t show any installed app and complains with the following error when clicked:
2014-11-30 12:42:00,561 Request Error
site: site5.local
form: {'cmd': u'frappe.desk.page.messages.applications.get_app_list'}
Traceback (innermost last):
File "/Users/saguas/erpnext4/erpnext/erpnext_mac/frappe_v5/frappe-bench/apps/frappe/frappe/app.py", line 49, in application
response = frappe.handler.handle()
File "/Users/saguas/erpnext4/erpnext/erpnext_mac/frappe_v5/frappe-bench/apps/frappe/frappe/handler.py", line 66, in handle
execute_cmd(cmd)
File "/Users/saguas/erpnext4/erpnext/erpnext_mac/frappe_v5/frappe-bench/apps/frappe/frappe/handler.py", line 77, in execute_cmd
method = get_attr(cmd)
File "/Users/saguas/erpnext4/erpnext/erpnext_mac/frappe_v5/frappe-bench/apps/frappe/frappe/handler.py", line 98, in get_attr
method = frappe.get_attr(cmd)
File "/Users/saguas/erpnext4/erpnext/erpnext_mac/frappe_v5/frappe-bench/apps/frappe/frappe/__init__.py", line 669, in get_attr
return getattr(get_module(modulename), methodname)
File "/Users/saguas/erpnext4/erpnext/erpnext_mac/frappe_v5/frappe-bench/apps/frappe/frappe/__init__.py", line 482, in get_module
return importlib.import_module(modulename)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named applications
Is this an error or i made something wrong?
Thanks.
Hi. I did bench update --build and the problem remain.
I don’t know if this is relevant but i did a fresh install not a migration and because i already have all the necessary dependencies installed i skip this step: sudo bash setup_frappe.sh.
With your procedure, I dont think that the repositories are pointing to the v5 branch. Even for a new bench, run bench migrate-to-v5 before creating a new site.
If you want to keep both versions, then setup another bench for v5
Remove /etc/frappe_bench_dir if it exists and setup the another bench with bench init benchv5