Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Critical error when installing Company_web on a clean Odoo 17 Enterprise edition on Odoo.sh #221

Open
gosysdata opened this issue Apr 29, 2024 · 1 comment
Labels
stale PR/Issue without recent activity, it'll be soon closed automatically.

Comments

@gosysdata
Copy link

module: companyweb_base
version: 17.0

Steps to reproduce

  • Install from apps.odoo.com to odoo.sh (on a clean database = no third party addons installed)

Current behavior
2024-04-26 14:08:25,669 4 CRITICAL odoo.service.server: Failed to initialize database vinalfood-app-companyweb-base-12901247.
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/service/server.py", line 1302, in preload_registries
registry = Registry.new(dbname, update_module=update_module)
File "", line 2, in new
File "/home/odoo/src/odoo/odoo/tools/func.py", line 87, in locked
return func(inst, *args, **kwargs)
File "/home/odoo/src/odoo/odoo/modules/registry.py", line 113, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/home/odoo/src/odoo/odoo/modules/loading.py", line 480, in load_modules
processed_modules += load_marked_modules(env, graph,
File "/home/odoo/src/odoo/odoo/modules/loading.py", line 364, in load_marked_modules
loaded, processed = load_module_graph(
File "/home/odoo/src/odoo/odoo/modules/loading.py", line 277, in load_module_graph
suite = loader.make_suite([module_name], 'at_install')
File "/home/odoo/src/odoo/odoo/tests/loader.py", line 76, in make_suite
return OdooSuite(sorted(tests, key=lambda t: t.test_sequence))
File "/home/odoo/src/odoo/odoo/tests/loader.py", line 72, in
for m in get_test_modules(module_name)
File "/home/odoo/src/odoo/odoo/tests/loader.py", line 19, in get_test_modules
results = _get_tests_modules(importlib.util.find_spec(f'odoo.addons.{module}'))
File "/home/odoo/src/odoo/odoo/tests/loader.py", line 30, in _get_tests_modules
tests_mod = importlib.import_module(spec.name)
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 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/odoo/src/user/companyweb_base/tests/init.py", line 1, in
from . import test_api_cweb
File "/home/odoo/src/user/companyweb_base/tests/test_api_cweb.py", line 13, in
from vcr_unittest import VCRMixin
ModuleNotFoundError: No module named 'vcr_unittest'

Expected behavior
Installation without errors :-)

Copy link

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

No branches or pull requests

1 participant