2023-03-21 19:41:52
|
CRITICAL
|
server
|
odoo.service.server:1291
Failed to initialize database `00114-15-0-qsimov_consultant_config_demo`.
Traceback (most recent call last):
File "/data/build/odoo/odoo/addons/base/models/ir_module.py", line 334, in _check_python_external_dependency
pkg_resources.get_distribution(pydep)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 482, in get_distribution
dist = get_provider(dist)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 358, in get_provider
return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 901, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 787, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'cachetools' distribution was not found and is required by the application
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/odoo/odoo/addons/base/models/ir_module.py", line 337, in _check_python_external_dependency
importlib.import_module(pydep)
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'cachetools'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/odoo/odoo/addons/base/models/ir_module.py", line 368, in check_external_dependencies
cls._check_external_dependencies(terp)
File "/data/build/odoo/odoo/addons/base/models/ir_module.py", line 356, in _check_external_dependencies
Module._check_python_external_dependency(pydep)
File "/data/build/odoo/odoo/addons/base/models/ir_module.py", line 342, in _check_python_external_dependency
raise Exception('Python library not installed: %s' % (pydep,))
Exception: Python library not installed: cachetools
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/odoo/odoo/service/server.py", line 1260, in preload_registries
registry = Registry.new(dbname, update_module=update_module)
File "/data/build/odoo/odoo/modules/registry.py", line 87, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/data/build/odoo/odoo/modules/loading.py", line 441, in load_modules
modules.button_install()
File "<decorator-gen-73>", line 2, in button_install
File "/data/build/odoo/odoo/addons/base/models/ir_module.py", line 74, in check_and_log
return method(self, *args, **kwargs)
File "/data/build/odoo/odoo/addons/base/models/ir_module.py", line 428, in button_install
modules._state_update('to install', ['uninstalled'])
File "/data/build/odoo/odoo/addons/base/models/ir_module.py", line 401, in _state_update
update_demo = update_mods._state_update(newstate, states_to_update, level=level-1)
File "/data/build/odoo/odoo/addons/base/models/ir_module.py", line 401, in _state_update
update_demo = update_mods._state_update(newstate, states_to_update, level=level-1)
File "/data/build/odoo/odoo/addons/base/models/ir_module.py", line 401, in _state_update
update_demo = update_mods._state_update(newstate, states_to_update, level=level-1)
[Previous line repeated 2 more times]
File "/data/build/odoo/odoo/addons/base/models/ir_module.py", line 407, in _state_update
self.check_external_dependencies(module.name, newstate)
File "/data/build/odoo/odoo/addons/base/models/ir_module.py", line 376, in check_external_dependencies
raise UserError(msg % (module_name, e.args[0]))
odoo.exceptions.UserError: Unable to install module "component" because an external dependency is not met: Python library not installed: cachetools
|