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
Hello. When I tried bench update --reset I have an error:
bench update --reset
frappe.exceptions.LinkValidationError: Could not find Parent Item Group: All Item Groups
Executing education.patches.v15_0.create_fee_component_item_group in site1.local (_1bd3e0294da19198) Queued rebuilding of search index for site1.local Traceback with variables (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, mod_name = 'frappe.utils.bench_helper' alter_argv = True mod_spec = ModuleSpec(name='frappe.utils.bench_helper', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f4e9166e860>, origin='/home/erpuser/frappe-bench/apps/frappe/frappe/utils/bench_helper.py') code = <code object at 0x7f4e8ff0c7c0, file "/home/erpuser/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 1> main_globals = {'name': 'main', 'doc': None, 'package': 'frappe.utils', 'loader': <_frozen_importlib_external.SourceFileLoader object at 0x7f4e9166e860>, 'spec': ModuleSpec(name='frappe.utils.bench_helper', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f4e9166e860>, origin='/home/erpuser/frappe-bench/apps/frappe/frappe/utils/bench_helper.py'), 'annotations': {}, 'builtins': <module 'builtins' (built-in)>, 'file': '/home/erpuser/frappe-bench/apps/frappe/frappe/utils/bench_helper.py', 'cached': '/home/erpuser/frappe-bench/apps/frappe/frappe/utils/pycache/bench_helper.cpython-310.pyc', 'importlib': <module 'importlib' from '/usr/lib/python3.10/importlib/init.py'>, 'json': <module 'json' from '/usr/lib/python3.10/json/init.py'>, 'os': <module 'os' from '/usr/lib/python3.10/os.py'>, 'traceback': <module 'traceback' from '/usr/lib/python3.10/traceback.py'>, 'warnings': <module 'warnings' from '/usr/lib/python3.10/warnings.py'>, 'click':... File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) code = <code object at 0x7f4e8ff0c7c0, file "/home/erpuser/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 1> run_globals = {'name': 'main', 'doc': None, 'package': 'frappe.utils', 'loader': <_frozen_importlib_external.SourceFileLoader object at 0x7f4e9166e860>, 'spec': ModuleSpec(name='frappe.utils.bench_helper', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f4e9166e860>, origin='/home/erpuser/frappe-bench/apps/frappe/frappe/utils/bench_helper.py'), 'annotations': {}, 'builtins': <module 'builtins' (built-in)>, 'file': '/home/erpuser/frappe-bench/apps/frappe/frappe/utils/bench_helper.py', 'cached': '/home/erpuser/frappe-bench/apps/frappe/frappe/utils/pycache/bench_helper.cpython-310.pyc', 'importlib': <module 'importlib' from '/usr/lib/python3.10/importlib/init.py'>, 'json': <module 'json' from '/usr/lib/python3.10/json/init.py'>, 'os': <module 'os' from '/usr/lib/python3.10/os.py'>, 'traceback': <module 'traceback' from '/usr/lib/python3.10/traceback.py'>, 'warnings': <module 'warnings' from '/usr/lib/python3.10/warnings.py'>, 'click':... init_globals = None mod_name = 'main' mod_spec = ModuleSpec(name='frappe.utils.bench_helper', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f4e9166e860>, origin='/home/erpuser/frappe-bench/apps/frappe/frappe/utils/bench_helper.py') pkg_name = 'frappe.utils' script_name = None loader = <_frozen_importlib_external.SourceFileLoader object at 0x7f4e9166e860> fname = '/home/erpuser/frappe-bench/apps/frappe/frappe/utils/bench_helper.py' cached = '/home/erpuser/frappe-bench/apps/frappe/frappe/utils/pycache/bench_helper.cpython-310.pyc' File "/home/erpuser/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 109, in main() ...skipped... 25 vars File "/home/erpuser/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 18, in main click.Group(commands=commands)(prog_name="bench") commands = {'frappe': , 'get-frappe-commands': , 'get-frappe-help': } File "/home/erpuser/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 829, in call return self.main(*args, **kwargs) self = args = () kwargs = {'prog_name': 'bench'} File "/home/erpuser/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) self = args = ['frappe', '--site', 'site1.local', 'migrate'] prog_name = 'bench' complete_var = None standalone_mode = True extra = {} ctx = <click.core.Context object at 0x7f4e90a6abc0> File "/home/erpuser/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) _process_result = <function MultiCommand.invoke.._process_result at 0x7f4e8ff016c0> args = ['migrate'] cmd_name = 'frappe' cmd = sub_ctx = <click.core.Context object at 0x7f4e8fed4970> ctx = <click.core.Context object at 0x7f4e90a6abc0> self = File "/home/erpuser/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) _process_result = <function MultiCommand.invoke.._process_result at 0x7f4e8fec0d30> args = [] cmd_name = 'migrate' cmd = sub_ctx = <click.core.Context object at 0x7f4e8fed6c50> ctx = <click.core.Context object at 0x7f4e8fed4970> self = File "/home/erpuser/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) self = ctx = <click.core.Context object at 0x7f4e8fed6c50> File "/home/erpuser/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) args = () kwargs = {'skip_failing': False, 'skip_search_index': False} self = <click.core.Context object at 0x7f4e8fed6c50> callback = <function migrate at 0x7f4e8ff711b0> ctx = <click.core.Context object at 0x7f4e8fed6c50> File "/home/erpuser/frappe-bench/env/lib/python3.10/site-packages/click/decorators.py", line 21, in new_func return f(get_current_context(), *args, **kwargs) args = () kwargs = {'skip_failing': False, 'skip_search_index': False} f = <function migrate at 0x7f4e8ff70f70> File "/home/erpuser/frappe-bench/apps/frappe/frappe/commands/init.py", line 29, in _func ret = f(frappe._dict(ctx.obj), *args, **kwargs) ctx = <click.core.Context object at 0x7f4e8fed6c50> args = () kwargs = {'skip_failing': False, 'skip_search_index': False} profile = False f = <function migrate at 0x7f4e8ff70ee0> File "/home/erpuser/frappe-bench/apps/frappe/frappe/commands/site.py", line 671, in migrate SiteMigration( context = {'sites': ['site1.local'], 'force': False, 'verbose': False, 'profile': False} skip_failing = False skip_search_index = False activate_by_import = <module 'traceback_with_variables.activate_by_import' from '/home/erpuser/frappe-bench/env/lib/python3.10/site-packages/traceback_with_variables/activate_by_import.py'> SiteMigration = <class 'frappe.migrate.SiteMigration'> site = 'site1.local' File "/home/erpuser/frappe-bench/apps/frappe/frappe/migrate.py", line 182, in run self.run_schema_updates() self = <frappe.migrate.SiteMigration object at 0x7f4e8fed5750> site = 'site1.local' File "/home/erpuser/frappe-bench/apps/frappe/frappe/migrate.py", line 52, in wrapper raise e args = (<frappe.migrate.SiteMigration object at 0x7f4e8fed5750>,) kwargs = {} method = <function SiteMigration.run_schema_updates at 0x7f4e8dc95d80> File "/home/erpuser/frappe-bench/apps/frappe/frappe/migrate.py", line 44, in wrapper ret = method(*args, **kwargs) args = (<frappe.migrate.SiteMigration object at 0x7f4e8fed5750>,) kwargs = {} method = <function SiteMigration.run_schema_updates at 0x7f4e8dc95d80> File "/home/erpuser/frappe-bench/apps/frappe/frappe/migrate.py", line 121, in run_schema_updates frappe.modules.patch_handler.run_all( self = <frappe.migrate.SiteMigration object at 0x7f4e8fed5750> File "/home/erpuser/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 76, in run_all run_patch(patch) patch_type = <PatchType.post_model_sync: 'post_model_sync'> executed = {'erpnext.patches.v13_0.set_status_in_maintenance_schedule_table', 'frappe.email.doctype.email_queue.patches.drop_search_index_on_message_id', 'erpnext.patches.v11_1.setup_guardian_role', 'erpnext.patches.v11_0.remove_modules_setup_page', 'execute:frappe.db.sql("update tabUser set new_password='' where ifnull(new_password, '')!=''")', 'erpnext.patches.v11_0.add_index_on_nestedset_doctypes', 'frappe.patches.v12_0.fix_public_private_files', 'erpnext.patches.v11_1.set_missing_opportunity_from', 'frappe.patches.v11_0.create_contact_for_user', 'erpnext.patches.v13_0.update_actual_start_and_end_date_in_wo', 'erpnext.patches.v14_0.add_default_for_repost_settings', 'erpnext.patches.v13_0.change_default_pos_print_format', 'frappe.patches.v13_0.rename_onboarding', 'erpnext.patches.v11_0.update_backflush_subcontract_rm_based_on_bom', 'execute:frappe.delete_doc_if_exists("Workspace", "Customization")', "execute:frappe.reload_doctype('user')", 'erpnext.patches.v13_0.rename_issue_status_hold_t... run_patch = <function run_all..run_patch at 0x7f4e8ccb36d0> patches = ["execute:frappe.get_doc('Role', 'Guest').save() # remove desk access", 'frappe.core.doctype.role.patches.v13_set_default_desk_properties', 'frappe.patches.v14_0.update_workspace2 # 06.06.2023', 'frappe.patches.v14_0.drop_data_import_legacy', 'frappe.patches.v14_0.copy_mail_data #8.03.21', 'frappe.patches.v14_0.update_github_endpoints #8-11-2021', 'frappe.patches.v14_0.remove_db_aggregation', 'frappe.patches.v14_0.update_color_names_in_kanban_board_column', 'frappe.patches.v14_0.update_is_system_generated_flag', 'frappe.patches.v14_0.update_auto_account_deletion_duration', 'frappe.patches.v14_0.update_integration_request', 'frappe.patches.v14_0.set_document_expiry_default', 'frappe.patches.v14_0.delete_data_migration_tool', 'frappe.patches.v14_0.set_suspend_email_queue_default', 'frappe.patches.v14_0.different_encryption_key', 'frappe.patches.v14_0.update_multistep_webforms', 'frappe.patches.v14_0.drop_unused_indexes', 'frappe.patches.v14_0.disable_email_accounts_with_oauth', 'frappe... patch = 'education.patches.v15_0.create_fee_component_item_group' skip_failing = False File "/home/erpuser/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 62, in run_patch if not run_single(patchmodule=patch): patch = 'education.patches.v15_0.create_fee_component_item_group' skip_failing = False File "/home/erpuser/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 150, in run_single return execute_patch(patchmodule, method, methodargs) patchmodule = 'education.patches.v15_0.create_fee_component_item_group' method = None methodargs = None force = False conf = File "/home/erpuser/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 186, in execute_patch _patch() patchmodule = 'education.patches.v15_0.create_fee_component_item_group' method = None methodargs = None has_patch_file = True patch = 'education.patches.v15_0.create_fee_component_item_group.execute' docstring = '' _patch = <function execute at 0x7f4e8cb4bb50> start_time = 1736081609.4623818 File "/home/erpuser/frappe-bench/apps/education/education/patches/v15_0/create_fee_component_item_group.py", line 13, in execute ).insert() File "/home/erpuser/frappe-bench/apps/frappe/frappe/model/document.py", line 257, in insert self._validate_links() self = <ItemGroup: unsaved> ignore_permissions = None ignore_links = None ignore_if_duplicate = False ignore_mandatory = None set_name = None set_child_names = True File "/home/erpuser/frappe-bench/apps/frappe/frappe/model/document.py", line 899, in validate_links frappe.throw(("Could not find {0}").format(msg), frappe.LinkValidationError) self = <ItemGroup: unsaved> invalid_links = [('parent_item_group', 'All Item Groups', 'Parent Item Group: All Item Groups')] cancelled_links = [] msg = 'Parent Item Group: All Item Groups' File "/home/erpuser/frappe-bench/apps/frappe/frappe/init.py", line 548, in throw msgprint( msg = 'Could not find Parent Item Group: All Item Groups' exc = <class 'frappe.exceptions.LinkValidationError'> title = None is_minimizable = False wide = False as_list = False primary_action = None File "/home/erpuser/frappe-bench/apps/frappe/frappe/init.py", line 509, 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)> out = {'message': 'Could not find Parent Item Group: All Item Groups', 'title': 'Message', 'indicator': 'red', 'raise_exception': 1} _raise_exception = <function msgprint.._raise_exception at 0x7f4e8cec1120> msg = 'Could not find Parent Item Group: All Item Groups' raise_exception = <class 'frappe.exceptions.LinkValidationError'> ...skipped... 1 vars File "/home/erpuser/frappe-bench/apps/frappe/frappe/init.py", line 455, in _raise_exception raise raise_exception(msg) msg = 'Could not find Parent Item Group: All Item Groups' raise_exception = <class 'frappe.exceptions.LinkValidationError'> ...skipped... 1 vars frappe.exceptions.LinkValidationError: Could not find Parent Item Group: All Item Groups INFO: A newer version of bench is available: 5.14.4 → 5.23.0
Executing education.patches.v15_0.create_fee_component_item_group in site1.local (_1bd3e0294da19198) Queued rebuilding of search index for site1.local
Traceback with variables (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, mod_name = 'frappe.utils.bench_helper' alter_argv = True mod_spec = ModuleSpec(name='frappe.utils.bench_helper', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f4e9166e860>, origin='/home/erpuser/frappe-bench/apps/frappe/frappe/utils/bench_helper.py') code = <code object at 0x7f4e8ff0c7c0, file "/home/erpuser/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 1> main_globals = {'name': 'main', 'doc': None, 'package': 'frappe.utils', 'loader': <_frozen_importlib_external.SourceFileLoader object at 0x7f4e9166e860>, 'spec': ModuleSpec(name='frappe.utils.bench_helper', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f4e9166e860>, origin='/home/erpuser/frappe-bench/apps/frappe/frappe/utils/bench_helper.py'), 'annotations': {}, 'builtins': <module 'builtins' (built-in)>, 'file': '/home/erpuser/frappe-bench/apps/frappe/frappe/utils/bench_helper.py', 'cached': '/home/erpuser/frappe-bench/apps/frappe/frappe/utils/pycache/bench_helper.cpython-310.pyc', 'importlib': <module 'importlib' from '/usr/lib/python3.10/importlib/init.py'>, 'json': <module 'json' from '/usr/lib/python3.10/json/init.py'>, 'os': <module 'os' from '/usr/lib/python3.10/os.py'>, 'traceback': <module 'traceback' from '/usr/lib/python3.10/traceback.py'>, 'warnings': <module 'warnings' from '/usr/lib/python3.10/warnings.py'>, 'click':... File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) code = <code object at 0x7f4e8ff0c7c0, file "/home/erpuser/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 1> run_globals = {'name': 'main', 'doc': None, 'package': 'frappe.utils', 'loader': <_frozen_importlib_external.SourceFileLoader object at 0x7f4e9166e860>, 'spec': ModuleSpec(name='frappe.utils.bench_helper', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f4e9166e860>, origin='/home/erpuser/frappe-bench/apps/frappe/frappe/utils/bench_helper.py'), 'annotations': {}, 'builtins': <module 'builtins' (built-in)>, 'file': '/home/erpuser/frappe-bench/apps/frappe/frappe/utils/bench_helper.py', 'cached': '/home/erpuser/frappe-bench/apps/frappe/frappe/utils/pycache/bench_helper.cpython-310.pyc', 'importlib': <module 'importlib' from '/usr/lib/python3.10/importlib/init.py'>, 'json': <module 'json' from '/usr/lib/python3.10/json/init.py'>, 'os': <module 'os' from '/usr/lib/python3.10/os.py'>, 'traceback': <module 'traceback' from '/usr/lib/python3.10/traceback.py'>, 'warnings': <module 'warnings' from '/usr/lib/python3.10/warnings.py'>, 'click':... init_globals = None mod_name = 'main' mod_spec = ModuleSpec(name='frappe.utils.bench_helper', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f4e9166e860>, origin='/home/erpuser/frappe-bench/apps/frappe/frappe/utils/bench_helper.py') pkg_name = 'frappe.utils' script_name = None loader = <_frozen_importlib_external.SourceFileLoader object at 0x7f4e9166e860> fname = '/home/erpuser/frappe-bench/apps/frappe/frappe/utils/bench_helper.py' cached = '/home/erpuser/frappe-bench/apps/frappe/frappe/utils/pycache/bench_helper.cpython-310.pyc' File "/home/erpuser/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 109, in main() ...skipped... 25 vars File "/home/erpuser/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 18, in main click.Group(commands=commands)(prog_name="bench") commands = {'frappe': , 'get-frappe-commands': , 'get-frappe-help': } File "/home/erpuser/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 829, in call return self.main(*args, **kwargs) self = args = () kwargs = {'prog_name': 'bench'} File "/home/erpuser/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) self = args = ['frappe', '--site', 'site1.local', 'migrate'] prog_name = 'bench' complete_var = None standalone_mode = True extra = {} ctx = <click.core.Context object at 0x7f4e90a6abc0> File "/home/erpuser/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) _process_result = <function MultiCommand.invoke.._process_result at 0x7f4e8ff016c0> args = ['migrate'] cmd_name = 'frappe' cmd = sub_ctx = <click.core.Context object at 0x7f4e8fed4970> ctx = <click.core.Context object at 0x7f4e90a6abc0> self = File "/home/erpuser/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) _process_result = <function MultiCommand.invoke.._process_result at 0x7f4e8fec0d30> args = [] cmd_name = 'migrate' cmd = sub_ctx = <click.core.Context object at 0x7f4e8fed6c50> ctx = <click.core.Context object at 0x7f4e8fed4970> self = File "/home/erpuser/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) self = ctx = <click.core.Context object at 0x7f4e8fed6c50> File "/home/erpuser/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) args = () kwargs = {'skip_failing': False, 'skip_search_index': False} self = <click.core.Context object at 0x7f4e8fed6c50> callback = <function migrate at 0x7f4e8ff711b0> ctx = <click.core.Context object at 0x7f4e8fed6c50> File "/home/erpuser/frappe-bench/env/lib/python3.10/site-packages/click/decorators.py", line 21, in new_func return f(get_current_context(), *args, **kwargs) args = () kwargs = {'skip_failing': False, 'skip_search_index': False} f = <function migrate at 0x7f4e8ff70f70> File "/home/erpuser/frappe-bench/apps/frappe/frappe/commands/init.py", line 29, in _func ret = f(frappe._dict(ctx.obj), *args, **kwargs) ctx = <click.core.Context object at 0x7f4e8fed6c50> args = () kwargs = {'skip_failing': False, 'skip_search_index': False} profile = False f = <function migrate at 0x7f4e8ff70ee0> File "/home/erpuser/frappe-bench/apps/frappe/frappe/commands/site.py", line 671, in migrate SiteMigration( context = {'sites': ['site1.local'], 'force': False, 'verbose': False, 'profile': False} skip_failing = False skip_search_index = False activate_by_import = <module 'traceback_with_variables.activate_by_import' from '/home/erpuser/frappe-bench/env/lib/python3.10/site-packages/traceback_with_variables/activate_by_import.py'> SiteMigration = <class 'frappe.migrate.SiteMigration'> site = 'site1.local' File "/home/erpuser/frappe-bench/apps/frappe/frappe/migrate.py", line 182, in run self.run_schema_updates() self = <frappe.migrate.SiteMigration object at 0x7f4e8fed5750> site = 'site1.local' File "/home/erpuser/frappe-bench/apps/frappe/frappe/migrate.py", line 52, in wrapper raise e args = (<frappe.migrate.SiteMigration object at 0x7f4e8fed5750>,) kwargs = {} method = <function SiteMigration.run_schema_updates at 0x7f4e8dc95d80> File "/home/erpuser/frappe-bench/apps/frappe/frappe/migrate.py", line 44, in wrapper ret = method(*args, **kwargs) args = (<frappe.migrate.SiteMigration object at 0x7f4e8fed5750>,) kwargs = {} method = <function SiteMigration.run_schema_updates at 0x7f4e8dc95d80> File "/home/erpuser/frappe-bench/apps/frappe/frappe/migrate.py", line 121, in run_schema_updates frappe.modules.patch_handler.run_all( self = <frappe.migrate.SiteMigration object at 0x7f4e8fed5750> File "/home/erpuser/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 76, in run_all run_patch(patch) patch_type = <PatchType.post_model_sync: 'post_model_sync'> executed = {'erpnext.patches.v13_0.set_status_in_maintenance_schedule_table', 'frappe.email.doctype.email_queue.patches.drop_search_index_on_message_id', 'erpnext.patches.v11_1.setup_guardian_role', 'erpnext.patches.v11_0.remove_modules_setup_page', 'execute:frappe.db.sql("update tabUser set new_password='' where ifnull(new_password, '')!=''")', 'erpnext.patches.v11_0.add_index_on_nestedset_doctypes', 'frappe.patches.v12_0.fix_public_private_files', 'erpnext.patches.v11_1.set_missing_opportunity_from', 'frappe.patches.v11_0.create_contact_for_user', 'erpnext.patches.v13_0.update_actual_start_and_end_date_in_wo', 'erpnext.patches.v14_0.add_default_for_repost_settings', 'erpnext.patches.v13_0.change_default_pos_print_format', 'frappe.patches.v13_0.rename_onboarding', 'erpnext.patches.v11_0.update_backflush_subcontract_rm_based_on_bom', 'execute:frappe.delete_doc_if_exists("Workspace", "Customization")', "execute:frappe.reload_doctype('user')", 'erpnext.patches.v13_0.rename_issue_status_hold_t... run_patch = <function run_all..run_patch at 0x7f4e8ccb36d0> patches = ["execute:frappe.get_doc('Role', 'Guest').save() # remove desk access", 'frappe.core.doctype.role.patches.v13_set_default_desk_properties', 'frappe.patches.v14_0.update_workspace2 # 06.06.2023', 'frappe.patches.v14_0.drop_data_import_legacy', 'frappe.patches.v14_0.copy_mail_data #8.03.21', 'frappe.patches.v14_0.update_github_endpoints #8-11-2021', 'frappe.patches.v14_0.remove_db_aggregation', 'frappe.patches.v14_0.update_color_names_in_kanban_board_column', 'frappe.patches.v14_0.update_is_system_generated_flag', 'frappe.patches.v14_0.update_auto_account_deletion_duration', 'frappe.patches.v14_0.update_integration_request', 'frappe.patches.v14_0.set_document_expiry_default', 'frappe.patches.v14_0.delete_data_migration_tool', 'frappe.patches.v14_0.set_suspend_email_queue_default', 'frappe.patches.v14_0.different_encryption_key', 'frappe.patches.v14_0.update_multistep_webforms', 'frappe.patches.v14_0.drop_unused_indexes', 'frappe.patches.v14_0.disable_email_accounts_with_oauth', 'frappe... patch = 'education.patches.v15_0.create_fee_component_item_group' skip_failing = False File "/home/erpuser/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 62, in run_patch if not run_single(patchmodule=patch): patch = 'education.patches.v15_0.create_fee_component_item_group' skip_failing = False File "/home/erpuser/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 150, in run_single return execute_patch(patchmodule, method, methodargs) patchmodule = 'education.patches.v15_0.create_fee_component_item_group' method = None methodargs = None force = False conf = File "/home/erpuser/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 186, in execute_patch _patch() patchmodule = 'education.patches.v15_0.create_fee_component_item_group' method = None methodargs = None has_patch_file = True patch = 'education.patches.v15_0.create_fee_component_item_group.execute' docstring = '' _patch = <function execute at 0x7f4e8cb4bb50> start_time = 1736081609.4623818 File "/home/erpuser/frappe-bench/apps/education/education/patches/v15_0/create_fee_component_item_group.py", line 13, in execute ).insert() File "/home/erpuser/frappe-bench/apps/frappe/frappe/model/document.py", line 257, in insert self._validate_links() self = <ItemGroup: unsaved> ignore_permissions = None ignore_links = None ignore_if_duplicate = False ignore_mandatory = None set_name = None set_child_names = True File "/home/erpuser/frappe-bench/apps/frappe/frappe/model/document.py", line 899, in validate_links frappe.throw(("Could not find {0}").format(msg), frappe.LinkValidationError) self = <ItemGroup: unsaved> invalid_links = [('parent_item_group', 'All Item Groups', 'Parent Item Group: All Item Groups')] cancelled_links = [] msg = 'Parent Item Group: All Item Groups' File "/home/erpuser/frappe-bench/apps/frappe/frappe/init.py", line 548, in throw msgprint( msg = 'Could not find Parent Item Group: All Item Groups' exc = <class 'frappe.exceptions.LinkValidationError'> title = None is_minimizable = False wide = False as_list = False primary_action = None File "/home/erpuser/frappe-bench/apps/frappe/frappe/init.py", line 509, 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)> out = {'message': 'Could not find Parent Item Group: All Item Groups', 'title': 'Message', 'indicator': 'red', 'raise_exception': 1} _raise_exception = <function msgprint.._raise_exception at 0x7f4e8cec1120> msg = 'Could not find Parent Item Group: All Item Groups' raise_exception = <class 'frappe.exceptions.LinkValidationError'> ...skipped... 1 vars File "/home/erpuser/frappe-bench/apps/frappe/frappe/init.py", line 455, in _raise_exception raise raise_exception(msg) msg = 'Could not find Parent Item Group: All Item Groups' raise_exception = <class 'frappe.exceptions.LinkValidationError'> ...skipped... 1 vars frappe.exceptions.LinkValidationError: Could not find Parent Item Group: All Item Groups INFO: A newer version of bench is available: 5.14.4 → 5.23.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello.
When I tried
bench update --reset
I have an error:
The text was updated successfully, but these errors were encountered: