Skip to Content
Menu
This question has been flagged
1 Reply
3105 Views

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
Discard
Best Answer

You probably installed on a system with werkzeug 0.12+

See this for the fix

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

Avatar
Discard
Related Posts Replies Views Activity
0
Apr 24
402
4
Nov 23
4252
0
Oct 23
378
0
Dec 22
1334
2
Dec 23
17353