Bonjour,
J’ai suivi à la lettre la documentation pour l’installation de Dokos : Installation standard · Dokos Documentation
J’ai bien fait bench new-site ip.de.mon.vps, avec comme retour terminal :
MySQL root password:
Installing frappe...
Updating DocTypes for frappe : [========================================] 100%
Set Administrator password:
Re-enter Administrator password:
Updating Dashboard for frappe
ip.de.mon.vps: SystemSettings.enable_scheduler is UNSET
*** Scheduler is disabled ***
Mais pour la prochaine commande : bench --site ip.de.mon.vps install-app dokos, j’ai cette erreur :
Could not find app "payments":
No module named 'payments'
An error occurred while installing dokos: No module named 'payments'
Traceback (most recent call last):
File "apps/frappe/frappe/utils/caching.py", line 57, in wrapper
return frappe.local.request_cache[func][args_key]
KeyError: 3996967783742602146
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "apps/frappe/frappe/commands/site.py", line 447, in install_app
_install_app(app, verbose=context.verbose, force=force)
File "apps/frappe/frappe/installer.py", line 287, in install_app
install_app(required_app, verbose=verbose)
File "apps/frappe/frappe/installer.py", line 280, in install_app
app_hooks = frappe.get_hooks(app_name=name)
File "apps/frappe/frappe/__init__.py", line 1580, in get_hooks
hooks = _dict(_load_app_hooks(app_name))
File "apps/frappe/frappe/utils/caching.py", line 59, in wrapper
return_val = func(*args, **kwargs)
File "apps/frappe/frappe/__init__.py", line 1552, in _load_app_hooks
app_hooks = get_module(f"{app}.hooks")
File "apps/frappe/frappe/__init__.py", line 1417, 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 "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'payments'
Comment faire pour pouvoir finir d’installer tous ça ?
Merci à tous et bonne année