Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Gevent Server Error when activating Livechat

By
Omar OUHARI
on 11/3/14, 8:03 AM 1,382 views

I try to run odoo with gevent option but i got this error :

Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\gevent\greenlet.py", line 327, in run
    result = self._run(*self.args, **self.kwargs)
  File "C:\Users\cayley\git\odoo\openerp\service\server.py", line 375, in watch_parent
    ppid = os.getppid()
AttributeError: 'module' object has no attribute 'getppid'
<Greenlet at 0x5521d58L: <bound method GeventServer.watch_parent of <openerp.service.server.GeventServer object at 0x0000000004FC7128>>> failed with AttributeError

 

Someone can help me to fixe this ?

0

Bole

--Bole--
2385
| 5 4 6
Zagreb | Karlovac, Croatia
--Bole--

there is only 10 kind of people the ones that understand binary ... and others

Bole
On 11/12/14, 2:51 AM

instead of running openerp-server try starting openerp-gevent

0
fisher
On 12/8/14, 3:57 AM

in my case, after upgrade pycharm from 3.1 to 4.01, there is same error message

after run the following command in the console , problem resolved

sys.path.insert(0,'D:\\PyCharm4\\helpers\\python-skeletons\\os')

the reason is that the relevant file(_init_.py under os subfolder) defining the getppid is not in the search path,

 

 

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 11/3/14, 8:03 AM
Seen: 1382 times
Last updated: 3/16/15, 8:10 AM