Zum Inhalt springen
Odoo Menü
  • Anmelden
  • Jetzt gratis testen
  • Apps
    Finanzen
    • Buchhaltung
    • Rechnungsstellung
    • Spesenabrechnung
    • Tabellenkalkulation (BI)
    • Dokumente
    • E-Signatur
    Vertrieb
    • CRM
    • Vertrieb
    • Kassensystem – Shop
    • Kassensystem – Restaurant
    • Abonnements
    • Vermietung
    Websites
    • Website-Builder
    • E-Commerce
    • Blog
    • Forum
    • Livechat
    • E-Learning
    Lieferkette
    • Lager
    • Fertigung
    • PLM
    • Einkauf
    • Wartung
    • Qualität
    Personalwesen
    • Mitarbeiter
    • Personalbeschaffung
    • Abwesenheiten
    • Mitarbeiterbeurteilung
    • Personalempfehlungen
    • Fuhrpark
    Marketing
    • Social Marketing
    • E-Mail-Marketing
    • SMS-Marketing
    • Veranstaltungen
    • Marketing-Automatisierung
    • Umfragen
    Dienstleistungen
    • Projekte
    • Zeiterfassung
    • Außendienst
    • Kundendienst
    • Planung
    • Termine
    Produktivität
    • Dialog
    • Genehmigungen
    • IoT
    • VoIP
    • Wissensdatenbank
    • WhatsApp
    Apps von Drittanbietern Odoo Studio Odoo Cloud-Plattform
  • Branchen
    Einzelhandel
    • Buchladen
    • Kleidergeschäft
    • Möbelhaus
    • Lebensmittelgeschäft
    • Baumarkt
    • Spielwarengeschäft
    Essen & Gastgewerbe
    • Bar und Kneipe
    • Restaurant
    • Fast Food
    • Gästehaus
    • Getränkehändler
    • Hotel
    Immobilien
    • Immobilienagentur
    • Architekturbüro
    • Baugewerbe
    • Immobilienverwaltung
    • Gartenarbeit
    • Eigentümervereinigung
    Beratung
    • Buchhaltungsfirma
    • Odoo-Partner
    • Marketingagentur
    • Anwaltskanzlei
    • Talentakquise
    • Prüfung & Zertifizierung
    Fertigung
    • Textil
    • Metall
    • Möbel
    • Speisen
    • Brauerei
    • Firmengeschenke
    Gesundheit & Fitness
    • Sportklub
    • Brillengeschäft
    • Fitnessstudio
    • Therapeut
    • Apotheke
    • Friseursalon
    Handel
    • Handyman
    • IT-Hardware & -Support
    • Solarenergiesysteme
    • Schuster
    • Reinigungsdienstleistungen
    • HLK-Dienstleistungen
    Sonstiges
    • Gemeinnützige Organisation
    • Umweltschutzagentur
    • Plakatwandvermietung
    • Fotostudio
    • Fahrrad-Leasing
    • Software-Händler
    Alle Branchen ansehen
  • Community
    Lernen
    • Tutorials
    • Dokumentation
    • Zertifizierungen
    • Schulung
    • Blog
    • Podcast
    Bildung fördern
    • Bildungsprogramm
    • Scale-Up! Planspiel
    • Odoo besuchen
    Software anfragen
    • Herunterladen
    • Editionen vergleichen
    • Releases
    Zusammenarbeiten
    • Github
    • Forum
    • Veranstaltungen
    • Übersetzungen
    • Partner werden
    • Dienstleistungen für Partner
    • Buchhaltungsfirma registrieren
    Services anfragen
    • Partner finden
    • Buchhalter finden
    • Einen Experten treffen
    • Implementierungsservices
    • Kundenreferenzen
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Eine Demo erhalten
  • Preiskalkulation
  • Hilfe

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

  • CRM
  • e-Commerce
  • Buchhaltung
  • Lager
  • PoS
  • Projekte
  • MRP
All apps
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
odoo accounting v14 pos v15
Über dieses Forum
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
odoo accounting v14 pos v15
Über dieses Forum
Hilfe

AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK' when creating new staging branch

Abonnieren

Erhalten Sie eine Benachrichtigung, wenn es eine Aktivität zu diesem Beitrag gibt

Diese Frage wurde gekennzeichnet
odoosh
7 Antworten
51936 Ansichten
Avatar
Bassam Ramadan

Hello,

After creating a new staging branch, I am not able to update the modules or even start the branch, getting  the below error:

Original exception was:

Traceback (most recent call last):

File "/home/odoo/src/odoo/odoo-bin", line 5, in

import odoo

File "/home/odoo/src/odoo/odoo/__init__.py", line 132, in

from . import cli

File "/home/odoo/src/odoo/odoo/cli/__init__.py", line 10, in

from . import deploy

File "/home/odoo/src/odoo/odoo/cli/deploy.py", line 6, in

import requests

File "/usr/lib/python3/dist-packages/requests/__init__.py", line 95, in

from urllib3.contrib import pyopenssl

File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 46, in

import OpenSSL.SSL

File "/usr/lib/python3/dist-packages/OpenSSL/__init__.py", line 8, in

from OpenSSL import crypto, SSL

File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 1553, in

class X509StoreFlags(object):

File "/usr/lib/python3/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'

-1
Avatar
Verwerfen
Ray Carnes (ray)

"Having error on odoo sh" is not a question. I have edited your post to make the title a question.
In the future, please consider using a Question that can make it clear what you ask without requiring people to open your post, as this will often increase the chances people will respond and make everything clearer for others looking for the same answer.
With many subjects posted, not everyone wants to open a post to find out what the question is.
See also https://www.odoo.com/forum/help-1/meta-why-do-some-questions-get-answers-and-others-do-not-25620

luna_22

Hi, I'm having the same problem, please can you help if you found a solution ?

Avatar
Arian Shariat
Beste Antwort

Found the solution finally. The problem is with cryptography and pyopenssl libraries.
change requirements.txt as:

go to terminal and:

`pip uninstall pyopenssl`

`pip install pyopenssl==22.0.0`

`pip uninstall cryptography`

`pip install cryptography==37.0.0`

 Edit your answer Comment ShareMore 

10
Avatar
Verwerfen
Alexandra Bénédicte MOUSSA VEKETO

Thanks a lot...you helped me a lot

Tariq SOBHI

You saved me some much hassles, thanks buddy!

Nikhil Nakrani

Thanks ....

Avatar
Bassam Ramadan
Beste Antwort

It is solved for me, pyopenssl needs to be updated on the stage using the shell.

I tried version 22.0.0 and worked;

use pip3 install pyopenssl==22.0.0

then push an empty commit to the branch

pyopenssl==22.0.0 # AFTER

pyopenssl==22.0.0 # AFTER

3
Avatar
Verwerfen
Avatar
elliotzucker
Beste Antwort

How can I install a separate package for python3.6?

0
Avatar
Verwerfen
Avatar
alucja
Beste Antwort

vhj nnbn 

0
Avatar
Verwerfen
Avatar
Jane Ford
Beste Antwort

Ensure that your OpenSSL library is up-to-date. You might be encountering an issue related to an older version of the library. You can update OpenSSL using your package manager or by downloading the latest version from the official OpenSSL website.

0
Avatar
Verwerfen
Avatar
Tylerklein
Beste Antwort

The error message "AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'" indicates that the pyopenssl library used by your Odoo instance is outdated and missing the required attribute. This issue often occurs when creating a new staging branch in Odoo.

0
Avatar
Verwerfen
Tylerklein

Here are some ways to fix this error:

1. Update pyopenssl:

Using pip:
Open a terminal window.
Run the following command: pip install pyopenssl --upgrade
This will update the pyopenssl library to the latest version.
Using Odoo shell:
Open Odoo shell.
Run the following command: python3 -m pip install pyopenssl --upgrade
2. Update OpenSSL:

Occasionally, the error might arise due to an outdated OpenSSL version.
Update OpenSSL to the latest version available for your system.
This might involve using your package manager or downloading the latest version directly from the OpenSSL website (https://www.openssl.org/source/).
Link: https://basketballstarsunblocked.io

Avatar
Rabie Sakhri
Beste Antwort

In ma case

I just comment the line :

class X509StoreFlags(object):
"""
Flags for X509 verification, used to change the behavior of
:class:`X509Store`.

See `OpenSSL Verification Flags`_ for details.

.. _OpenSSL Verification Flags:
https://www.openssl.org/docs/manmaster/man3/X509_VERIFY_PARAM_set_flags.html
"""
CRL_CHECK = _lib.X509_V_FLAG_CRL_CHECK
CRL_CHECK_ALL = _lib.X509_V_FLAG_CRL_CHECK_ALL
IGNORE_CRITICAL = _lib.X509_V_FLAG_IGNORE_CRITICAL
X509_STRICT = _lib.X509_V_FLAG_X509_STRICT
ALLOW_PROXY_CERTS = _lib.X509_V_FLAG_ALLOW_PROXY_CERTS
POLICY_CHECK = _lib.X509_V_FLAG_POLICY_CHECK
EXPLICIT_POLICY = _lib.X509_V_FLAG_EXPLICIT_POLICY
INHIBIT_MAP = _lib.X509_V_FLAG_INHIBIT_MAP
NOTIFY_POLICY = _lib.X509_V_FLAG_NOTIFY_POLICY
CHECK_SS_SIGNATURE = _lib.X509_V_FLAG_CHECK_SS_SIGNATURE
#CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK


0
Avatar
Verwerfen
Bayu Cahya Pamungkas

Check this out https://github.com/odoo/odoo/issues/99809

Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!

Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!

Registrieren
Verknüpfte Beiträge Antworten Ansichten Aktivität
Workflow for Pushing Changes from Odoo.sh to GitHub Without Merging to the Main Branch
odoosh
Avatar
0
Dez. 24
2226
ODOO.sh Gelöst
odoosh
Avatar
Avatar
Avatar
2
Okt. 24
14150
Changes Not Reflected in Jupyter Notebook on Odoo SH
odoosh
Avatar
Avatar
1
Sept. 24
2690
Outgoing Mail server
odoosh
Avatar
Avatar
1
Mai 24
4329
How to disable mailing in Odoo.sh Gelöst
odoosh
Avatar
Avatar
1
Mai 25
5703
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Herunterladen
  • Github
  • Runbot
  • Übersetzungen
Dienstleistungen
  • Odoo.sh-Hosting
  • Support
  • Upgrade
  • Individuelle Entwicklungen
  • Bildung
  • Buchhalter finden
  • Partner finden
  • Partner werden
Über uns
  • Unsere Firma
  • Markenwerte
  • Kontakt
  • Karriere
  • Veranstaltungen
  • Podcast
  • Blog
  • Kunden
  • Rechtliches • Datenschutz
  • Sicherheit
الْعَرَبيّة 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 ist eine Suite von Open-Source-Betriebsanwendungen, die alle Bedürfnisse Ihres Unternehmens abdecken: CRM, E-Commerce, Buchhaltung, Lager, Kassensystem, Projektmanagement etc.

Das einzigartige Wertversprechen von Odoo ist, dass es gleichzeitig sehr einfach zu bedienen und voll integriert ist.

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