You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hhmm... that looks like a Python bug. open(...).read() sets IOError with errno to 0. Weird.
For completeness open_text() here is just a 1:1 wrapper around open(), so nothing "special":
Yeah, unfortunately in case of errno = 0 there really isn't a sane decision that psutil can take regarding how to handle it: letting it propagate is the best compromise IMO.
And yeah, I agree this looks like a bug with the old Linux distro you're using.
Closing this out.
IOError: [Errno 0] Error
was raised when callingproc.as_dict(attrs=['pid', 'environ'])
environment:
python 2.7.11
,psutil 4.3.0
, happened during running a test suite inpy.test 2.9.2
The text was updated successfully, but these errors were encountered: