Skip to Content
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
3106 Näkymät

I am trying to run with workers in my odoo8.
I added --workers=2 in my command line when I run odoo.Then I got this error.


2020-09-05 13:40:03,762 12365 ERROR erp openerp.service.server: Worker (12365) Exception occured, exiting...

Traceback (most recent call last):

  File "/home/hsu/gitlab/isp-erp/odoo/openerp/service/server.py", line 725, in run

    self.start()

  File "/home/hsu/gitlab/isp-erp/odoo/openerp/service/server.py", line 767, in start

    self.server = BaseWSGIServerNoBind(self.multi.app)

  File "/home/hsu/gitlab/isp-erp/odoo/openerp/service/server.py", line 62, in __init__

    werkzeug.serving.BaseWSGIServer.__init__(self, "1", "1", app)

  File "/home/hsu/.local/lib/python2.7/site-packages/werkzeug/serving.py", line 705, in __init__

    self.port = self.socket.getsockname()[1]

  File "/usr/lib/python2.7/socket.py", line 228, in meth

    return getattr(self._sock,name)(*args)

  File "/usr/lib/python2.7/socket.py", line 174, in _dummy

    raise error(EBADF, 'Bad file descriptor')

error: [Errno 9] Bad file descriptor

 Have anyone know this issue happend?Please help me.Thanks.

Avatar
Hylkää
Paras vastaus

You probably installed on a system with werkzeug 0.12+

See this for the fix

https://github.com/odoo/odoo/commit/e6b91eb55a129687ece64d635ea3412446d78128

Avatar
Hylkää
Related Posts Vastaukset Näkymät Toimenpide
0
huhtik. 24
402
4
marrask. 23
4253
0
lokak. 23
378
0
jouluk. 22
1334
2
jouluk. 23
17353