콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
4 답글
6668 화면

2022-09-08 23:11:08,232 5619 CRITICAL ? odoo.modules.module: Couldn't load module web 

2022-09-08 23:11:08,232 5619 CRITICAL ? odoo.modules.module: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK' 

2022-09-08 23:11:08,232 5619 ERROR ? odoo.service.server: Failed to load server-wide module `web`.

The `web` module is provided by the addons found in the `openerp-web` project.

Maybe you forgot to add those addons in your addons_path configuration. 

Traceback (most recent call last):

  File "/Users/ruthtsegaye/Desktop/odoo/odoo/service/server.py", line 1210, in load_server_wide_modules

    odoo.modules.module.load_openerp_module(m)

  File "/Users/ruthtsegaye/Desktop/odoo/odoo/modules/module.py", line 396, in load_openerp_module

    __import__('odoo.addons.' + module_name)

  File "/Users/ruthtsegaye/Desktop/odoo/addons/web/__init__.py", line 4, in

    from . import controllers

  File "/Users/ruthtsegaye/Desktop/odoo/addons/web/controllers/__init__.py", line 4, in

    from . import main

  File "/Users/ruthtsegaye/Desktop/odoo/addons/web/controllers/main.py", line 34, in

    from odoo.addons.base.models.ir_qweb import render as qweb_render

  File "/Users/ruthtsegaye/Desktop/odoo/odoo/addons/base/__init__.py", line 5, in

    from . import models

  File "/Users/ruthtsegaye/Desktop/odoo/odoo/addons/base/models/__init__.py", line 23, in

    from . import ir_mail_server

  File "/Users/ruthtsegaye/Desktop/odoo/odoo/addons/base/models/ir_mail_server.py", line 19, in

    from OpenSSL import crypto as SSLCrypto

  File "/usr/local/Caskroom/miniconda/base/envs/newenv/lib/python3.8/site-packages/OpenSSL/__init__.py", line 8, in

    from OpenSSL import crypto, SSL

  File "/usr/local/Caskroom/miniconda/base/envs/newenv/lib/python3.8/site-packages/OpenSSL/crypto.py", line 1553, in

    class X509StoreFlags(object):

  File "/usr/local/Caskroom/miniconda/base/envs/newenv/lib/python3.8/site-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'

2022-09-08 23:11:08,255 5619 CRITICAL ? odoo.modules.module: Couldn't load module base 

2022-09-08 23:11:08,256 5619 CRITICAL ? odoo.modules.module: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK' 

2022-09-08 23:11:08,256 5619 ERROR ? odoo.service.server: Failed to load server-wide module `base`. 


아바타
취소
베스트 답변

Please try to add a addons path or config file path as well 

like  :
    python3 odoo-bin  --addons=addons -d mydb

or 
    python3 odoo-bin  -c config_file -d mydb

아바타
취소
베스트 답변

Try updating the pyOpenSSl package in your env by:

pip install pyOpenSSL --upgrade


아바타
취소

this solved my problem. thanks

작성자 베스트 답변

By switching to Odoo version 14, I was able to repair the bug.


아바타
취소

yes v14 works ok, install from source right?

베스트 답변

i'm having the same issue as you, please tell me the solution if you found one. thanks


아바타
취소
관련 게시물 답글 화면 활동
2
8월 25
2552
0
8월 25
161
1
8월 25
770
0
7월 25
467
1
6월 25
1323