Hello guys!
After bench update I faced with error, please help me to fix it.
- erpnext 7.1.27
- frappe 7.1.27
- bench 4.1.0
- Dev environment
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 55, in application
response = frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 19, in handle
execute_cmd(cmd)
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 36, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 895, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/client.py”, line 281, in get_js
with open(contentpath, “r”) as srcfile:
IOError: [Errno 2] No such file or directory: u’./assets/frappe/css/daterangepicker.css’
/home/frappe/frappe-bench/apps/frappe/frappe/public/css
daterangepicker.css - this file is absent
I try bench build - not helps
frappe@erpnext:~/frappe-bench$ bench build
Wrote ./assets/js/print_format_v3.min.js - 18k
Wrote ./assets/js/frappe-web.min.js - 132k
Wrote ./assets/js/form.min.js - 139k
Wrote ./assets/js/report.min.js - 162k
Wrote ./assets/js/erpnext.min.js - 85k
Wrote ./assets/css/list.min.css - 9k
Wrote ./assets/js/item-dashboard.min.js - 6k
Wrote ./assets/js/d3.min.js - 343k
Wrote ./assets/css/report.min.css - 8k
Wrote ./assets/css/frappe-web.css - 64k
Wrote ./assets/js/list.min.js - 117k
Wrote ./assets/js/dialog.min.js - 63k
Wrote ./assets/js/desk.min.js - 251k
Wrote ./assets/css/form.min.css - 4k
Wrote ./assets/js/editor.min.js - 27k
Wrote ./assets/css/erpnext.css - 3k
Wrote ./assets/js/libs.min.js - 685k
Wrote ./assets/js/erpnext-web.min.js - 2k
Wrote ./assets/css/desk.min.css - 257k
Wrote ./assets/css/module.min.css - 2k
I also tried:
frappe@erpnext:~/frappe-bench$ cd ~/frappe-bench/apps/frappe
frappe@erpnext:~/frappe-bench/apps/frappe$ git stash
No local changes to save
frappe@erpnext:~/frappe-bench/apps/frappe$ git pull upstream
Already up-to-date.