跳至内容
菜单
此问题已终结

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.

形象
丢弃
编写者 最佳答案

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.

形象
丢弃
相关帖文 回复 查看 活动
0
5月 22
2556
5
8月 24
24114
1
7月 23
5063
1
3月 15
4625
0
3月 15
3015