You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installing webshop...
An error occurred while installing webshop: No module named 'webshop.patches.after_install'
Traceback (most recent call last):
File "apps/frappe/frappe/commands/site.py", line 462, in install_app
_install_app(app, verbose=context.verbose, force=force)
File "apps/frappe/frappe/installer.py", line 306, in install_app
frappe.get_attr(after_install)()
File "apps/webshop/webshop/setup/install.py", line 9, in after_install
run_patches()
File "apps/webshop/webshop/setup/install.py", line 236, in run_patches
frappe.get_attr(f"webshop.patches.after_install.{patch}.execute")()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/init.py", line 1679, in get_attr
return getattr(get_module(modulename), methodname)
^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/init.py", line 1415, in get_module
return importlib.import_module(modulename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1126, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1140, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'webshop.patches.after_install'
The text was updated successfully, but these errors were encountered:
Had the same problem. Tried bench --site <sitename> install-app --force webshop and it finished without error. Not sure though it's all good under the hood. Need to test now.
┌──(jarvis㉿kali)-[/frappe_new/frappe-15]
└─$ bench install-app webshop
App payments already installed
App erpnext already installed
Installing webshop...
An error occurred while installing webshop: No module named 'webshop.patches.after_install'
Traceback (most recent call last):
File "apps/frappe/frappe/commands/site.py", line 462, in install_app
_install_app(app, verbose=context.verbose, force=force)
File "apps/frappe/frappe/installer.py", line 306, in install_app
frappe.get_attr(after_install)()
File "apps/webshop/webshop/setup/install.py", line 9, in after_install
run_patches()
File "apps/webshop/webshop/setup/install.py", line 236, in run_patches
frappe.get_attr(f"webshop.patches.after_install.{patch}.execute")()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/init.py", line 1679, in get_attr
return getattr(get_module(modulename), methodname)
^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/init.py", line 1415, in get_module
return importlib.import_module(modulename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1126, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1140, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'webshop.patches.after_install'
The text was updated successfully, but these errors were encountered: