Open online-sanaullah opened 6 years ago
Sorry, I don't remember that problem
Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/openerp/service/server.py", line 757, in run self.start() File "/usr/lib/python2.7/dist-packages/openerp/service/server.py", line 802, in start self.server = BaseWSGIServerNoBind(self.multi.app) File "/usr/lib/python2.7/dist-packages/openerp/service/server.py", line 69, in init werkzeug.serving.BaseWSGIServer.init(self, "1", "1", app) File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 506, in init self.port = self.socket.getsockname()[1] File "/usr/lib/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(*args) File "/usr/lib/python2.7/socket.py", line 170, in _dummy raise error(EBADF, 'Bad file descriptor') error: [Errno 9] Bad file descriptor 2018-04-12 13:58:21,470 757 INFO ? openerp.service.server: Worker WorkerHTTP (757) alive 2018-04-12 13:58:21,472 757 ERROR ? openerp.service.server: Worker (757) Exception occured, exiting... Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/openerp/service/server.py", line 757, in run self.start() File "/usr/lib/python2.7/dist-packages/openerp/service/server.py", line 802, in start self.server = BaseWSGIServerNoBind(self.multi.app) File "/usr/lib/python2.7/dist-packages/openerp/service/server.py", line 69, in init werkzeug.serving.BaseWSGIServer.init(self, "1", "1", app) File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 506, in init self.port = self.socket.getsockname()[1] File "/usr/lib/python2.7/socket.py", line 224^C
Actually i managed to resolve the issue by replacing the file "/usr/lib/python2.7/dist-packages/openerp/service/server.py" with the one from odoo's repository, and the service started working.
Looks like the image includes a modified file.
Could you give me more détails plz @online-sanaullah
I can rebuild the image, so server.py
will be up-to-date
It's done. The build has latest version of odoo 8.0
Don't forget to make docker pull ...
@yelizariev well done thanks :+1:
Hi,
Whenever I create a runbot container I get the following error in the logs and the service in the container fails to start
I am not sure what I am missing, or what I am doing wrong. @yelizariev how can we fix this?