Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
4 Відповіді
3921 Переглядів

I am trying to get the odoo local host server to work. i am getting the error as: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 97: invalid start byte.

The pre installations are already done the postgres, pgadmin, newest python version. i am using pycharm in windows. i think the erros is due to the psycopg2 wiht the postgres server. any one had the same issue??


Аватар
Відмінити

Hi, did you find the solution to this problem?


Найкраща відповідь

I'm pretty sure the issue is due to the browser cache. Try opening it in a private/incognito window to confirm.  

Аватар
Відмінити
Найкраща відповідь

i think the issue in the postgres user try to alter role utf8 to user by the below (run it from psql shell)

ALTER ROLE user SET client_encoding TO 'utf8';

change user with your postgres user

Аватар
Відмінити
Найкраща відповідь

I'm setting up odoo 18 on localhost and I encountered this error. Your solution worked very well for me. Thank you!

Аватар
Відмінити
Автор Найкраща відповідь

There was no easy fix. It seems that running the odoo server locally in windows is a huge gamble, dependency-version-wise. 


Therefore I am using wsl now at the tradeoff of slightly worse PyCharm integration.

This Video was great help: https://www.youtube.com/watch?v=4wpaTRaOwJo


Best 

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
вер. 21
4421
1
лип. 25
1505
1
черв. 24
2005
2
квіт. 24
10704
0
січ. 24
2304