Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6666 Lượt xem

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!

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ