Skip to content
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

More readable WMI error parsing #10

Open
Laberbear opened this issue Oct 2, 2016 · 0 comments
Open

More readable WMI error parsing #10

Laberbear opened this issue Oct 2, 2016 · 0 comments

Comments

@Laberbear
Copy link

A lot of laptops and other machines don't support the MSAcpi_ThermalZoneTemperature WMI class and will cause this library to crash.

While this is probably the best way to handle this, atleast this common WMI error should be turned into something more usable by the library I think, since it could be a throwback for anyone just wanting the data.

Part of the current error message:

wmi.x_wmi: <x_wmi: Unexpected COM Error (-2147217396, 'OLE error 0x8004100c', None, None)>

List of WMI errors: https://msdn.microsoft.com/en-us/library/aa394559%28VS.85%29.aspx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant