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

ODOO V15 CE: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK' #381

Open
luismata01 opened this issue May 8, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@luismata01
Copy link

luismata01 commented May 8, 2023

When I try to deploy for first time whit this command, for create database and install apps whiout localization

docker-compose run --rm odoo click-odoo-initdb -n devel -m sale_management,account,crm,stock,purchase,point_of_sale,mail,contacts,calendar,mass_editing,web_responsive,web_no_bubble,web_environment_ribbon --no-demo --no-cache

appear this error
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'
image

Affected versions:
ODOO CE v15 on development ambient

Can you help me please

@luismata01 luismata01 added the bug Something isn't working label May 8, 2023
@pleirb
Copy link

pleirb commented Mar 8, 2024

This error is familiar to me. Try putting cryptography==2.6.1 in the pip.txt

@aleuffre
Copy link

I've encountered this problem as well, when trying to use https://github.com/OCA/server-tools/blob/15.0/auto_backup/__manifest__.py

Because the version of pysftp is very old, and there's some incompatibility with the version of cryptography. I ended up removing the module and pysftp entirely, but the suggestion in the comment above of using cryptography==2.6.1 should also work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants