ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

V11: ImportError: No module named 'frappe.deferred_insert'


Hi all,

on an interval, I have the following error pupping up in ERPNext V11:

ImportError: No module named 'frappe.deferred_insert'

The system is a develop instance running ERPNext: v11.1.4 (master) and Frappe Framework: v11.1.4 (master)

The full trace is

Traceback (most recent call last):
  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 61, in application
	response = frappe.handler.handle()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 21, in handle
	data = execute_cmd(cmd)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 45, in execute_cmd
	raise e
  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 42, in execute_cmd
	method = get_attr(cmd)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 135, in get_attr
	method = frappe.get_attr(cmd)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 1010, in get_attr
	return getattr(get_module(modulename), methodname)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 795, in get_module
	return importlib.import_module(modulename)
  File "/home/frappe/frappe-bench/env/lib/python3.5/importlib/", line 126, in import_module
	return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 956, in _find_and_load_unlocked
ImportError: No module named 'frappe.deferred_insert'

Any clues on this?