Se rendre au contenu
Menu
Cette question a été signalée

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
Ignorer
Auteur Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
0
mai 22
2556
5
août 24
24120
1
juil. 23
5063
1
mars 15
4625
0
mars 15
3016