Error when open the 'custom doctype' link

thanks by @johnskywalker. I able to get the custom doctype list in previous thread.

But when i click on the link. This error message pop out. Can anyone help to check how to debug? or any hints?

The full log as below:

[ERROR] 2017-05-08 07:48:31,198 | /home/ubuntu/frappe-bench/apps/frappe/frappe/app.py:
Site: tms
Form Dict: {
“cached_timestamp”: “”,
“cmd”: “frappe.desk.form.load.getdoctype”,
“doctype”: “God Plate Slots”,
“with_parent”: “1”
}
Request Error
Traceback (most recent call last):
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/app.py”, line 56, in application
response = frappe.handler.handle()
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/handler.py”, line 19, in handle
execute_cmd(cmd)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/handler.py”, line 42, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/init.py”, line 907, in call
return fn(*args, **newargs)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/desk/form/load.py”, line 70, in getdoctype
docs = get_meta_bundle(doctype)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/desk/form/load.py”, line 81, in get_meta_bundle
bundle = [frappe.desk.form.meta.get_meta(doctype)]
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/desk/form/meta.py”, line 20, in get_meta
meta = frappe.cache().hget(“form_meta”, doctype, lambda: FormMeta(doctype))
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/utils/redis_wrapper.py”, line 171, in hget
value = generator()
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/desk/form/meta.py”, line 20, in
meta = frappe.cache().hget(“form_meta”, doctype, lambda: FormMeta(doctype))
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/desk/form/meta.py”, line 32, in init
self.load_assets()
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/desk/form/meta.py”, line 39, in load_assets
self.add_code()
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/desk/form/meta.py”, line 62, in add_code
path = os.path.join(get_module_path(self.module), ‘doctype’, scrub(self.name))
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/modules/utils.py”, line 144, in get_module_path
return frappe.get_module_path(module)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/init.py”, line 688, in get_module_path
return get_pymodule_path(local.module_app[module] + “.” + module, *joins)
KeyError: u’asset_setup’

Hi , @kenny

Could you explain in detail what you are trying to do ?