Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

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

Subscribe

Get notified when there's activity on this post

This question has been flagged
installationerrorodoo16features
4 Replies
10291 Views
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
Discard
Avatar
Nam Nguyen Phuong
Best Answer

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
Discard
Benjamin Kisenge

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

Avatar
Ray Carnes (ray)
Best Answer

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
Discard
Avatar
Jean Nguyen
Best Answer

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
Discard
Avatar
Eric CATTELIN
Best Answer

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

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

Sign up
Related Posts Replies Views Activity
Odoo 16 CE: from scratch, step by step installation and configuration Solved
installation odoo16features
Avatar
Avatar
Avatar
Avatar
3
Dec 23
11222
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
2993
invf = comodel._fields[self.inverse_name] KeyError: 'move_line_id' "I need help!!! Please"
error odoo16features
Avatar
Avatar
1
Jul 23
4534
What are the default Productivity Apps? Solved
installation odoo16features
Avatar
Avatar
1
Nov 22
5385
how to fix the problem during installing odoo 8 ??
installation error
Avatar
0
Mar 17
4678
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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