Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

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

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
odoosh
7 Respuestas
51825 Vistas
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
Descartar
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
Mejor respuesta

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
Descartar
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
Mejor respuesta

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
Descartar
Avatar
elliotzucker
Mejor respuesta

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

0
Avatar
Descartar
Avatar
alucja
Mejor respuesta

vhj nnbn 

0
Avatar
Descartar
Avatar
Jane Ford
Mejor respuesta

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
Descartar
Avatar
Tylerklein
Mejor respuesta

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
Descartar
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
Mejor respuesta

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
Descartar
Bayu Cahya Pamungkas

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

¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
Workflow for Pushing Changes from Odoo.sh to GitHub Without Merging to the Main Branch
odoosh
Avatar
0
dic 24
2155
ODOO.sh Resuelto
odoosh
Avatar
Avatar
Avatar
2
oct 24
14098
Changes Not Reflected in Jupyter Notebook on Odoo SH
odoosh
Avatar
Avatar
1
sept 24
2645
Outgoing Mail server
odoosh
Avatar
Avatar
1
may 24
4288
How to disable mailing in Odoo.sh Resuelto
odoosh
Avatar
Avatar
1
may 25
5647
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

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