UTM Source Issue when going through setup wizard


e’: ‘Asia/Karachi’, ‘currency’: ‘PKR’, ‘full_name’: ‘Mohtashim’, ‘email’: ‘shoaibmohtashim973@gmail.com’, ‘password’: ‘123’, ‘company_name’: ‘SWIT’, ‘company_abbr’: ‘S’, ‘chart_of_accounts’: ‘Standard’, ‘fy_start_date’: ‘2024-07-01’, ‘fy_end_date’: ‘2025-06-30’, ‘setup_demo’: 0}, ‘fail_msg’: ‘Failed to install presets’}
14:56:35 web.1 | idx = 1
14:56:35 web.1 | stage = {‘status’: ‘Installing presets’, ‘fail_msg’: ‘Failed to install presets’, ‘tasks’: [{‘fn’: <function stage_fixtures at 0x7f22b8f12ef0>, ‘args’: {‘language’: ‘English’, ‘country’: ‘Pakistan’, ‘timezone’: ‘Asia/Karachi’, ‘currency’: ‘PKR’, ‘full_name’: ‘Mohtashim’, ‘email’: ‘shoaibmohtashim973@gmail.com’, ‘password’: ‘123’, ‘company_name’: ‘SWIT’, ‘company_abbr’: ‘S’, ‘chart_of_accounts’: ‘Standard’, ‘fy_start_date’: ‘2024-07-01’, ‘fy_end_date’: ‘2025-06-30’, ‘setup_demo’: 0}, ‘fail_msg’: ‘Failed to install presets’}]}
14:56:35 web.1 | task = {‘fn’: <function stage_fixtures at 0x7f22b8f12ef0>, ‘args’: {‘language’: ‘English’, ‘country’: ‘Pakistan’, ‘timezone’: ‘Asia/Karachi’, ‘currency’: ‘PKR’, ‘full_name’: ‘Mohtashim’, ‘email’: ‘shoaibmohtashim973@gmail.com’, ‘password’: ‘123’, ‘company_name’: ‘SWIT’, ‘company_abbr’: ‘S’, ‘chart_of_accounts’: ‘Standard’, ‘fy_start_date’: ‘2024-07-01’, ‘fy_end_date’: ‘2025-06-30’, ‘setup_demo’: 0}, ‘fail_msg’: ‘Failed to install presets’}
14:56:35 web.1 | File “apps/erpnext/erpnext/setup/setup_wizard/setup_wizard.py”, line 51, in stage_fixtures
14:56:35 web.1 | fixtures.install(args.get(“country”))
14:56:35 web.1 | args = {‘language’: ‘English’, ‘country’: ‘Pakistan’, ‘timezone’: ‘Asia/Karachi’, ‘currency’: ‘PKR’, ‘full_name’: ‘Mohtashim’, ‘email’: ‘shoaibmohtashim973@gmail.com’, ‘password’: ‘********’, ‘company_name’: ‘SWIT’, ‘company_abbr’: ‘S’, ‘chart_of_accounts’: ‘Standard’, ‘fy_start_date’: ‘2024-07-01’, ‘fy_end_date’: ‘2025-06-30’, ‘setup_demo’: 0}
14:56:35 web.1 | File “apps/erpnext/erpnext/setup/setup_wizard/operations/install_fixtures.py”, line 327, in install
14:56:35 web.1 | make_records(records)
14:56:35 web.1 | country = ‘Pakistan’
14:56:35 web.1 | records = [{‘doctype’: ‘Address Template’, ‘country’: ‘Pakistan’}, {‘doctype’: ‘Item Group’, ‘item_group_name’: ‘All Item Groups’, ‘is_group’: 1, ‘parent_item_group’: ‘’}, {‘doctype’: ‘Item Group’, ‘item_group_name’: ‘Products’, ‘is_group’: 0, ‘parent_item_group’: ‘All Item Groups’, ‘show_in_website’: 1}, {‘doctype’: ‘Item Group’, ‘item_group_name’: ‘Raw Material’, ‘is_group’: 0, ‘parent_item_group’: ‘All Item Groups’}, {‘doctype’: ‘Item Group’, ‘item_group_name’: ‘Services’, ‘is_group’: 0, ‘parent_item_group’: ‘All Item Groups’}, {‘doctype’: ‘Item Group’, ‘item_group_name’: ‘Sub Assemblies’, ‘is_group’: 0, ‘parent_item_group’: ‘All Item Groups’}, {‘doctype’: ‘Item Group’, ‘item_group_name’: ‘Consumable’, ‘is_group’: 0, ‘parent_item_group’: ‘All Item Groups’}, {‘doctype’: ‘Stock Entry Type’, ‘name’: ‘Material Issue’, ‘purpose’: ‘Material Issue’, ‘is_standard’: 1}, {‘doctype’: ‘Stock Entry Type’, ‘name’: ‘Material Receipt’, ‘purpose’: ‘Material Receipt’, ‘is_standard’: 1}, {‘doctype’: 'Stock Entr…
14:56:35 web.1 | filename = ‘sales_partner_type.txt’
14:56:35 web.1 | base_path = ‘apps/erpnext/erpnext/stock/doctype’
14:56:35 web.1 | response = '

Dispatch Notification

\n

Details:

\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n …
14:56:35 web.1 | make_default_records = <function make_default_records at 0x7f22b8bb51b0>
14:56:35 web.1 | doctype = ‘Sales Partner Type’
14:56:35 web.1 | title_field = ‘sales_partner_type’
14:56:35 web.1 | File “apps/frappe/frappe/desk/page/setup_wizard/setup_wizard.py”, line 414, in make_records
14:56:35 web.1 | doc = frappe.new_doc(doctype)
14:56:35 web.1 | records = [{‘doctype’: ‘Address Template’, ‘country’: ‘Pakistan’}, {‘doctype’: ‘Item Group’, ‘item_group_name’: ‘All Item Groups’, ‘is_group’: 1, ‘parent_item_group’: ‘’}, {‘doctype’: ‘Item Group’, ‘item_group_name’: ‘Products’, ‘is_group’: 0, ‘parent_item_group’: ‘All Item Groups’, ‘show_in_website’: 1}, {‘doctype’: ‘Item Group’, ‘item_group_name’: ‘Raw Material’, ‘is_group’: 0, ‘parent_item_group’: ‘All Item Groups’}, {‘doctype’: ‘Item Group’, ‘item_group_name’: ‘Services’, ‘is_group’: 0, ‘parent_item_group’: ‘All Item Groups’}, {‘doctype’: ‘Item Group’, ‘item_group_name’: ‘Sub Assemblies’, ‘is_group’: 0, ‘parent_item_group’: ‘All Item Groups’}, {‘doctype’: ‘Item Group’, ‘item_group_name’: ‘Consumable’, ‘is_group’: 0, ‘parent_item_group’: ‘All Item Groups’}, {‘doctype’: ‘Stock Entry Type’, ‘name’: ‘Material Issue’, ‘purpose’: ‘Material Issue’, ‘is_standard’: 1}, {‘doctype’: ‘Stock Entry Type’, ‘name’: ‘Material Receipt’, ‘purpose’: ‘Material Receipt’, ‘is_standard’: 1}, {‘doctype’: 'Stock Entr…
14:56:35 web.1 | debug = False
14:56:35 web.1 | _dict = <class ‘frappe.types.frappedict._dict’>
14:56:35 web.1 | scrub = <function scrub at 0x7f22bd946830>
14:56:35 web.1 | record = {‘doctype’: ‘UTM Source’, ‘name’: ‘Existing Customer’}
14:56:35 web.1 | doctype = ‘UTM Source’
14:56:35 web.1 | condition = None
14:56:35 web.1 | doc = <IndustryType: Venture Capital>
14:56:35 web.1 | parent_link_field = ‘parent_industry_type’
14:56:35 web.1 | savepoint = ‘setup_fixtures_creation’
14:56:35 web.1 | File “apps/frappe/frappe/init.py”, line 1147, in new_doc
14:56:35 web.1 | new_doc = get_new_doc(doctype, parent_doc, parentfield, as_dict=as_dict)
14:56:35 web.1 | doctype = ‘UTM Source’
14:56:35 web.1 | parent_doc = None
14:56:35 web.1 | parentfield = None
14:56:35 web.1 | as_dict = False
14:56:35 web.1 | kwargs = {}
14:56:35 web.1 | get_new_doc = <function get_new_doc at 0x7f22b8e10430>
14:56:35 web.1 | File “apps/frappe/frappe/model/create_new.py”, line 22, in get_new_doc
14:56:35 web.1 | frappe.local.new_doc_templates[doctype] = make_new_doc(doctype)
14:56:35 web.1 | doctype = ‘UTM Source’
14:56:35 web.1 | parent_doc = None
14:56:35 web.1 | parentfield = None
14:56:35 web.1 | as_dict = False
14:56:35 web.1 | File “apps/frappe/frappe/model/create_new.py”, line 35, in make_new_doc
14:56:35 web.1 | doc = frappe.get_doc({“doctype”: doctype, “__islocal”: 1, “owner”: frappe.session.user, “docstatus”: 0})
14:56:35 web.1 | doctype = ‘UTM Source’
14:56:35 web.1 | File “apps/frappe/frappe/init.py”, line 1290, in get_doc
14:56:35 web.1 | doc = frappe.model.document.get_doc(*args, **kwargs)
14:56:35 web.1 | args = ({‘doctype’: ‘UTM Source’, ‘__islocal’: 1, ‘owner’: ‘Administrator’, ‘docstatus’: 0},)
14:56:35 web.1 | kwargs = {}
14:56:35 web.1 | frappe = <module ‘frappe’ from ‘apps/frappe/frappe/init.py’>
14:56:35 web.1 | File “apps/frappe/frappe/model/document.py”, line 83, in get_doc
14:56:35 web.1 | controller = get_controller(doctype)
14:56:35 web.1 | args = ({‘doctype’: ‘UTM Source’, ‘__islocal’: 1, ‘owner’: ‘Administrator’, ‘docstatus’: 0},)
14:56:35 web.1 | kwargs = {‘doctype’: ‘UTM Source’, ‘__islocal’: 1, ‘owner’: ‘Administrator’, ‘docstatus’: 0}
14:56:35 web.1 | doctype = ‘UTM Source’
14:56:35 web.1 | File “apps/frappe/frappe/model/base_document.py”, line 66, in get_controller
14:56:35 web.1 | return import_controller(doctype)
14:56:35 web.1 | doctype = ‘UTM Source’
14:56:35 web.1 | File “apps/frappe/frappe/model/base_document.py”, line 95, in import_controller
14:56:35 web.1 | module = load_doctype_module(doctype, module_name)
14:56:35 web.1 | doctype = ‘UTM Source’
14:56:35 web.1 | Document = <class ‘frappe.model.document.Document’>
14:56:35 web.1 | NestedSet = <class ‘frappe.utils.nestedset.NestedSet’>
14:56:35 web.1 | module_name = ‘Core’
14:56:35 web.1 | doctype_info = None
14:56:35 web.1 | module_path = None
14:56:35 web.1 | class_overrides = {‘Address’: [‘erpnext.accounts.custom.address.ERPNextAddress’]}
14:56:35 web.1 | File “apps/frappe/frappe/modules/utils.py”, line 258, in load_doctype_module
14:56:35 web.1 | raise ImportError(msg) from e
14:56:35 web.1 | doctype = ‘UTM Source’
14:56:35 web.1 | module = ‘Core’
14:56:35 web.1 | prefix = ‘’
14:56:35 web.1 | suffix = ‘’
14:56:35 web.1 | app = ‘frappe’
14:56:35 web.1 | key = ********
14:56:35 web.1 | module_name = ‘frappe.core.doctype.utm_source.utm_source’
14:56:35 web.1 | msg = “Module import failed for UTM Source, the DocType you’re trying to open might be deleted.\nError: No module named ‘frappe.core.doctype.utm_source’”
14:56:35 web.1 | builtins.ImportError: Module import failed for UTM Source, the DocType you’re trying to open might be deleted.
14:56:35 web.1 | Error: No module named ‘frappe.core.doctype.utm_source’
14:56:35 web.1 | 172.16.0.3 - - [19/Nov/2024 14:56:35] “POST /api/method/frappe.desk.page.setup_wizard.setup_wizard.setup_complete HTTP/1.1” 500 -

Customer's Name{{ customer }}
Contact's Name{{ first_name }} {{ last_name }}
Address Name{{ address }}
Address Details{{ customer_address }}
Order Number{{ delivery_note }}
Order Total{{ grand_total }}
Departure Time{{ departure_time }}
Estimated Arrival{{ estimated_arrival }}