-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSError: [WinError 0] The operation completed successfully #1877
Comments
Signed-off-by: Giampaolo Rodola <[email protected]>
) Signed-off-by: Giampaolo Rodola <[email protected]>
I have same thing with psutil 5.8.0/5.8.1 (from git and from pip). Here I'm calling proc_times, but this actually happens with other cext.proc_ things. as well
From the same context, with OpenProcess imported using ctypes.
Which is a bit weird, as I'm seeing checks in the source code. The only idea I have - there is some race with GetLastError. I.e. you are checking GetLastError immediately after OpenProcess, UPDATE:
UPDATE: |
The test script may fail with
|
This is supposed to be fixed by #1904 (still unreleased). |
Platform
Bug description
Version 5.7.3 again presented this error corrected in version 3.6.7, I solved my problem by going back to version 3.6.7 ... the error ran on windows server 2012 R2 Datacenter virtualized by VMware
Test results
The text was updated successfully, but these errors were encountered: