Traceback (most recent call last):

...


 "/webapps/genida/repository/genida/app/dashboard/charts.py", line 14, in machine_usage_chart

ram = psutil.virtual_memory().percent


 "/webapps/genida/virtualenv/lib/python3.5/site-packages/psutil/__init__.py", line 1985, in virtual_memory

ret = _psplatform.virtual_memory()


 "/webapps/genida/virtualenv/lib/python3.5/site-packages/psutil/_pslinux.py", line 399, in virtual_memory

buffers = mems[b'Buffers:']
KeyError: b'Buffers:'

Traceback (most recent call last):


 "/home/prof/projects/frappe-bench/apps/frappe/frappe/app.py", line 62, in application

response = frappe.handler.handle()


 "/home/prof/projects/frappe-bench/apps/frappe/frappe/handler.py", line 22, in handle

data = execute_cmd(cmd)


 "/home/prof/projects/frappe-bench/apps/frappe/frappe/handler.py", line 55, in execute_cmd

return frappe.call(method, **frappe.form_dict)


 "/home/prof/projects/frappe-bench/apps/frappe/frappe/__init__.py", line 957, in call

return fn(*args, **newargs)


 "/home/prof/projects/frappe-bench/apps/frappe/frappe/model/rename_doc.py", line 36, in rename_doc

out = old_doc.run_method("before_rename", old, new, merge) or {}


 "/home/prof/projects/frappe-bench/apps/frappe/frappe/model/document.py", line 765, in run_method

out = Document.hook(fn)(self, *args, **kwargs)


 "/home/prof/projects/frappe-bench/apps/frappe/frappe/model/document.py", line 1040, in composer

return composed(self, method, *args, **kwargs)


 "/home/prof/projects/frappe-bench/apps/frappe/frappe/model/document.py", line 1023, in runner

add_to_return_value(self, fn(self, *args, **kwargs))


 "/home/prof/projects/frappe-bench/apps/frappe/frappe/model/document.py", line 759, in <lambda>

fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)


 "/home/prof/projects/frappe-bench/apps/frappe/frappe/core/doctype/doctype/doctype.py", line 325, in before_rename

self.rename_files_and_folders(old, new)


 "/home/prof/projects/frappe-bench/apps/frappe/frappe/core/doctype/doctype/doctype.py", line 348, in rename_files_and_folders

self.rename_inside_controller(new, old, new_path)


 "/home/prof/projects/frappe-bench/apps/frappe/frappe/core/doctype/doctype/doctype.py", line 358, in rename_inside_controller

f.write(code.replace(frappe.scurb(old).replace(' ', ''), frappe.scrub(new).replace(' ', '')))
AttributeError: module 'frappe' has no attribute 'scurb'
