I am getting following error while visiting site.
Server Error
Traceback (most recent call last):
File “apps/frappe/frappe/app.py”, line 83, in application
init_request(request)
File “apps/frappe/frappe/app.py”, line 171, in init_request
frappe.local.http_request = frappe.auth.HTTPRequest()
File “apps/frappe/frappe/auth.py”, line 34, in init
self.set_session()
File “apps/frappe/frappe/auth.py”, line 70, in set_session
frappe.local.login_manager = LoginManager()
File “apps/frappe/frappe/auth.py”, line 119, in init
self.make_session(resume=True)
File “apps/frappe/frappe/auth.py”, line 207, in make_session
frappe.local.session_obj = Session(
File “apps/frappe/frappe/sessions.py”, line 238, in init
self.resume()
File “apps/frappe/frappe/sessions.py”, line 305, in resume
data = self.get_session_record()
File “apps/frappe/frappe/sessions.py”, line 323, in get_session_record
r = self.get_session_data()
File “apps/frappe/frappe/sessions.py”, line 339, in get_session_data
data = self.get_session_data_from_db()
File “apps/frappe/frappe/sessions.py”, line 364, in get_session_data_from_db
frappe.db.get_value(
File “apps/frappe/frappe/database/database.py”, line 509, in get_value
result = self.get_values(
File “apps/frappe/frappe/database/database.py”, line 606, in get_values
out = self._get_values_from_table(
File “apps/frappe/frappe/database/database.py”, line 836, in _get_values_from_table
return query.run(as_dict=as_dict, debug=debug, update=update, run=run, pluck=pluck)
File “apps/frappe/frappe/query_builder/utils.py”, line 76, in execute_query
return frappe.db.sql(query, params, *args, **kwargs) # nosemgrep
File “apps/frappe/frappe/database/database.py”, line 220, in sql
self._cursor.execute(query, values)
File “env/lib/python3.10/site-packages/pymysql/cursors.py”, line 158, in execute
result = self._query(query)
File “env/lib/python3.10/site-packages/pymysql/cursors.py”, line 325, in _query
conn.query(q)
File “env/lib/python3.10/site-packages/pymysql/connections.py”, line 549, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File “env/lib/python3.10/site-packages/pymysql/connections.py”, line 779, in _read_query_result
result.read()
File “env/lib/python3.10/site-packages/pymysql/connections.py”, line 1157, in read
first_packet = self.connection._read_packet()
File “env/lib/python3.10/site-packages/pymysql/connections.py”, line 729, in _read_packet
packet.raise_for_error()
File “env/lib/python3.10/site-packages/pymysql/protocol.py”, line 221, in raise_for_error
err.raise_mysql_exception(self._data)
File “env/lib/python3.10/site-packages/pymysql/err.py”, line 143, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.OperationalError: (1054, “Unknown column ‘device’ in ‘field list’”)
all was running good before installation of “posawsome”
I tried to reinstall posawesome.