Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
5057 Tampilan

Hello Odooers,


I am using Windows OS and installed Ubuntu WSL inside windows and trying to run odoo. Everything works fine and odoo also starts but i got this error and not able to create DB. Can anyone help me.

/odoo/community/16.0/odoo/tools/config.py:565: DeprecationWarning: The longpolling-port is a deprecated alias to the gevent-port option, please use the latter.


As i have also installed  psycogreen library but till error coming.


Thanks in advance

Avatar
Buang
Jawaban Terbai

Hi!

To fix this issue, you need to set the value 0 or False for the parameter "longpolling_port" in your config file:

longpolling_port = False

This solution is checked and it works.


Yurii Razumovskyi

Company Garazd Creation

Useful Odoo apps for your business: https://garazd.biz/shop

Avatar
Buang

Thanks a lot it is workable in my local machine too

Thanks, Dasadiya, for your feedback!

Jawaban Terbai

Hi Haresh Kansara,

This is because of the longpolling_port option used in the default odoorc file or odoo config file. The longpolling-port is a deprecated in odoo16.

Please replace 'longpolling_port' by 'gevent_port' option into your default odoorc file or odoo config file or make it False and the warning will be no more raised.

Please Vote up my answer if it helps you.

Avatar
Buang