Error when trying to access a custom module

Dear all,

I created a custom module ui_customization to be able to export my customization from one site to the other. The process worked, but I don’t see the module on my desktop even though I have access to it in the users settings. And when I try to go to the module from the search bar I get the following error:

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 879, in call
    return fn(*args, **newargs)
TypeError: get() takes exactly 1 argument (0 given)

Any idea what went wrong here and how to fix it?

Regards,
Ahmed

Hi @ahmed .

The above error message indicates that you don’t have any doc in your custom module . Please check whether your custom docs in your custom module has installed in your new site .If not go back to your old site and uncheck the custom button in your doc and export it to your new site.

Thanks

Thanks Muthu

1 Like