File “C:UsersYasirDesktopsoftwareodoo-16.0odooaddonsbase_init_.py”, line 5, in
from . import models
File “C:UsersYasirDesktopsoftwareodoo-16.0odooaddonsbasemodels_init_.py”, line 21, in
from . import ir_mail_server
File “C:UsersYasirDesktopsoftwareodoo-16.0odooaddonsbasemodelsir_mail_server.py”, line 19, in
from OpenSSL import crypto as SSLCrypto
File “C:UsersYasirDesktopodoo16.0odoo-16.0Libsite-packagesOpenSSL_init_.py”, line 8, in
from OpenSSL import SSL, crypto
File “C:UsersYasirDesktopodoo16.0odoo-16.0Libsite-packagesOpenSSLSSL.py”, line 34, in
from OpenSSL.crypto import (
File “C:UsersYasirDesktopodoo16.0odoo-16.0Libsite-packagesOpenSSLcrypto.py”, line 942, in
utils.deprecated(
TypeError: deprecated() got an unexpected keyword argument ‘name’
2024-06-12 10:42:53,196 1428 CRITICAL ? odoo.modules.module: Couldn’t load module web
2024-06-12 10:42:53,196 1428 CRITICAL ? odoo.modules.module: deprecated() got an unexpected keyword argument ‘name’
2024-06-12 10:42:53,196 1428 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 “C:UsersYasirDesktopsoftwareodoo-16.0odooserviceserver.py”, line 1259, in load_server_wide_modules
odoo.modules.module.load_openerp_module(m)
File “C:UsersYasirDesktopsoftwareodoo-16.0odoomodulesmodule.py”, line 471, in load_openerp_module
import(‘odoo.addons.’ + module_name)
File “c:usersyasirdesktopsoftwareodoo-16.0addonsweb_init_.py”, line 4, in
from . import controllers
File “c:usersyasirdesktopsoftwareodoo-16.0addonswebcontrollers_init_.py”, line 5, in
from . import database
File “c:usersyasirdesktopsoftwareodoo-16.0addonswebcontrollersdatabase.py”, line 19, in
from odoo.addons.base.models.ir_qweb import render as qweb_render
File “C:UsersYasirDesktopsoftwareodoo-16.0odooaddonsbase_init_.py”, line 5, in
from . import models
File “C:UsersYasirDesktopsoftwareodoo-16.0odooaddonsbasemodels_init_.py”, line 21, in
from . import ir_mail_server
File “C:UsersYasirDesktopsoftwareodoo-16.0odooaddonsbasemodelsir_mail_server.py”, line 19, in
from OpenSSL import crypto as SSLCrypto
File “C:UsersYasirDesktopodoo16.0odoo-16.0Libsite-packagesOpenSSL_init_.py”, line 8, in
from OpenSSL import SSL, crypto
File “C:UsersYasirDesktopodoo16.0odoo-16.0Libsite-packagesOpenSSLSSL.py”, line 34, in
from OpenSSL.crypto import (
File “C:UsersYasirDesktopodoo16.0odoo-16.0Libsite-packagesOpenSSLcrypto.py”, line 942, in
utils.deprecated(
TypeError: deprecated() got an unexpected keyword argument ‘name’
i have this error while i was making custom module for odoo16 in pycharm project ..i have python 3.12 as interpreter and pycharm 2024. when i make init and manifest file in custom directory and run ,it shows the error..manifest file also asked to install cryptography 3.4.8 as required and i installed…i have searched online and reinstalled cryptography ,upgrade openssl but not find the solution,please help…
i have this error while i was making custom module for odoo16 in pycharm project ..i have python 3.12 as interpreter and pycharm 2024. when i make init and manifest file in custom directory and run ,it shows the error..manifest file also asked to install cryptography 3.4.8 as required and i installed…i have searched online and reinstalled cryptography ,upgrade openssl but not find the solution,please help…
Sohaib Raja is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.