frappe / frappe/ecommerce_integrations

No module named 'ecommerce_integration'

Open
#236 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
206
Forks
275
Avg merge
54m
Merged PRs (30d)
1

Description

Could not find app "ecommerce_integration":
No module named 'ecommerce_integration'
An error occurred while installing ecommerce_integration: No module named 'ecommerce_integration'
Traceback (most recent call last):
File "apps/frappe/frappe/utils/caching.py", line 55, in wrapper
return frappe.local.request_cache[func][args_key]
KeyError: -3073059119516583188

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "apps/frappe/frappe/commands/site.py", line 416, in install_app
_install_app(app, verbose=context.verbose, force=force)
File "apps/frappe/frappe/installer.py", line 262, in install_app
app_hooks = frappe.get_hooks(app_name=name)
File "apps/frappe/frappe/__init__.py", line 1493, in get_hooks
hooks = _dict(_load_app_hooks(app_name))
File "apps/frappe/frappe/utils/caching.py", line 57, in wrapper
return_val = func(*args, **kwargs)
File "apps/frappe/frappe/__init__.py", line 1465, in _load_app_hooks
app_hooks = get_module(f"{app}.hooks")
File "apps/frappe/frappe/__init__.py", line 1327, in get_module
return importlib.import_module(modulename)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 992, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'ecommerce_integration'

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the app installation failure and read apps/frappe/frappe/commands/site.py around install_app, then follow the calls into frappe/installer.py and frappe/__init__.py shown in the traceback. Determine why ecommerce_integration cannot be imported; done means the app installs without the reported ModuleNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.