Role permission manager error

Hello,

When I try to access the Role permission manager, I get the following error:

Message

Server Error: Please check your server logs or contact tech support.

Traceback (innermost last):
File “/home/erpnext/frappe-bench/apps/frappe/frappe/app.py”, line 49, in application
response = frappe.handler.handle()
File “/home/erpnext/frappe-bench/apps/frappe/frappe/handler.py”, line 66, in handle
execute_cmd(cmd)
File “/home/erpnext/frappe-bench/apps/frappe/frappe/handler.py”, line 77, in execute_cmd
method = get_attr(cmd)
File “/home/erpnext/frappe-bench/apps/frappe/frappe/handler.py”, line 98, in get_attr
method = frappe.get_attr(cmd)
File “/home/erpnext/frappe-bench/apps/frappe/frappe/init.py”, line 519, in get_attr
return os.path.join(os.path.dirname(get_module(scrub(modulename)).file), *joins)
File “/home/erpnext/frappe-bench/apps/frappe/frappe/init.py”, line 379, in get_module
def has_permission(doctype, ptype=“read”, doc=None, user=None):
File “/usr/lib/python2.7/importlib/init.py”, line 37, in import_module
import(name)
File “/home/erpnext/frappe-bench/apps/frappe/frappe/core/page/permission_manager/permission_manager.py”, line 10, in
from frappe.permissions import reset_perms
ImportError: cannot import name reset_perms

And I cannot access it after closing the window, I’m stuck on the page with a “Loading…” not really loading.

I am running on a VM with Erpnext 5.0.0 alpha

I don’t recall having changed anything in the roles permission…

Is there something wrong with my installation?
Thanks for your help

And also I cannot access the new doctype. Does it have something to do with my admin account?

Have you tried bench update?