We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Traceback with variables (most recent call last): File "apps/frappe/frappe/desk/page/setup_wizard/setup_wizard.py", line 423, in make_records doc.insert(ignore_permissions=True, ignore_if_duplicate=True) records = [{'doctype': 'Party Type', 'party_type': 'Student', 'account_type': 'Receivable'}, {'doctype': 'Item Group', 'item_group_name': 'Fee Component'}, {'doctype': 'Customer Group', 'customer_group_name': 'Student'}] debug = False _dict = <class 'frappe._dict'> scrub = <function scrub at 0x7fd29da4c280> record = {'doctype': 'Party Type', 'party_type': 'Student', 'account_type': 'Receivable'} doctype = 'Party Type' condition = None doc = <PartyType: unsaved> parent_link_field = 'parent_party_type' savepoint = 'setup_fixtures_creation' e = LinkValidationError('Could not find Party Type: Student') exception = None File "apps/frappe/frappe/model/document.py", line 283, in insert self._validate_links() self = <PartyType: unsaved> ignore_permissions = True ignore_links = None ignore_if_duplicate = True ignore_mandatory = None set_name = None set_child_names = True File "apps/frappe/frappe/model/document.py", line 930, in validate_links frappe.throw(("Could not find {0}").format(msg), frappe.LinkValidationError) self = <PartyType: unsaved> invalid_links = [('party_type', 'Student', 'Party Type: Student')] cancelled_links = [] msg = 'Party Type: Student' File "apps/frappe/frappe/init.py", line 652, in throw msgprint( msg = 'Could not find Party Type: Student' exc = <class 'frappe.exceptions.LinkValidationError'> title = None is_minimizable = False wide = False as_list = False primary_action = None File "apps/frappe/frappe/init.py", line 617, in msgprint _raise_exception() title = None as_table = False as_list = False indicator = 'red' alert = False primary_action = None is_minimizable = False wide = False realtime = False sys = <module 'sys' (built-in)> _raise_exception = <function msgprint.._raise_exception at 0x7fd299d86560> inspect = <module 'inspect' from '/usr/lib/python3.10/inspect.py'> msg = 'Could not find Party Type: Student' out = {'message': 'Could not find Party Type: Student', 'title': 'Message', 'indicator': 'red', 'raise_exception': 1, '__frappe_exc_id': '5af0b50fb385448aa6ec979f409165e9a9edbc0c29f894f1f894c210'} raise_exception = <class 'frappe.exceptions.LinkValidationError'> File "apps/frappe/frappe/init.py", line 568, in _raise_exception raise exc exc = LinkValidationError('Could not find Party Type: Student') inspect = <module 'inspect' from '/usr/lib/python3.10/inspect.py'> msg = 'Could not find Party Type: Student' out = {'message': 'Could not find Party Type: Student', 'title': 'Message', 'indicator': 'red', 'raise_exception': 1, '__frappe_exc_id': '5af0b50fb385448aa6ec979f409165e9a9edbc0c29f894f1f894c210'} raise_exception = <class 'frappe.exceptions.LinkValidationError'> frappe.exceptions.LinkValidationError: Could not find Party Type: Student
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Traceback with variables (most recent call last):
File "apps/frappe/frappe/desk/page/setup_wizard/setup_wizard.py", line 423, in make_records
doc.insert(ignore_permissions=True, ignore_if_duplicate=True)
records = [{'doctype': 'Party Type', 'party_type': 'Student', 'account_type': 'Receivable'}, {'doctype': 'Item Group', 'item_group_name': 'Fee Component'}, {'doctype': 'Customer Group', 'customer_group_name': 'Student'}]
debug = False
_dict = <class 'frappe._dict'>
scrub = <function scrub at 0x7fd29da4c280>
record = {'doctype': 'Party Type', 'party_type': 'Student', 'account_type': 'Receivable'}
doctype = 'Party Type'
condition = None
doc = <PartyType: unsaved>
parent_link_field = 'parent_party_type'
savepoint = 'setup_fixtures_creation'
e = LinkValidationError('Could not find Party Type: Student')
exception = None
File "apps/frappe/frappe/model/document.py", line 283, in insert
self._validate_links()
self = <PartyType: unsaved>
ignore_permissions = True
ignore_links = None
ignore_if_duplicate = True
ignore_mandatory = None
set_name = None
set_child_names = True
File "apps/frappe/frappe/model/document.py", line 930, in validate_links
frappe.throw(("Could not find {0}").format(msg), frappe.LinkValidationError)
self = <PartyType: unsaved>
invalid_links = [('party_type', 'Student', 'Party Type: Student')]
cancelled_links = []
msg = 'Party Type: Student'
File "apps/frappe/frappe/init.py", line 652, in throw
msgprint(
msg = 'Could not find Party Type: Student'
exc = <class 'frappe.exceptions.LinkValidationError'>
title = None
is_minimizable = False
wide = False
as_list = False
primary_action = None
File "apps/frappe/frappe/init.py", line 617, in msgprint
_raise_exception()
title = None
as_table = False
as_list = False
indicator = 'red'
alert = False
primary_action = None
is_minimizable = False
wide = False
realtime = False
sys = <module 'sys' (built-in)>
_raise_exception = <function msgprint.._raise_exception at 0x7fd299d86560>
inspect = <module 'inspect' from '/usr/lib/python3.10/inspect.py'>
msg = 'Could not find Party Type: Student'
out = {'message': 'Could not find Party Type: Student', 'title': 'Message', 'indicator': 'red', 'raise_exception': 1, '__frappe_exc_id': '5af0b50fb385448aa6ec979f409165e9a9edbc0c29f894f1f894c210'}
raise_exception = <class 'frappe.exceptions.LinkValidationError'>
File "apps/frappe/frappe/init.py", line 568, in _raise_exception
raise exc
exc = LinkValidationError('Could not find Party Type: Student')
inspect = <module 'inspect' from '/usr/lib/python3.10/inspect.py'>
msg = 'Could not find Party Type: Student'
out = {'message': 'Could not find Party Type: Student', 'title': 'Message', 'indicator': 'red', 'raise_exception': 1, '__frappe_exc_id': '5af0b50fb385448aa6ec979f409165e9a9edbc0c29f894f1f894c210'}
raise_exception = <class 'frappe.exceptions.LinkValidationError'>
frappe.exceptions.LinkValidationError: Could not find Party Type: Student
The text was updated successfully, but these errors were encountered: