Module
Qweb PDF reports signer
report_qweb_signer
Describe the bug
Install the module get this error:
RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/opt/odoo/custom/src/odoo/odoo/http.py", line 1788, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/opt/odoo/custom/src/odoo/odoo/service/model.py", line 152, in retrying
result = func()
File "/opt/odoo/custom/src/odoo/odoo/http.py", line 1816, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/opt/odoo/custom/src/odoo/odoo/http.py", line 2020, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/opt/odoo/custom/src/odoo/odoo/addons/base/models/ir_http.py", line 221, in _dispatch
result = endpoint(**request.params)
File "/opt/odoo/custom/src/odoo/odoo/http.py", line 757, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/opt/odoo/auto/addons/web/controllers/dataset.py", line 29, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/opt/odoo/auto/addons/web/controllers/dataset.py", line 21, in _call_kw
return call_kw(Model, method, args, kwargs)
File "/opt/odoo/custom/src/odoo/odoo/api.py", line 484, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/opt/odoo/custom/src/odoo/odoo/api.py", line 469, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "", line 2, in button_immediate_install
File "/opt/odoo/custom/src/odoo/odoo/addons/base/models/ir_module.py", line 75, in check_and_log
return method(self, *args, **kwargs)
File "/opt/odoo/custom/src/odoo/odoo/addons/base/models/ir_module.py", line 469, in button_immediate_install
return self._button_immediate_function(self.env.registry[self._name].button_install)
File "/opt/odoo/custom/src/odoo/odoo/addons/base/models/ir_module.py", line 593, in _button_immediate_function
registry = modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "", line 2, in new
File "/opt/odoo/custom/src/odoo/odoo/tools/func.py", line 87, in locked
return func(inst, *args, **kwargs)
File "/opt/odoo/custom/src/odoo/odoo/modules/registry.py", line 110, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/opt/odoo/custom/src/odoo/odoo/modules/loading.py", line 485, in load_modules
processed_modules += load_marked_modules(env, graph,
File "/opt/odoo/custom/src/odoo/odoo/modules/loading.py", line 366, in load_marked_modules
loaded, processed = load_module_graph(
File "/opt/odoo/custom/src/odoo/odoo/modules/loading.py", line 187, in load_module_graph
load_openerp_module(package.name)
File "/opt/odoo/custom/src/odoo/odoo/modules/module.py", line 395, in load_openerp_module
import(qualname)
File "/opt/odoo/auto/addons/report_qweb_signer/init.py", line 3, in
from . import models
File "/opt/odoo/auto/addons/report_qweb_signer/models/init.py", line 3, in
from . import ir_actions_report
File "/opt/odoo/auto/addons/report_qweb_signer/models/ir_actions_report.py", line 15, in
from endesive import pdf
File "/usr/local/lib/python3.10/site-packages/endesive/pdf/init.py", line 3, in
from .verify import PDFVerifier, verify
File "/usr/local/lib/python3.10/site-packages/endesive/pdf/verify.py", line 9, in
from certvalidator import CertificateValidator, ValidationContext
File "/usr/local/lib/python3.10/site-packages/certvalidator/init.py", line 9, in
from .validate import validate_path, validate_tls_hostname, validate_usage
File "/usr/local/lib/python3.10/site-packages/certvalidator/validate.py", line 5, in
from oscrypto import asymmetric
File "/usr/local/lib/python3.10/site-packages/oscrypto/asymmetric.py", line 19, in
from ._asymmetric import _unwrap_private_key_info
File "/usr/local/lib/python3.10/site-packages/oscrypto/_asymmetric.py", line 27, in
from .kdf import pbkdf1, pbkdf2, pkcs12_kdf
File "/usr/local/lib/python3.10/site-packages/oscrypto/kdf.py", line 9, in
from .util import rand_bytes
File "/usr/local/lib/python3.10/site-packages/oscrypto/util.py", line 14, in
from ._openssl.util import rand_bytes
File "/usr/local/lib/python3.10/site-packages/oscrypto/_openssl/util.py", line 6, in
from ._libcrypto import libcrypto, libcrypto_version_info, handle_openssl_error
File "/usr/local/lib/python3.10/site-packages/oscrypto/_openssl/_libcrypto.py", line 9, in
from ._libcrypto_cffi import (
File "/usr/local/lib/python3.10/site-packages/oscrypto/_openssl/_libcrypto_cffi.py", line 44, in
raise LibraryNotFoundError('Error detecting the version of libcrypto')
oscrypto.errors.LibraryNotFoundError: Error detecting the version of libcrypto
The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
RPC_ERROR
at makeErrorFromResponse (http://localhost:17069/web/assets/6267234/web.assets_web.min.js:2939:163)
at XMLHttpRequest. (http://localhost:17069/web/assets/6267234/web.assets_web.min.js:2943:13)
To Reproduce
Version: 17.0
Steps to reproduce the behavior:
-
Install the module
-
Contents of the pip.txt file (using doodba)
asn1crypto==1.5.1
attrs==25.1.0
Babel==2.9.1
bcrypt==4.3.0
beautifulsoup4==4.13.3
cached-property==2.0.1
certifi==2025.1.31
certvalidator==0.11.1
cffi==1.17.1
chardet==4.0.0
coverage==7.6.10
cryptography==3.4.8
decorator==4.4.2
docopt==0.6.2
docutils==0.17
ebaysdk==2.1.5
endesive==2.18.5
et_xmlfile==2.0.0
freezegun==1.1.0
geoip2==2.9.0
gevent==24.11.1
greenlet==3.1.1
idna==2.10
isodate==0.7.2
Jinja2==3.0.3
libsass==0.20.1
lxml==4.8.0
MarkupSafe==2.0.1
maxminddb==2.6.3
num2words==0.5.10
ofxparse==0.21
openpyxl==3.1.5
oscrypto==1.3.0
packaging==24.2
paramiko==3.5.1
passlib==1.7.4
Pillow==9.0.1
pip==25.0
platformdirs==4.3.6
polib==1.1.1
psutil==5.9.0
psycopg2==2.9.2
pyasn1==0.6.1
pyasn1_modules==0.4.1
pycparser==2.22
pydot==1.4.2
PyKCS11==1.5.17
PyNaCl==1.5.0
pyOpenSSL==21.0.0
pyparsing==3.2.1
PyPDF2==1.26.0
pyserial==3.5
python-dateutil==2.8.1
python-ldap==3.4.0
python-stdnum==1.17
pytz==2025.1
pyusb==1.2.1
qrcode==7.3.1
reportlab==3.6.8
requests==2.25.1
requests-file==2.1.0
requests-toolbelt==1.0.0
rjsmin==1.1.0
setuptools==75.8.0
six==1.17.0
soupsieve==2.6
typing_extensions==4.12.2
urllib3==1.26.5
vobject==0.9.6.1
websocket-client==1.8.0
Werkzeug==2.0.2
wheel==0.45.1
xlrd==1.2.0
XlsxWriter==3.0.2
xlwt==1.3.0
zeep==4.1.0
zope.event==5.0
zope.interface==7.2
-
Contents of the apt.txt and apt_build.txt files (using doodba)
build-essential
python3-dev
libssl-dev
libffi-dev
libxmlsec1-dev
pkg-config
default-jre-headless
Expected behavior
We expect the module to be installed correctly, but it does not install.
Additional context
We think it might be a problem with our pip.txt and apt.txt files, since the module seems to be working correctly in Runboat, but we don't know where the problem lies.
Any help is welcome.
Thanks.
Module
Qweb PDF reports signer
report_qweb_signer
Describe the bug
Install the module get this error:
RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/opt/odoo/custom/src/odoo/odoo/http.py", line 1788, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/opt/odoo/custom/src/odoo/odoo/service/model.py", line 152, in retrying
result = func()
File "/opt/odoo/custom/src/odoo/odoo/http.py", line 1816, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/opt/odoo/custom/src/odoo/odoo/http.py", line 2020, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/opt/odoo/custom/src/odoo/odoo/addons/base/models/ir_http.py", line 221, in _dispatch
result = endpoint(**request.params)
File "/opt/odoo/custom/src/odoo/odoo/http.py", line 757, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/opt/odoo/auto/addons/web/controllers/dataset.py", line 29, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/opt/odoo/auto/addons/web/controllers/dataset.py", line 21, in _call_kw
return call_kw(Model, method, args, kwargs)
File "/opt/odoo/custom/src/odoo/odoo/api.py", line 484, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/opt/odoo/custom/src/odoo/odoo/api.py", line 469, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "", line 2, in button_immediate_install
File "/opt/odoo/custom/src/odoo/odoo/addons/base/models/ir_module.py", line 75, in check_and_log
return method(self, *args, **kwargs)
File "/opt/odoo/custom/src/odoo/odoo/addons/base/models/ir_module.py", line 469, in button_immediate_install
return self._button_immediate_function(self.env.registry[self._name].button_install)
File "/opt/odoo/custom/src/odoo/odoo/addons/base/models/ir_module.py", line 593, in _button_immediate_function
registry = modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "", line 2, in new
File "/opt/odoo/custom/src/odoo/odoo/tools/func.py", line 87, in locked
return func(inst, *args, **kwargs)
File "/opt/odoo/custom/src/odoo/odoo/modules/registry.py", line 110, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/opt/odoo/custom/src/odoo/odoo/modules/loading.py", line 485, in load_modules
processed_modules += load_marked_modules(env, graph,
File "/opt/odoo/custom/src/odoo/odoo/modules/loading.py", line 366, in load_marked_modules
loaded, processed = load_module_graph(
File "/opt/odoo/custom/src/odoo/odoo/modules/loading.py", line 187, in load_module_graph
load_openerp_module(package.name)
File "/opt/odoo/custom/src/odoo/odoo/modules/module.py", line 395, in load_openerp_module
import(qualname)
File "/opt/odoo/auto/addons/report_qweb_signer/init.py", line 3, in
from . import models
File "/opt/odoo/auto/addons/report_qweb_signer/models/init.py", line 3, in
from . import ir_actions_report
File "/opt/odoo/auto/addons/report_qweb_signer/models/ir_actions_report.py", line 15, in
from endesive import pdf
File "/usr/local/lib/python3.10/site-packages/endesive/pdf/init.py", line 3, in
from .verify import PDFVerifier, verify
File "/usr/local/lib/python3.10/site-packages/endesive/pdf/verify.py", line 9, in
from certvalidator import CertificateValidator, ValidationContext
File "/usr/local/lib/python3.10/site-packages/certvalidator/init.py", line 9, in
from .validate import validate_path, validate_tls_hostname, validate_usage
File "/usr/local/lib/python3.10/site-packages/certvalidator/validate.py", line 5, in
from oscrypto import asymmetric
File "/usr/local/lib/python3.10/site-packages/oscrypto/asymmetric.py", line 19, in
from ._asymmetric import _unwrap_private_key_info
File "/usr/local/lib/python3.10/site-packages/oscrypto/_asymmetric.py", line 27, in
from .kdf import pbkdf1, pbkdf2, pkcs12_kdf
File "/usr/local/lib/python3.10/site-packages/oscrypto/kdf.py", line 9, in
from .util import rand_bytes
File "/usr/local/lib/python3.10/site-packages/oscrypto/util.py", line 14, in
from ._openssl.util import rand_bytes
File "/usr/local/lib/python3.10/site-packages/oscrypto/_openssl/util.py", line 6, in
from ._libcrypto import libcrypto, libcrypto_version_info, handle_openssl_error
File "/usr/local/lib/python3.10/site-packages/oscrypto/_openssl/_libcrypto.py", line 9, in
from ._libcrypto_cffi import (
File "/usr/local/lib/python3.10/site-packages/oscrypto/_openssl/_libcrypto_cffi.py", line 44, in
raise LibraryNotFoundError('Error detecting the version of libcrypto')
oscrypto.errors.LibraryNotFoundError: Error detecting the version of libcrypto
The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
RPC_ERROR
at makeErrorFromResponse (http://localhost:17069/web/assets/6267234/web.assets_web.min.js:2939:163)
at XMLHttpRequest. (http://localhost:17069/web/assets/6267234/web.assets_web.min.js:2943:13)
To Reproduce
Version: 17.0
Steps to reproduce the behavior:
Install the module
Contents of the pip.txt file (using doodba)
asn1crypto==1.5.1
attrs==25.1.0
Babel==2.9.1
bcrypt==4.3.0
beautifulsoup4==4.13.3
cached-property==2.0.1
certifi==2025.1.31
certvalidator==0.11.1
cffi==1.17.1
chardet==4.0.0
coverage==7.6.10
cryptography==3.4.8
decorator==4.4.2
docopt==0.6.2
docutils==0.17
ebaysdk==2.1.5
endesive==2.18.5
et_xmlfile==2.0.0
freezegun==1.1.0
geoip2==2.9.0
gevent==24.11.1
greenlet==3.1.1
idna==2.10
isodate==0.7.2
Jinja2==3.0.3
libsass==0.20.1
lxml==4.8.0
MarkupSafe==2.0.1
maxminddb==2.6.3
num2words==0.5.10
ofxparse==0.21
openpyxl==3.1.5
oscrypto==1.3.0
packaging==24.2
paramiko==3.5.1
passlib==1.7.4
Pillow==9.0.1
pip==25.0
platformdirs==4.3.6
polib==1.1.1
psutil==5.9.0
psycopg2==2.9.2
pyasn1==0.6.1
pyasn1_modules==0.4.1
pycparser==2.22
pydot==1.4.2
PyKCS11==1.5.17
PyNaCl==1.5.0
pyOpenSSL==21.0.0
pyparsing==3.2.1
PyPDF2==1.26.0
pyserial==3.5
python-dateutil==2.8.1
python-ldap==3.4.0
python-stdnum==1.17
pytz==2025.1
pyusb==1.2.1
qrcode==7.3.1
reportlab==3.6.8
requests==2.25.1
requests-file==2.1.0
requests-toolbelt==1.0.0
rjsmin==1.1.0
setuptools==75.8.0
six==1.17.0
soupsieve==2.6
typing_extensions==4.12.2
urllib3==1.26.5
vobject==0.9.6.1
websocket-client==1.8.0
Werkzeug==2.0.2
wheel==0.45.1
xlrd==1.2.0
XlsxWriter==3.0.2
xlwt==1.3.0
zeep==4.1.0
zope.event==5.0
zope.interface==7.2
Contents of the apt.txt and apt_build.txt files (using doodba)
build-essential
python3-dev
libssl-dev
libffi-dev
libxmlsec1-dev
pkg-config
default-jre-headless
Expected behavior
We expect the module to be installed correctly, but it does not install.
Additional context
We think it might be a problem with our pip.txt and apt.txt files, since the module seems to be working correctly in Runboat, but we don't know where the problem lies.
Any help is welcome.
Thanks.