nt_consumers = frappe.get_all(‘Event Consumer’)
File “/opt/erpnext/erpnext/apps/frappe/frappe/init.py”, line 1337, in get_all return get_list(doctype, *args, **kwargs)
File “/opt/erpnext/erpnext/apps/frappe/frappe/init.py”, line 1310, in get_list
return frappe.model.db_query.DatabaseQuery(doctype).execute(None, *args, **kwargs)
File “/opt/erpnext/erpnext/apps/frappe/frappe/model/db_query.py”, line 96, in execute
result = self.build_and_run()
File “/opt/erpnext/erpnext/apps/frappe/frappe/model/db_query.py”, line 110, in build_and_run
args = self.prepare_args()
File “/opt/erpnext/erpnext/apps/frappe/frappe/model/db_query.py”, line 136, in prepare_args
self.set_optional_columns()
File “/opt/erpnext/erpnext/apps/frappe/frappe/model/db_query.py”, line 298, in set_optional_columns
columns = get_table_columns(self.doctype)
File “/opt/erpnext/erpnext/apps/frappe/frappe/model/meta.py”, line 49, in get_table_columns
return frappe.db.get_table_columns(doctype)
File “/opt/erpnext/erpnext/apps/frappe/frappe/database/database.py”, line 865, in get_table_columns
raise self.TableMissingError(‘DocType’, doctype)
pymysql.err.ProgrammingError: (‘DocType’, ‘Event Consumer’)