-
Notifications
You must be signed in to change notification settings - Fork 162
Description
Information about bug
Traceback (most recent call last):
21:09:07 web.1 | File "apps/frappe/frappe/app.py", line 115, in application
21:09:07 web.1 | response = frappe.api.handle(request)
21:09:07 web.1 | File "apps/frappe/frappe/api/init.py", line 49, in handle
21:09:07 web.1 | data = endpoint(**arguments)
21:09:07 web.1 | File "apps/frappe/frappe/api/v1.py", line 36, in handle_rpc_call
21:09:07 web.1 | return frappe.handler.handle()
21:09:07 web.1 | File "apps/frappe/frappe/handler.py", line 51, in handle
21:09:07 web.1 | data = execute_cmd(cmd)
21:09:07 web.1 | File "apps/frappe/frappe/handler.py", line 84, in execute_cmd
21:09:07 web.1 | return frappe.call(method, **frappe.form_dict)
21:09:07 web.1 | File "apps/frappe/frappe/init.py", line 1754, in call
21:09:07 web.1 | return fn(*args, **newargs)
21:09:07 web.1 | File "apps/frappe/frappe/utils/typing_validations.py", line 31, in wrapper
21:09:07 web.1 | return func(*args, **kwargs)
21:09:07 web.1 | File "apps/frappe/frappe/model/workflow.py", line 140, in apply_workflow
21:09:07 web.1 | doc.submit()
21:09:07 web.1 | File "apps/frappe/frappe/utils/typing_validations.py", line 31, in wrapper
21:09:07 web.1 | return func(*args, **kwargs)
21:09:07 web.1 | File "apps/frappe/frappe/model/document.py", line 1093, in submit
21:09:07 web.1 | return self._submit()
21:09:07 web.1 | File "apps/frappe/frappe/model/document.py", line 1076, in _submit
21:09:07 web.1 | return self.save()
21:09:07 web.1 | File "apps/frappe/frappe/model/document.py", line 378, in save
21:09:07 web.1 | return self._save(*args, **kwargs)
21:09:07 web.1 | File "apps/frappe/frappe/model/document.py", line 431, in _save
21:09:07 web.1 | self.run_post_save_methods()
21:09:07 web.1 | File "apps/frappe/frappe/model/document.py", line 1176, in run_post_save_methods
21:09:07 web.1 | self.run_method("on_submit")
21:09:07 web.1 | File "apps/frappe/frappe/model/document.py", line 1007, in run_method
21:09:07 web.1 | out = Document.hook(fn)(self, *args, **kwargs)
21:09:07 web.1 | File "apps/frappe/frappe/model/document.py", line 1367, in composer
21:09:07 web.1 | return composed(self, method, *args, **kwargs)
21:09:07 web.1 | File "apps/frappe/frappe/model/document.py", line 1349, in runner
21:09:07 web.1 | add_to_return_value(self, fn(self, *args, **kwargs))
21:09:07 web.1 | File "apps/frappe/frappe/model/document.py", line 1004, in fn
21:09:07 web.1 | return method_object(*args, **kwargs)
21:09:07 web.1 | File "apps/lending/lending/loan_management/doctype/loan_repayment/loan_repayment.py", line 54, in on_submit
21:09:07 web.1 | self.make_credit_note()
21:09:07 web.1 | File "apps/lending/lending/loan_management/doctype/loan_repayment/loan_repayment.py", line 79, in make_credit_note
21:09:07 web.1 | item_details = frappe.db.get_value(
21:09:07 web.1 | File "apps/frappe/frappe/database/database.py", line 515, in get_value
21:09:07 web.1 | result = self.get_values(
21:09:07 web.1 | File "apps/frappe/frappe/database/database.py", line 619, in get_values
21:09:07 web.1 | out = self._get_values_from_table(
21:09:07 web.1 | File "apps/frappe/frappe/database/database.py", line 892, in _get_values_from_table
21:09:07 web.1 | return query.run(as_dict=as_dict, debug=debug, update=update, run=run, pluck=pluck)
21:09:07 web.1 | File "apps/frappe/frappe/query_builder/utils.py", line 87, in execute_query
21:09:07 web.1 | result = frappe.db.sql(query, params, *args, **kwargs) # nosemgrep
21:09:07 web.1 | File "apps/frappe/frappe/database/database.py", line 230, in sql
21:09:07 web.1 | self._cursor.execute(query, values)
21:09:07 web.1 | File "env/lib/python3.10/site-packages/pymysql/cursors.py", line 153, in execute
21:09:07 web.1 | result = self._query(query)
21:09:07 web.1 | File "env/lib/python3.10/site-packages/pymysql/cursors.py", line 322, in _query
21:09:07 web.1 | conn.query(q)
21:09:07 web.1 | File "env/lib/python3.10/site-packages/pymysql/connections.py", line 563, in query
21:09:07 web.1 | self._affected_rows = self._read_query_result(unbuffered=unbuffered)
21:09:07 web.1 | File "env/lib/python3.10/site-packages/pymysql/connections.py", line 825, in _read_query_result
21:09:07 web.1 | result.read()
21:09:07 web.1 | File "env/lib/python3.10/site-packages/pymysql/connections.py", line 1199, in read
21:09:07 web.1 | first_packet = self.connection._read_packet()
21:09:07 web.1 | File "env/lib/python3.10/site-packages/pymysql/connections.py", line 775, in _read_packet
21:09:07 web.1 | packet.raise_for_error()
21:09:07 web.1 | File "env/lib/python3.10/site-packages/pymysql/protocol.py", line 219, in raise_for_error
21:09:07 web.1 | err.raise_mysql_exception(self._data)
21:09:07 web.1 | File "env/lib/python3.10/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
21:09:07 web.1 | raise errorclass(errno, errval)
21:09:07 web.1 | pymysql.err.OperationalError: (1054, "Unknown column 'charges_waiver_item' in 'SELECT'")
Module
Loan Management
Version
frappe 15 erpnext 15 lending 15
Installation method
manual install
Relevant log output / Stack trace / Full Error Message.
Code of Conduct
- I agree to follow this project's Code of Conduct