[Python-projects] ImportError from proc module in logilab-common on Windows

Sini Mäkelä sini.makela at gmail.com
Wed Feb 4 13:12:06 CET 2009


Hi,

>> It was not a known issue until now : http://www.logilab.org/ticket/7915
>>
>> Thanks for the bug report. We will look into this shortly. It is most
>> probably a Windows-only issue.
>
>Until we make a new release of logilab-common, a way of getting pylint to run
>is to edit C:\Python25\Lib\site-packages\logilab\common\proc.py", line 115
>to:
>
>from signal import *
>
>Please tell us if this does the trick for you.

There are also some other imports in following lines that won't work
on Windows with Python 2.5.2.

line 116: from os import killpg, getpid, setpgrp
killpg & setpgrp don't exist

line 120: from resource import getrlimit, setrlimit, RLIMIT_CPU, RLIMIT_AS
resource doesn't exist

By the way, what is proper way to report bugs? I couldn't find this
information on the web page. I would have added this as a comment to
the bug report, but couldn't figure out how to do that either.
Anonymous comment wasn't accepted... I think.

- Sini


More information about the Python-Projects mailing list