Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

Hi,

So I have been trying to get longpolling to work on my v16 server without success.

server is running because I can access odoo on the localhost:8069. However any actions I take/make in the database, I do not get a log of what occured. The only thing that logs are the first 6 lines. After that nothing else logs (longpolling).

2022-12-15 00:01:10,509 364 INFO ? odoo: Odoo version 16.0-20221206 
2022-12-15 00:01:10,510 364 INFO ? odoo: Using configuration file at C:\Program Files\Odoo 16.0.20221206\server\odoo.conf 
2022-12-15 00:01:10,510 364 INFO ? odoo: addons paths: ['C:\\Program Files\\Odoo 16.0.20221206\\server\\odoo\\addons', 'c:\\users\\59996\\appdata\\local\\openerp s.a\\odoo\\addons\\16.0', 'c:\\program files\\odoo 16.0.20221206\\server\\odoo\\addons', 'c:\\program files\\odoo 16.0.20221206\\server\\tutorials'] 
2022-12-15 00:01:10,510 364 INFO ? odoo: database: openpg2@localhost:5433 
2022-12-15 00:01:10,630 364 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at C:\Program Files\Odoo 16.0.20221206\thirdparty\wkhtmltopdf.exe 
2022-12-15 00:01:10,802 364 INFO ? odoo.service.server: HTTP service (werkzeug) running on localhost:8070

Any help would be greatly appreciated! 

PS: I noticed when I restart service in windows services everything starts to work. For whatever reason, Pycharm Stop & rerun button does not do the same thing.

Awatar
Odrzuć
Autor Najlepsza odpowiedź

Figured it out. Pycharm was running server at same time that Windows was running the service (service was set to run automatically). I changed service setting to manually, now when I only run from Pycharm I get all the logs and longpolling.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
maj 22
2588
5
sie 24
24179
1
lip 23
5119
1
mar 15
4649
0
mar 15
3049