webshop installation issue
Traceback with variables (most recent call last):
File “apps/frappe/frappe/commands/site.py”, line 445, in install_app
_install_app(app, verbose=context.verbose, force=force)
context = {‘sites’: [‘sitename’], ‘force’: False, ‘verbose’: False, ‘profile’: False}
apps = (‘webshop’,)
force = False
install_app = <function install_app at 0x7fa0e55fe830>
filelock = <function filelock at 0x7fa0e55fe4d0>
exit_code = 0
site = ‘sitename’
app = ‘webshop’
err = DoesNotExistError(‘Module webshop not found’)
File “apps/frappe/frappe/installer.py”, line 311, in install_app
frappe.get_attr(after_install)()
name = ‘webshop’
verbose = False
set_as_patched = True
force = False
sync_jobs = <function sync_jobs at 0x7fa0e406bb50>
sync_for = <function sync_for at 0x7fa0e4078670>
sync_customizations = <function sync_customizations at 0x7fa0e55a1240>
sync_fixtures = <function sync_fixtures at 0x7fa0e40788b0>
app_hooks = {‘after_install’: [‘webshop.setup.install.after_install’], ‘app_description’: [‘Open Source eCommerce Platform’], ‘app_email’: [‘contact@frappe.io’], ‘app_license’: [‘GNU General Public License (v3)’], ‘app_name’: [‘webshop’], ‘app_publisher’: [‘Frappe Technologies Pvt. Ltd.’], ‘app_title’: [‘Webshop’], ‘app_version’: [‘0.0.1’], ‘doc_events’: {‘Item’: {‘on_update’: [‘webshop.webshop.crud_events.item.update_website_item.execute’, ‘webshop.webshop.crud_events.item.invalidate_item_variants_cache.execute’], ‘before_rename’: [‘webshop.webshop.crud_events.item.validate_duplicate_website_item.execute’], ‘after_rename’: [‘webshop.webshop.crud_events.item.invalidate_item_variants_cache.execute’]}, ‘Sales Taxes and Charges Template’: {‘on_update’: [‘webshop.webshop.doctype.webshop_settings.webshop_settings.validate_cart_settings’]}, ‘Quotation’: {‘validate’: [‘webshop.webshop.crud_events.quotation.validate_shopping_cart_items.execute’]}, ‘Price List’: {‘validate’: ['webshop.webshop.crud_events.p…
installed_apps = [‘frappe’, ‘erpnext’, ‘hrms’]
app = ‘erpnext’
required_app = ‘erpnext’
after_install = ‘webshop.setup.install.after_install’
File “apps/webshop/webshop/setup/install.py”, line 9, in after_install
run_patches()
File “apps/webshop/webshop/setup/install.py”, line 238, in run_patches
frappe.get_attr(f"webshop.patches.{patch}.execute")()
patch = ‘create_website_items’
File “apps/webshop/webshop/patches/create_website_items.py”, line 7, in execute
frappe.reload_doc(“webshop”, “doctype”, “website_item”)
File “apps/frappe/frappe/init.py”, line 1439, in reload_doc
return frappe.modules.reload_doc(module, dt, dn, force=force, reset_permissions=reset_permissions)
module = ‘webshop’
dt = ‘doctype’
dn = ‘website_item’
force = False
reset_permissions = False
frappe = <module ‘frappe’ from ‘apps/frappe/frappe/init.py’>
File “apps/frappe/frappe/modules/utils.py”, line 216, in reload_doc
return import_files(module, dt, dn, force=force, reset_permissions=reset_permissions)
module = ‘webshop’
dt = ‘doctype’
dn = ‘website_item’
force = False
reset_permissions = False
import_files = <function import_files at 0x7fa0e55fb9a0>
File “apps/frappe/frappe/modules/import_file.py”, line 57, in import_files
return import_file(
module = ‘webshop’
dt = ‘doctype’
dn = ‘website_item’
force = False
pre_process = None
reset_permissions = False
File “apps/frappe/frappe/modules/import_file.py”, line 64, in import_file
path = get_file_path(module, dt, dn)
module = ‘webshop’
dt = ‘doctype’
dn = ‘website_item’
force = False
pre_process = None
reset_permissions = False
File “apps/frappe/frappe/modules/import_file.py”, line 71, in get_file_path
path = os.path.join(get_module_path(module), os.path.join(dt, dn, f"{dn}.json"))
module = ‘webshop’
dt = ‘doctype’
dn = ‘website_item’
File “apps/frappe/frappe/init.py”, line 1496, in get_module_path
app = get_module_app(module)
module = ‘webshop’
joins = ()
get_module_app = <function get_module_app at 0x7fa0e55a1900>
File “apps/frappe/frappe/modules/utils.py”, line 273, in get_module_app
frappe.throw((“Module {} not found”).format(module), exc=frappe.DoesNotExistError)
module = ‘webshop’
app = None
File “apps/frappe/frappe/init.py”, line 645, in throw
msgprint(
msg = ‘Module webshop not found’
exc = <class ‘frappe.exceptions.DoesNotExistError’>
title = None
is_minimizable = False
wide = False
as_list = False
primary_action = None
File “apps/frappe/frappe/init.py”, line 610, 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 0x7fa0e18f0a60>
inspect = <module ‘inspect’ from ‘/usr/lib/python3.10/inspect.py’>
msg = ‘Module webshop not found’
out = {‘message’: ‘Module webshop not found’, ‘title’: ‘Message’, ‘indicator’: ‘red’, ‘raise_exception’: 1, ‘__frappe_exc_id’: ‘8c0766ce8d79624ff3d301ac6085e1cee4bc286c22416ec38d88e563’}
raise_exception = <class ‘frappe.exceptions.DoesNotExistError’>
File “apps/frappe/frappe/init.py”, line 561, in _raise_exception
raise exc
exc = DoesNotExistError(‘Module webshop not found’)
inspect = <module ‘inspect’ from ‘/usr/lib/python3.10/inspect.py’>
msg = ‘Module webshop not found’
out = {‘message’: ‘Module webshop not found’, ‘title’: ‘Message’, ‘indicator’: ‘red’, ‘raise_exception’: 1, ‘__frappe_exc_id’: ‘8c0766ce8d79624ff3d301ac6085e1cee4bc286c22416ec38d88e563’}
raise_exception = <class ‘frappe.exceptions.DoesNotExistError’>