Unable to access Naming Series DocType

Dear Community,

I receive the following error when trying to access Naming Series doctype.

I am using

ERPNext: v8.0.33 (master)

Frappe Framework: v8.0.42 (master)

Traceback (most recent call last):
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/app.py", line 55, in application
    response = frappe.handler.handle()
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/handler.py", line 21, in handle
    data = execute_cmd(cmd)
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/handler.py", line 52, in execute_cmd
    return 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__
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/desk/form/meta.py", line 42, in load_assets
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/desk/form/meta.py", line 152, in load_templates
    module = load_doctype_module(self.name)
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/modules/utils.py", line 184, in load_doctype_module
    raise ImportError, 'Module import failed for {0} ({1})'.format(doctype, module_name)
ImportError: Module import failed for Naming Series (erpnext.setup.doctype.naming_series.naming_series)
1 Like

@mulyadi-agtechsg, the error says while importing Naming Series module the format is incorrect. Can you provide more detail?

Hi NeisSenni,

I just click on Naming Series and it prints this traceback.


@mulyadi-agtechsg, are you working on cloud and looking for this attached screen?

I am on my own server … yes tt is the doctype i am trying to access …

Thanks @NeisSenni

@mulyadi-agtechsg, u r welcome!. Some issue during setup. Are other modules running fine? Is this a new setup and how did you done install manual or easy install. Have you found any error during installation?

@NeisSenni rest of dt running fine … nah … not a new setup … just upgraded erpnext and frappe

I updated to latest frappe and erpnext. Working fine now, however, some of the series are gone.

Will put up an issue for this.