Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

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

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

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

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
installationerrorodoo16features
4 Besvarelser
10384 Visninger
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
Kassér
Avatar
Nam Nguyen Phuong
Bedste svar

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
Kassér
Benjamin Kisenge

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

Avatar
Ray Carnes (ray)
Bedste svar

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
Kassér
Avatar
Jean Nguyen
Bedste svar

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
Kassér
Avatar
Eric CATTELIN
Bedste svar

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
Kassér
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
Odoo 16 CE: from scratch, step by step installation and configuration Løst
installation odoo16features
Avatar
Avatar
Avatar
Avatar
3
dec. 23
11404
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
3030
invf = comodel._fields[self.inverse_name] KeyError: 'move_line_id' "I need help!!! Please"
error odoo16features
Avatar
Avatar
1
jul. 23
4607
What are the default Productivity Apps? Løst
installation odoo16features
Avatar
Avatar
1
nov. 22
5449
how to fix the problem during installing odoo 8 ??
installation error
Avatar
0
mar. 17
4737
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة 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 er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

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