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

[16.0] Build broken - facturx #1086

Open
simahawk opened this issue Dec 4, 2024 · 2 comments
Open

[16.0] Build broken - facturx #1086

simahawk opened this issue Dec 4, 2024 · 2 comments
Labels

Comments

@simahawk
Copy link
Contributor

simahawk commented Dec 4, 2024

 2024-12-04 05:51:24,172 3177 ERROR odoo odoo.modules.registry: Failed to load registry 
Traceback (most recent call last):
  File "/opt/odoo/odoo/modules/registry.py", line 87, in new
    odoo.modules.load_modules(registry, force_demo, status, update_module)
  File "/opt/odoo/odoo/modules/loading.py", line 489, in load_modules
    processed_modules += load_marked_modules(cr, graph,
  File "/opt/odoo/odoo/modules/loading.py", line 373, in load_marked_modules
    loaded, processed = load_module_graph(
  File "/opt/odoo/odoo/modules/loading.py", line 283, in load_module_graph
    suite = loader.make_suite([module_name], 'at_install')
  File "/opt/odoo/odoo/tests/loader.py", line 76, in make_suite
    return OdooSuite(sorted(tests, key=lambda t: t.test_sequence))
  File "/opt/odoo/odoo/tests/loader.py", line 72, in <genexpr>
    for m in get_test_modules(module_name)
  File "/opt/odoo/odoo/tests/loader.py", line 19, in get_test_modules
    results = _get_tests_modules(importlib.util.find_spec(f'odoo.addons.{module}'))
  File "/opt/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 "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/__w/edi/edi/account_invoice_facturx/tests/__init__.py", line 1, in <module>
    from . import test_facturx_invoice
  File "/__w/edi/edi/account_invoice_facturx/tests/test_facturx_invoice.py", line 7, in <module>
    from facturx import get_facturx_level
  File "/opt/odoo-venv/lib/python3.10/site-packages/facturx/__init__.py", line 1, in <module>
    from .facturx import generate_from_file, \
  File "/opt/odoo-venv/lib/python3.10/site-packages/facturx/facturx.py", line 34, in <module>
    from pypdf import PdfWriter, PdfReader
ModuleNotFoundError: No module named 'pypdf'

Similarly to #1084 the latest factur-x version breaks the build but in a different way.

@simahawk simahawk added the bug label Dec 4, 2024
@simahawk
Copy link
Contributor Author

simahawk commented Dec 4, 2024

This is the change akretion/factur-x@0d354d4

@simahawk
Copy link
Contributor Author

simahawk commented Dec 4, 2024

@alexis-via ping :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant