Pydev调试代码,报'module' object has no attribute 'getppid'
-
2014-12-26 10:47:02,109 1840 INFO ? openerp.service.server: Evented Service (longpolling) running on 0.0.0.0:8072
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 "D:\GreenSoft\odoodev\green8\odoo-8.0-44e401c\openerp\service\server.py", line 376, in watch_parent
ppid = os.getppid()
AttributeError: 'module' object has no attribute 'getppid'
<Greenlet at 0x66052b0: <bound method GeventServer.watch_parent of <openerp.service.server.GeventServer object at 0x060DE1D0>>> failed with AttributeError
想用pydev调试代码,就报这个错
原因是windows环境中没有getppid属性