Skip to content
TheChatArchiveThe Chat Archive
gpt-3.5-turbo-0613· openaiHugging Face Suzhen/CodeChat

2023-07-27 21:23:36,360 22632 INFO ? odoo: Odoo version 16.0 2023-07-27 21:23:36,361…

  1. User

    2023-07-27 21:23:36,360 22632 INFO ? odoo: Odoo version 16.0 2023-07-27 21:23:36,361 22632 INFO ? odoo: addons paths: ['C:\Users\Dell\Downloads\odoo-16.0\odoo\addons', 'c:\users\dell\appdata\local\openerp s.a\odoo\addons\16.0', 'c:\users\dell\downloads\odoo-16.0\odoo\addons', 'c:\users\dell\downloads\odoo-16.0\addons'] 2023-07-27 21:23:36,361 22632 INFO ? odoo: database: default@default:default 2023-07-27 21:23:36,461 22632 INFO ? odoo.addons.base.models.ir_actions_report: You need Wkhtmltopdf to print a pdf version of the reports. 2023-07-27 21:23:36,505 22632 CRITICAL ? odoo.modules.module: Couldn't load module web 2023-07-27 21:23:36,505 22632 CRITICAL ? odoo.modules.module: No module named 'OpenSSL' 2023-07-27 21:23:36,505 22632 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:\Users\Dell\Downloads\odoo-16.0\odoo\service\server.py", line 1248, in load_server_wide_modules odoo.modules.module.load_openerp_module(m) File "C:\Users\Dell\Downloads\odoo-16.0\odoo\modules\module.py", line 463, in load_openerp_module import('odoo.addons.' + module_name) File "c:\users\dell\downloads\odoo-16.0\addons\web_init_.py", line 4, in from . import controllers File "c:\users\dell\downloads\odoo-16.0\addons\web\controllers_init_.py", line 5, in from . import database File "c:\users\dell\downloads\odoo-16.0\addons\web\controllers\database.py", line 19, in from odoo.addons.base.models.ir_qweb import render as qweb_render File "C:\Users\Dell\Downloads\odoo-16.0\odoo\addons\base_init_.py", line 5, in from . import models File "C:\Users\Dell\Downloads\odoo-16.0\odoo\addons\base\models_init_.py", line 21, in from . import ir_mail_server File "C:\Users\Dell\Downloads\odoo-16.0\odoo\addons\base\models\ir_mail_server.py", line 19, in from OpenSSL import crypto as SSLCrypto ModuleNotFoundError: No module named 'OpenSSL' 2023-07-27 21:23:36,516 22632 CRITICAL ? odoo.modules.module: Couldn't load module base 2023-07-27 21:23:36,516 22632 CRITICAL ? odoo.modules.module: No module named 'OpenSSL' 2023-07-27 21:23:36,517 22632 ERROR ? odoo.service.server: Failed to load server-wide module base. Traceback (most recent call last): File "C:\Users\Dell\Downloads\odoo-16.0\odoo\service\server.py", line 1248, in load_server_wide_modules odoo.modules.module.load_openerp_module(m) File "C:\Users\Dell\Downloads\odoo-16.0\odoo\modules\module.py", line 463, in load_openerp_module import('odoo.addons.' + module_name) File "C:\Users\Dell\Downloads\odoo-16.0\odoo\addons\base_init_.py", line 5, in from . import models File "C:\Users\Dell\Downloads\odoo-16.0\odoo\addons\base\models_init_.py", line 21, in from . import ir_mail_server File "C:\Users\Dell\Downloads\odoo-16.0\odoo\addons\base\models\ir_mail_server.py", line 19, in from OpenSSL import crypto as SSLCrypto ModuleNotFoundError: No module named 'OpenSSL' 2023-07-27 21:23:36,595 22632 INFO ? odoo.service.server: HTTP service (werkzeug) running on DESKTOP-I7087AF.Home:8069 2023-07-27 21:23:40,645 22632 INFO ? odoo.sql_db: Connection to the database failed Exception in thread odoo.service.cron.cron0: Traceback (most recent call last): File "C:\Users\Dell\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1016, in _bootstrap_inner self.run() File "C:\Users\Dell\AppData\Local\Programs\Python\Python310\lib\threading.py", line 953, in run self._target(*self._args, **self._kwargs) File "C:\Users\Dell\Downloads\odoo-16.0\odoo\service\server.py", line 497, in target self.cron_thread(i) File "C:\Users\Dell\Downloads\odoo-16.0\odoo\service\server.py", line 455, in cron_thread with conn.cursor() as cr: File "C:\Users\Dell\Downloads\odoo-16.0\odoo\sql_db.py", line 740, in cursor return Cursor(self.__pool, self.__dbname, self.__dsn) File "C:\Users\Dell\Downloads\odoo-16.0\odoo\sql_db.py", line 267, in init self.cnx = pool.borrow(dsn) File "C:\Users\Dell\AppData\Local\Programs\Python\Python310\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\Dell\Downloads\odoo-16.0\odoo\tools\func.py", line 87, in locked return func(inst, *args, **kwargs) File "C:\Users\Dell\Downloads\odoo-16.0\odoo\sql_db.py", line 668, in borrow result = psycopg2.connect( File "C:\Users\Dell\AppData\Local\Programs\Python\Python310\lib\site-packages\psycopg2_init.py", line 122, in connect conn = _connect(dsn, connection_factory=connection_factory, **kwasync) psycopg2.OperationalError: connection to server at "localhost" (::1), port 5432 failed: Connection refused (0x0000274D/10061) Is the server running on that host and accepting TCP/IP connections? connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused (0x0000274D/10061) Is the server running on that host and accepting TCP/IP connections?

    2023-07-27 21:23:44,757 22632 INFO ? odoo.sql_db: Connection to the database failed Exception in thread odoo.service.cron.cron1: Traceback (most recent call last): File "C:\Users\Dell\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1016, in _bootstrap_inner self.run() File "C:\Users\Dell\AppData\Local\Programs\Python\Python310\lib\threading.py", line 953, in run self._target(*self._args, **self._kwargs) File "C:\Users\Dell\Downloads\odoo-16.0\odoo\service\server.py", line 497, in target self.cron_thread(i) File "C:\Users\Dell\Downloads\odoo-16.0\odoo\service\server.py", line 455, in cron_thread with conn.cursor() as cr: File "C:\Users\Dell\Downloads\odoo-16.0\odoo\sql_db.py", line 740, in cursor return Cursor(self.__pool, self.__dbname, self.__dsn) File "C:\Users\Dell\Downloads\odoo-16.0\odoo\sql_db.py", line 267, in init self.cnx = pool.borrow(dsn) File "C:\Users\Dell\AppData\Local\Programs\Python\Python310\lib\site-packages\decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "C:\Users\Dell\Downloads\odoo-16.0\odoo\tools\func.py", line 87, in locked return func(inst, *args, **kwargs) File "C:\Users\Dell\Downloads\odoo-16.0\odoo\sql_db.py", line 668, in borrow result = psycopg2.connect( File "C:\Users\Dell\AppData\Local\Programs\Python\Python310\lib\site-packages\psycopg2_init.py", line 122, in connect conn = _connect(dsn, connection_factory=connection_factory, **kwasync) psycopg2.OperationalError: connection to server at "localhost" (::1), port 5432 failed: Connection refused (0x0000274D/10061) Is the server running on that host and accepting TCP/IP connections? connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused (0x0000274D/10061) Is the server running on that host and accepting TCP/IP connections?

  2. Assistant

    The log message shows the information and errors related to an Odoo server running version 16.0. It indicates the paths to the addons, the database connection details, and the failure to load the 'web' and 'base' modules.

    The error message 'No module named 'OpenSSL'' suggests that the required OpenSSL module is missing. This module is needed for the server to function properly. Additionally, the error 'connection to server at "localhost", port 5432 failed: Connection refused' indicates that the server is unable to establish a connection to the PostgreSQL database.

    To resolve these issues, you can try the following steps:

    1. Install the OpenSSL module: Ensure that the OpenSSL module is installed on your system. You can use the following command to install it using pip:

      pip install pyopenssl
      
    2. Check the PostgreSQL database: Make sure that the PostgreSQL service is running, and the server is configured to accept TCP/IP connections on port 5432. Verify the database connection settings specified in the Odoo configuration file.

    3. Verify addons_path configuration: Check the Odoo configuration file (odoo.conf) and ensure that the addons_path is properly configured to include the paths to the required addons.

    Once you have made the necessary changes, restart the Odoo server and check if the errors have been resolved.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.