Try ERPNext Buy Support Partners Foundation

New login error. Not able to login

Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 54, in application
init_request(request)
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 116, in init_request
frappe.local.http_request = frappe.auth.HTTPRequest()
File “/home/frappe/frappe-bench/apps/frappe/frappe/auth.py”, line 53, in init
frappe.local.login_manager = LoginManager()
File “/home/frappe/frappe-bench/apps/frappe/frappe/auth.py”, line 115, in init
self.make_session(resume=True)
File “/home/frappe/frappe-bench/apps/frappe/frappe/auth.py”, line 178, in make_session
full_name=self.full_name, user_type=self.user_type)
File “/home/frappe/frappe-bench/apps/frappe/frappe/sessions.py”, line 219, in init
self.resume()
File “/home/frappe/frappe-bench/apps/frappe/frappe/sessions.py”, line 274, in resume
data = self.get_session_record()
File “/home/frappe/frappe-bench/apps/frappe/frappe/sessions.py”, line 291, in get_session_record
r = self.get_session_data()
File “/home/frappe/frappe-bench/apps/frappe/frappe/sessions.py”, line 307, in get_session_data
data = self.get_session_data_from_db()
File “/home/frappe/frappe-bench/apps/frappe/frappe/sessions.py”, line 339, in get_session_data_from_db
self.delete_session()
File “/home/frappe/frappe-bench/apps/frappe/frappe/sessions.py”, line 351, in delete_session
delete_session(self.sid, reason=“Session Expired”)
File “/home/frappe/frappe-bench/apps/frappe/frappe/sessions.py”, line 106, in delete_session
logout_feed(user, reason)
File “/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/communication/feed.py”, line 64, in logout_feed
add_authentication_log(subject, user, operation=“Logout”)
File “/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/authentication_log/authentication_log.py”, line 22, in add_authentication_log
}).insert(ignore_permissions=True)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 211, in insert
self.run_method(“before_insert”)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 705, in run_method
run_webhooks(self, method)
File “/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/webhook/init.py”, line 21, in run_webhooks
fields=[“name”, “webhook_docevent”, “webhook_doctype”])
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 1173, in get_all
return get_list(doctype, *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 1146, in get_list
return frappe.model.db_query.DatabaseQuery(doctype).execute(None, *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/db_query.py”, line 88, in execute
result = self.build_and_run()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/db_query.py”, line 100, in build_and_run
args = self.prepare_args()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/db_query.py”, line 117, in prepare_args
self.set_optional_columns()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/db_query.py”, line 218, in set_optional_columns
columns = frappe.db.get_table_columns(self.doctype)
File “/home/frappe/frappe-bench/apps/frappe/frappe/database.py”, line 823, in get_table_columns
return self.get_db_table_columns(‘tab’ + doctype)
File “/home/frappe/frappe-bench/apps/frappe/frappe/database.py”, line 819, in get_db_table_columns
return [r[0] for r in self.sql("DESC %s" % table)]
File “/home/frappe/frappe-bench/apps/frappe/frappe/database.py”, line 163, in sql
self._cursor.execute(query)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/cursors.py”, line 250, in execute
self.errorhandler(self, exc, value)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/connections.py”, line 50, in defaulterrorhandler
raise errorvalue
ProgrammingError: (1146, “Table ‘1bd3e0294da19198.tabWebhook’ doesn’t exist”)

It looks like Webhooks master is not sync, try running bench migrate and then login

Thanks, Makarand

it solved the login problem, but the entire desk is empty. Not able to view any of the icons.

Try

bench build

Thanks

this resolved the issue after bench build command.

Thank you very much for the support.