Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
3966 Weergaven

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.

Avatar
Annuleer
Auteur Beste antwoord

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.

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
mei 22
3082
5
aug. 24
25129
1
jul. 23
5609
1
mrt. 15
5107
0
mrt. 15
3481