-
-
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
[Windows 10 Pro 21H1] PdhAddEnglishCounterW failed #2105
Comments
The code is attempting (and failing) to read the "\System\Processor Queue Length" performance counter. It is possible the counters on your machine are corrupt or disabled. Use the Performance Monitor application (perfmon.exe) and see if you can add that counter from within the app.
|
Awesome! Typing |
Perhaps it's worth to mention |
You could just say “performance counters may be corrupt or disabled” which gives sufficient hints to search for a solution. |
…fails Signed-off-by: Giampaolo Rodola <[email protected]>
Good idea. Done. |
Might want to include "corrupt or...". Also could you "graceful fallback" and simply not provide load counters in that case? Your counter thread will die but everything else should work. |
Summary
Description
I use Glances which uses psutil. When I tried to run it on one of my computers, it gave me this error. The error doesn't occur on other computers.
(I was referred here by @nicolargo through this bug: nicolargo/glances#2045 )
The text was updated successfully, but these errors were encountered: