Hey guys,
I’ve created a custom Doctype, called ECN, and another custom doctype as a child table within(ECN PN Chart).
The child table records affected part numbers, and everything works well, until I go to an item master and click links. When I do that, I get this traceback:
Traceback (innermost last):
File "/home/erpuser/frappe-bench/apps/frappe/frappe/app.py", line 67, in application
response = frappe.handler.handle()
File "/home/erpuser/frappe-bench/apps/frappe/frappe/handler.py", line 75, in handle
execute_cmd(cmd)
File "/home/erpuser/frappe-bench/apps/frappe/frappe/handler.py", line 109, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File "/home/erpuser/frappe-bench/apps/frappe/frappe/__init__.py", line 776, in call
return fn(*args, **newargs)
File "/home/erpuser/frappe-bench/apps/frappe/frappe/desk/form/linked_with.py", line 90, in get_linked_doctypes
return frappe.cache().hget("linked_doctypes", doctype, lambda: _get_linked_doctypes(doctype))
File "/home/erpuser/frappe-bench/apps/frappe/frappe/utils/redis_wrapper.py", line 123, in hget
value = generator()
File "/home/erpuser/frappe-bench/apps/frappe/frappe/desk/form/linked_with.py", line 90, in
return frappe.cache().hget("linked_doctypes", doctype, lambda: _get_linked_doctypes(doctype))
File "/home/erpuser/frappe-bench/apps/frappe/frappe/desk/form/linked_with.py", line 111, in _get_linked_doctypes
doctype_module = load_doctype_module(dt)
File "/home/erpuser/frappe-bench/apps/frappe/frappe/modules/__init__.py", line 64, in load_doctype_module
doctype_python_modules[key] = frappe.get_module(get_module_name(doctype, module, prefix))
File "/home/erpuser/frappe-bench/apps/frappe/frappe/__init__.py", line 583, in get_module
return importlib.import_module(modulename)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named ecn_pn_chart.ecn_pn_chart