تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
6561 أدوات العرض

I am able to run odoo v8 code in windows. But when I debug the code, the error occurs:

    ppid = os.getppid()
AttributeError: 'module' object has no attribute 'getppid'

Environment:

Windows 7, eclipse, pydev, odoo v8 code(latest code several days ago), debug mode.

Thank you for your help in advance!

الصورة الرمزية
إهمال
أفضل إجابة

Same for me, with Windows 8, PyCharm and Odoo 8.

I resolved this issue by uninstalling *gevent*:

    pip uninstall gevent

I can now debug in my custom Odoo modules

الصورة الرمزية
إهمال