Hi,
I built a project with pycharm pro on windows based on Odoo 18.
I created a database with Odoo community working fine.
I restored a backup of odoo enterprise 17.4 with "localhost:8018/web/database/manager".
Then I was not able to access to the environment from localhost:8018. I got "Internal Server Error".
I would like to come back to my initial state before restoring the 2nd database in order to access the first database.
I tried couple of things mainly :
From Pgadmin4 Databases>Properties>database>Delete(force)
But I still can't run my project from pycharm without having errors.
Is there a solution you see ?
Thank you in advance
Benjamin
The logs :
dPATH~20241012_odoo-18.0_test4\venv\Scripts\python.exe PATH~20241012_odoo-18.0_test4\odoo-bin -c odoo.conf
2024-10-14 02:37:21,138 4132 INFO ? odoo: Odoo version 18.0
2024-10-14 02:37:21,138 4132 INFO ? odoo: Using configuration file at PATH~20241012_odoo-18.0_test4\odoo.conf
2024-10-14 02:37:21,138 4132 INFO ? odoo: addons paths: ['C:\\Users\\benja\\PycharmProjects\\20241012_odoo-18.0_test4\\odoo\\addons', 'c:\\users\\benja\\appdata\\local\\openerp s.a\\odoo\\addons\\18.0', 'c:\\users\\benja\\pycharmprojects\\20241012_odoo-18.0_test4\\addons', 'c:\\users\\benja\\pycharmprojects\\20241012_odoo-18.0_test4\\odoo\\addons']
2024-10-14 02:37:21,138 4132 INFO ? odoo: database: odoo@localhost:5432
2024-10-14 02:37:21,311 4132 INFO ? odoo.addons.base.models.ir_actions_report: You need Wkhtmltopdf to print a pdf version of the reports.
2024-10-14 02:37:21,314 4132 INFO ? odoo.addons.base.models.ir_actions_report: You need Wkhtmltoimage to generate images from html.
2024-10-14 02:37:21,599 4132 INFO ? odoo.service.server: HTTP service (werkzeug) running on AsusZenBook.home:8018
2024-10-14 02:37:48,181 4132 ERROR Database17.4 odoo.http: Exception during request handling.
Traceback (most recent call last):
File "PATH~20241012_odoo-18.0_test4\odoo\modules\__init__.py", line 122, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 84: invalid continuation byte
2024-10-14 02:37:50,304 4132 INFO Database17.4 werkzeug: 127.0.0.1 - - [14/Oct/2024 02:37:50] "GET /favicon.ico HTTP/1.1" 500 - 0 0.000 0.085
PATH~20241012_odoo-18.0_test4\venv\Scripts\python.exe PATH~20241012_odoo-18.0_test4\odoo-bin -c odoo.conf
2024-10-14 02:37:21,138 4132 INFO ? odoo: Odoo version 18.0
2024-10-14 02:37:21,138 4132 INFO ? odoo: Using configuration file at PATH~20241012_odoo-18.0_test4\odoo.conf
2024-10-14 02:37:21,138 4132 INFO ? odoo: addons paths: ['C:\\Users\\benja\\PycharmProjects\\20241012_odoo-18.0_test4\\odoo\\addons', 'c:\\users\\benja\\appdata\\local\\openerp s.a\\odoo\\addons\\18.0', 'c:\\users\\benja\\pycharmprojects\\20241012_odoo-18.0_test4\\addons', 'c:\\users\\benja\\pycharmprojects\\20241012_odoo-18.0_test4\\odoo\\addons']
2024-10-14 02:37:21,138 4132 INFO ? odoo: database: odoo@localhost:5432
2024-10-14 02:37:21,311 4132 INFO ? odoo.addons.base.models.ir_actions_report: You need Wkhtmltopdf to print a pdf version of the reports.
2024-10-14 02:37:21,314 4132 INFO ? odoo.addons.base.models.ir_actions_report: You need Wkhtmltoimage to generate images from html.
2024-10-14 02:37:21,599 4132 INFO ? odoo.service.server: HTTP service (werkzeug) running on AsusZenBook.home:8018
2024-10-14 02:37:48,181 4132 ERROR Database17.4 odoo.http: Exception during request handling.
Traceback (most recent call last):
File "PATH~20241012_odoo-18.0_test4\odoo\modules\__init__.py", line 122, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 84: invalid continuation byte
2024-10-14 02:37:50,304 4132 INFO Database17.4 werkzeug: 127.0.0.1 - - [14/Oct/2024 02:37:50] "GET /favicon.ico HTTP/1.1" 500 - 0 0.000 0.085