Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda

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
Buang
Penulis Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
0
Mei 22
2945
5
Agu 24
24822
1
Jul 23
5480
1
Mar 15
5020
0
Mar 15
3304