Try ERPNext Buy Support Partners Foundation

Sudden Error in my test instance

Hi,
I have done so many customization in my Sales Order a long back.
But today suddenly my test instance has got crashed.

I am receiving below error:

Server Error

Traceback (most recent call last):
File “/home/vishnu/frappe-bench/apps/frappe/frappe/app.py”, line 69, in application
response = frappe.website.render.render()
File “/home/vishnu/frappe-bench/apps/frappe/frappe/website/render.py”, line 22, in render
path = resolve_path(path or frappe.local.request.path.strip(’/ '))
File “/home/vishnu/frappe-bench/apps/frappe/frappe/website/render.py”, line 166, in resolve_path
path = resolve_from_map(path)
File “/home/vishnu/frappe-bench/apps/frappe/frappe/website/render.py”, line 172, in resolve_from_map
for r in frappe.get_hooks(“website_route_rules”)])
File “/home/vishnu/frappe-bench/apps/frappe/frappe/init.py”, line 790, in get_hooks
hooks = _dict(cache().get_value(“app_hooks”, load_app_hooks))
File “/home/vishnu/frappe-bench/apps/frappe/frappe/utils/redis_wrapper.py”, line 71, in get_value
self.set_value(original_key, val, user=user)
File “/home/vishnu/frappe-bench/apps/frappe/frappe/utils/redis_wrapper.py”, line 39, in set_value
self.set(key, pickle.dumps(val))
File “/home/vishnu/frappe-bench/env/lib/python2.7/copy_reg.py”, line 70, in _reduce_ex
raise TypeError, “can’t pickle %s objects” % base.name
TypeError: can’t pickle module objects

Does anybody have an idea about this?

Regards
Ruchin Sharma

Seems redis is down. Do bench restart.

Did you get any solution over this?

I am also facing the same issue and i tried restarting bench, update, redis update but still the same issue.

Please refer to this Error while bench update --reset