After an update got the below error
Traceback (most recent call last):
File "/opt/bench/erpnext/apps/frappe/frappe/desk/form/load.py", line 33, in getdoc
run_onload(doc)
File "/opt/bench/erpnext/apps/frappe/frappe/desk/form/load.py", line 201, in run_onload
doc.run_method("onload")
File "/opt/bench/erpnext/apps/frappe/frappe/model/document.py", line 767, in run_method
self.run_notifications(method)
File "/opt/bench/erpnext/apps/frappe/frappe/model/document.py", line 789, in run_email_alerts
filters={'enabled': 1, 'document_type': self.doctype})
File "/opt/bench/erpnext/apps/frappe/frappe/__init__.py", line 1180, in get_all
return get_list(doctype, *args, **kwargs)
File "/opt/bench/erpnext/apps/frappe/frappe/__init__.py", line 1153, in get_list
return frappe.model.db_query.DatabaseQuery(doctype).execute(None, *args, **kwargs)
File "/opt/bench/erpnext/apps/frappe/frappe/model/db_query.py", line 87, in execute
result = self.build_and_run()
File "/opt/bench/erpnext/apps/frappe/frappe/model/db_query.py", line 99, in build_and_run
args = self.prepare_args()
File "/opt/bench/erpnext/apps/frappe/frappe/model/db_query.py", line 117, in prepare_args
self.set_optional_columns()
File "/opt/bench/erpnext/apps/frappe/frappe/model/db_query.py", line 249, in set_optional_columns
columns = frappe.db.get_table_columns(self.doctype)
File "/opt/bench/erpnext/apps/frappe/frappe/database.py", line 896, in get_table_columns
return self.get_db_table_columns('tab' + doctype)
File "/opt/bench/erpnext/apps/frappe/frappe/database.py", line 892, in get_db_table_columns
return [r[0] for r in self.sql("DESC `%s`" % table)]
File "/opt/bench/erpnext/apps/frappe/frappe/database.py", line 209, in sql
self._cursor.execute(query)
File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/connections.py", line 893, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/connections.py", line 1103, in _read_query_result
result.read()
File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/connections.py", line 1396, in read
first_packet = self.connection._read_packet()
File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/connections.py", line 1059, in _read_packet
packet.check_error()
File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/connections.py", line 384, in check_error
err.raise_mysql_exception(self._data)
File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
ProgrammingError: (1146, u"Table 'jmverp.tabEmail Alert' doesn't exist")
Traceback (most recent call last):
File "/opt/bench/erpnext/apps/frappe/frappe/app.py", line 62, in application
response = frappe.handler.handle()
File "/opt/bench/erpnext/apps/frappe/frappe/handler.py", line 22, in handle
data = execute_cmd(cmd)
File "/opt/bench/erpnext/apps/frappe/frappe/handler.py", line 53, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "/opt/bench/erpnext/apps/frappe/frappe/__init__.py", line 942, in call
return fn(*args, **newargs)
File "/opt/bench/erpnext/apps/frappe/frappe/desk/form/load.py", line 33, in getdoc
run_onload(doc)
File "/opt/bench/erpnext/apps/frappe/frappe/desk/form/load.py", line 201, in run_onload
doc.run_method("onload")
File "/opt/bench/erpnext/apps/frappe/frappe/model/document.py", line 767, in run_method
self.run_notifications(method)
File "/opt/bench/erpnext/apps/frappe/frappe/model/document.py", line 789, in run_email_alerts
filters={'enabled': 1, 'document_type': self.doctype})
File "/opt/bench/erpnext/apps/frappe/frappe/__init__.py", line 1180, in get_all
return get_list(doctype, *args, **kwargs)
File "/opt/bench/erpnext/apps/frappe/frappe/__init__.py", line 1153, in get_list
return frappe.model.db_query.DatabaseQuery(doctype).execute(None, *args, **kwargs)
File "/opt/bench/erpnext/apps/frappe/frappe/model/db_query.py", line 87, in execute
result = self.build_and_run()
File "/opt/bench/erpnext/apps/frappe/frappe/model/db_query.py", line 99, in build_and_run
args = self.prepare_args()
File "/opt/bench/erpnext/apps/frappe/frappe/model/db_query.py", line 117, in prepare_args
self.set_optional_columns()
File "/opt/bench/erpnext/apps/frappe/frappe/model/db_query.py", line 249, in set_optional_columns
columns = frappe.db.get_table_columns(self.doctype)
File "/opt/bench/erpnext/apps/frappe/frappe/database.py", line 896, in get_table_columns
return self.get_db_table_columns('tab' + doctype)
File "/opt/bench/erpnext/apps/frappe/frappe/database.py", line 892, in get_db_table_columns
return [r[0] for r in self.sql("DESC `%s`" % table)]
File "/opt/bench/erpnext/apps/frappe/frappe/database.py", line 209, in sql
self._cursor.execute(query)
File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/cursors.py", line 170, in execute
result = self._query(query)
File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/cursors.py", line 328, in _query
conn.query(q)
File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/connections.py", line 893, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/connections.py", line 1103, in _read_query_result
result.read()
File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/connections.py", line 1396, in read
first_packet = self.connection._read_packet()
File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/connections.py", line 1059, in _read_packet
packet.check_error()
File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/connections.py", line 384, in check_error
err.raise_mysql_exception(self._data)
File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
raise errorclass(errno, errval)
ProgrammingError: (1146, u"Table 'jmverp.tabEmail Alert' doesn't exist")