-
-
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
psutil.net_io_counters() return same value every time on some machines #551
Comments
when |
now I'm pretty sure that the problem is caused by the NIC name which is not all-regular-ascii-characters composed, after changing the NIC name to plain ascii characters, it works like a charm. The dirty hack actually not work well(maybe sometimes return the wrong data), I'm sorry that I'm not good at character codec manipulation and cannot contribute, hope someone else to fix it. |
OK, I think I have fixed this in ac0da3f. Are you able to compile psutil on Windows and tell me if the issue is actually fixed? |
Tried but couldn't work it out, failed to build psutil just like what you mentioned in INSTALL.rst, using win7 64 bit, vs2013, python 3.4 64bit |
If you give me your email I can send you a pre-compiled exe installer for Python 3.4 64 bit. |
baneyue#gmail.com, just came back from Spring Festival and happy new year |
New releases/installers were released in the meantime. I think this should have already been fixed by now. Closing. |
It's weird that the same code
psutil.net_io_counters()
works on my dev machines(win7 x64) but doesn't work on some other machines that has the same OS as the title says.I've done some investigation that the NIC on the failed system seems to be nothing abnormly, and it has about 20Mbps network io though one NIC.
Is it something relates to runtime?
Python version: 3.4.2
The text was updated successfully, but these errors were encountered: