Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK' error after installing pdfminer

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
installationerrorodoo16features
4 Réponses
10387 Vues
Avatar
Community Question

When installing Odoo 16, I saw the following message in the log file:


WARNING shipping_pg odoo.addons.attachment_indexation.models.ir_attachment: Attachment indexation of PDF documents is unavailable because the 'pdfminer' Python library cannot be found on the system. You may install it from https://pypi.org/project/pdfminer.six/ (e.g. `pip3 install pdfminer.six`)


I then installed pdfminer via pip3 and immediately saw the following error:


File "/usr/local/lib/python3.10/dist-packages/OpenSSL/crypto.py", line 1573, in X509StoreFlags
CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'



Removing pdfminer does not resolve this, is there a solution?

1
Avatar
Ignorer
Avatar
Nam Nguyen Phuong
Meilleure réponse

Hi all, I found solution for the above error in Odoo16
When running  'pip3 install pdfminer.six', it auto update new version for library 'cryptography'
Solution:
    - Update version appropriate 'cryptography' 
    - ​In Odoo16,
pip3 install cryptography==3.4.8 (version in file requerements.txt) 

2
Avatar
Ignorer
Benjamin Kisenge

This solution worked for me as well, that @Nam Nguyen Phuong

Avatar
Ray Carnes (ray)
Meilleure réponse

I was able to resolve this by upgrading pyOpenSSL:

pip3 install pyOpenSSL --upgrade

In my case on Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-50-generic x86_64) this upgraded the library from version 19.0.0 to 22.1.0. 

You then reinstall pdfminer as instructed.

1
Avatar
Ignorer
Avatar
Jean Nguyen
Meilleure réponse

I had the same problem and I found a way to solve this problem that we should use the pdfminer.six version 20211012. The cryptography and pyOpenSSL we use as mentioned in odoo's "requirement.txt" file


pip install pdfminer.six==20211012



1
Avatar
Ignorer
Avatar
Eric CATTELIN
Meilleure réponse

Hello,

I've same error.

I've uninstall odoo python3-openssl and python3-crytography.

Then can install or uninstall pdfminer.sir or pyOpenssl or crypto.

When i reinstall odoo, even if i've install pip package, python3-openssl and python3-cryptography are reinstalled.

And pdfminer.six is not detected by odoo on start.

I don't understand. 

Python 3.9.1

python3-openssl 20.0.0 python3-cryptography 3.0.0

pyopenssl 23.0.0 or 22.0.1, cryptography 38 or 39 tested.

I'm desappointed.

I can''t launch migration to 16.0

0
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Odoo 16 CE: from scratch, step by step installation and configuration Résolu
installation odoo16features
Avatar
Avatar
Avatar
Avatar
3
déc. 23
11423
i installed odoo 16 on my PC, default localhost:8069 is working, but when i conf with pycharm and run in localhost 8016, i created and login to db , its keep loading
installation odoo16features
Avatar
0
nov. 23
3032
invf = comodel._fields[self.inverse_name] KeyError: 'move_line_id' "I need help!!! Please"
error odoo16features
Avatar
Avatar
1
juil. 23
4609
What are the default Productivity Apps? Résolu
installation odoo16features
Avatar
Avatar
1
nov. 22
5455
how to fix the problem during installing odoo 8 ??
installation error
Avatar
0
mars 17
4740
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now