You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IT Management Settings - Turn off auto fetching Timesheets ... FileNotFoundError: [Errno 2] No such file or directory: '/home/marius/frappe-bench/apps/erpnext/erpnext/accounts/doctype/sales_invoice/sales_invoice.js'
#241
Open
hreisenb opened this issue
Jun 13, 2022
· 0 comments
Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 69, in application
response = frappe.api.handle()
File "apps/frappe/frappe/api.py", line 55, in handle
return frappe.handler.handle()
File "apps/frappe/frappe/handler.py", line 38, in handle
data = execute_cmd(cmd)
File "apps/frappe/frappe/handler.py", line 76, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "apps/frappe/frappe/__init__.py", line 1448, in call
return fn(*args, **newargs)
File "apps/it_management/it_management/utils.py", line 269, in for_every_customer_create_default_landscape
cs = frappe.db.get_all('Customer',filters={}, fields=['name','customer_name','it_landscape'],page_length=10000,as_list=False)
File "apps/frappe/frappe/database/database.py", line 633, in get_all
return frappe.get_all(*args, **kwargs)
File "apps/frappe/frappe/__init__.py", line 1732, in get_all
return get_list(doctype, *args, **kwargs)
File "apps/frappe/frappe/__init__.py", line 1704, in get_list
return frappe.model.db_query.DatabaseQuery(doctype).execute(*args, **kwargs)
File "apps/frappe/frappe/model/db_query.py", line 159, in execute
result = self.build_and_run()
File "apps/frappe/frappe/model/db_query.py", line 199, in build_and_run
return frappe.db.sql(
File "apps/frappe/frappe/database/database.py", line 180, in sql
self._cursor.execute(query)
File "env/lib/python3.9/site-packages/pymysql/cursors.py", line 148, in execute
result = self._query(query)
File "env/lib/python3.9/site-packages/pymysql/cursors.py", line 310, in _query
conn.query(q)
File "env/lib/python3.9/site-packages/pymysql/connections.py", line 548, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File "env/lib/python3.9/site-packages/pymysql/connections.py", line 775, in _read_query_result
result.read()
File "env/lib/python3.9/site-packages/pymysql/connections.py", line 1156, in read
first_packet = self.connection._read_packet()
File "env/lib/python3.9/site-packages/pymysql/connections.py", line 725, in _read_packet
packet.raise_for_error()
File "env/lib/python3.9/site-packages/pymysql/protocol.py", line 221, in raise_for_error
err.raise_mysql_exception(self._data)
File "env/lib/python3.9/site-packages/pymysql/err.py", line 143, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.OperationalError: (1054, "Unknown column 'it_landscape' in 'field list'")
App Versions
Route
Trackeback
Request Data
Response Data
The text was updated successfully, but these errors were encountered: