Running for the first time, I receive the following error:
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 62, in application
response = frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 22, in handle
data = execute_cmd(cmd)
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 53, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 939, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/client.py”, line 300, in get_js
with open(contentpath, “r”) as srcfile:
IOError: [Errno 2] No such file or directory: u’./assets/erpnext/js/setup_wizard.js’
I create a symbolic link under:
/home/frappe/frappe-bench/apps/frappe/frappe/docs/assets
ln -s /home/frappe/frappe-bench/apps/erpnext/erpnext/public erpnext
Still can’t resolve the issue.
"
I create a symbolic link under:
/home/frappe/frappe-bench/apps/frappe/frappe/docs/assets
"
My symbolic links are in this directory instead:
/home/frappe/frappe-bench/sites/assets
For example here’s mine -
frappe@ubuntu:~/frappe-bench$ find . -name ‘setup_wizard.js’
./apps/erpnext/erpnext/public/js/setup_wizard.js
./apps/erpnext/erpnext/tests/ui/setup_wizard.js
./apps/frappe/frappe/desk/page/setup_wizard/setup_wizard.js
frappe@ubuntu:~/frappe-bench$ bench version
erpnext 10.1.20
frappe 10.1.21
frappe@ubuntu:~/frappe-bench$ ls -al sites/assets/
total 16
drwxr-xr-x 4 frappe frappe 4096 Apr 12 16:30 .
drwxr-xr-x 4 frappe frappe 4096 Jun 18 12:44 …
drwxr-xr-x 2 frappe frappe 4096 Mar 20 13:52 css
lrwxrwxrwx 1 frappe frappe 53 Apr 12 16:30 erpnext → /home/frappe/frappe-bench/apps/erpnext/erpnext/public
lrwxrwxrwx 1 frappe frappe 51 Apr 12 16:30 erpnext_docs → /home/frappe/frappe-bench/apps/erpnext/erpnext/docs
lrwxrwxrwx 1 frappe frappe 51 Apr 12 16:30 frappe → /home/frappe/frappe-bench/apps/frappe/frappe/public
lrwxrwxrwx 1 frappe frappe 49 Apr 12 16:30 frappe_docs → /home/frappe/frappe-bench/apps/frappe/frappe/docs
drwxr-xr-x 2 frappe frappe 4096 Mar 15 16:12 js
1 Like