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

"An Unexpected Error Has Occured" message for non-numerical values #60

Open
souleex opened this issue Sep 27, 2024 · 0 comments
Open

"An Unexpected Error Has Occured" message for non-numerical values #60

souleex opened this issue Sep 27, 2024 · 0 comments

Comments

@souleex
Copy link

souleex commented Sep 27, 2024

I'm using this in conjunction with Rainmeter, and it looks like the plugin crashes when non numerical values are read from HWiNFO. Would it be possible to interpret these non-numerical values as zero, or allow us to "blacklist" certain imported sensors instead of having the entire plugin crash?

9/27/2024 12:13:45 AM: HWInfo sensor failed momentarily during operation: HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0D2BV)/Drive Failure/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0D2BV)/Drive Warning/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0A6LV)/Drive Failure/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0A6LV)/Drive Warning/ - Value not parsed: No
HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3WJWS2LJ)/Drive Failure/ - Value not parsed: No
HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3WJWS2LJ)/Drive Warning/ - Value not parsed: No
HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3WJSK41L)/Drive Failure/ - Value not parsed: No
HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3WJSK41L)/Drive Warning/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD03TWS)/Drive Failure/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD03TWS)/Drive Warning/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0EQQ5)/Drive Failure/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0EQQ5)/Drive Warning/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST22000NT001-3LS101 (ZX20YFWA)/Drive Failure/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST22000NT001-3LS101 (ZX20YFWA)/Drive Warning/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST22000NT001-3LS101 (ZX21DQFB)/Drive Failure/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST22000NT001-3LS101 (ZX21DQFB)/Drive Warning/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0DTH2)/Drive Failure/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0DTH2)/Drive Warning/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0DVH7)/Drive Failure/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0DVH7)/Drive Warning/ - Value not parsed: No
HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3RJ36JWA)/Drive Failure/ - Value not parsed: No
HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3RJ36JWA)/Drive Warning/ - Value not parsed: No
HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3FGTHGTU)/Drive Failure/ - Value not parsed: No
HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3FGTHGTU)/Drive Warning/ - Value not parsed: No
HWInfo/S.M.A.R.T.: WD_BLACK SN770 1TB (241512804858)/Drive Failure/ - Value not parsed: No
HWInfo/S.M.A.R.T.: WD_BLACK SN770 1TB (241512804858)/Drive Warning/ - Value not parsed: No
9/27/2024 12:13:45 AM: Unhandled exception in FanControl v204.0.0.0
9/27/2024 12:13:45 AM: LogUnhandledException - System.Exception: HWInfo sensors failed: HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0D2BV)/Drive Failure/, HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0D2BV)/Drive Warning/, HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0A6LV)/Drive Failure/, HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0A6LV)/Drive Warning/, HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3WJWS2LJ)/Drive Failure/, HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3WJWS2LJ)/Drive Warning/, HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3WJSK41L)/Drive Failure/, HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3WJSK41L)/Drive Warning/, HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD03TWS)/Drive Failure/, HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD03TWS)/Drive Warning/, HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0EQQ5)/Drive Failure/, HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0EQQ5)/Drive Warning/, HWInfo/S.M.A.R.T.: ST22000NT001-3LS101 (ZX20YFWA)/Drive Failure/, HWInfo/S.M.A.R.T.: ST22000NT001-3LS101 (ZX20YFWA)/Drive Warning/, HWInfo/S.M.A.R.T.: ST22000NT001-3LS101 (ZX21DQFB)/Drive Failure/, HWInfo/S.M.A.R.T.: ST22000NT001-3LS101 (ZX21DQFB)/Drive Warning/, HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0DTH2)/Drive Failure/, HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0DTH2)/Drive Warning/, HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0DVH7)/Drive Failure/, HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0DVH7)/Drive Warning/, HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3RJ36JWA)/Drive Failure/, HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3RJ36JWA)/Drive Warning/, HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3FGTHGTU)/Drive Failure/, HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3FGTHGTU)/Drive Warning/, HWInfo/S.M.A.R.T.: WD_BLACK SN770 1TB (241512804858)/Drive Failure/, HWInfo/S.M.A.R.T.: WD_BLACK SN770 1TB (241512804858)/Drive Warning/
at FanControl.HWInfo.HWInfoPlugin.Update() in C:\projects\fancontrol-hwinfo\HWInfoPlugin.cs:line 93
at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Update()
at FanControl.Domain.ComputerAccessLayer.Update()
at FanControl.Domain.ApplicationClock.DoActions()
--- End of stack trace from previous location ---
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
9/27/2024 12:15:18 AM: HWInfo sensor failed momentarily during operation: HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0D2BV)/Drive Failure/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0D2BV)/Drive Warning/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0A6LV)/Drive Failure/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0A6LV)/Drive Warning/ - Value not parsed: No
HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3WJWS2LJ)/Drive Failure/ - Value not parsed: No
HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3WJWS2LJ)/Drive Warning/ - Value not parsed: No
HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3WJSK41L)/Drive Failure/ - Value not parsed: No
HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3WJSK41L)/Drive Warning/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD03TWS)/Drive Failure/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD03TWS)/Drive Warning/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0EQQ5)/Drive Failure/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0EQQ5)/Drive Warning/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST22000NT001-3LS101 (ZX20YFWA)/Drive Failure/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST22000NT001-3LS101 (ZX20YFWA)/Drive Warning/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST22000NT001-3LS101 (ZX21DQFB)/Drive Failure/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST22000NT001-3LS101 (ZX21DQFB)/Drive Warning/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0DTH2)/Drive Failure/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0DTH2)/Drive Warning/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0DVH7)/Drive Failure/ - Value not parsed: No
HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0DVH7)/Drive Warning/ - Value not parsed: No
HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3RJ36JWA)/Drive Failure/ - Value not parsed: No
HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3RJ36JWA)/Drive Warning/ - Value not parsed: No
HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3FGTHGTU)/Drive Failure/ - Value not parsed: No
HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3FGTHGTU)/Drive Warning/ - Value not parsed: No
HWInfo/S.M.A.R.T.: WD_BLACK SN770 1TB (241512804858)/Drive Failure/ - Value not parsed: No
HWInfo/S.M.A.R.T.: WD_BLACK SN770 1TB (241512804858)/Drive Warning/ - Value not parsed: No
9/27/2024 12:15:18 AM: Unhandled exception in FanControl v204.0.0.0
9/27/2024 12:15:18 AM: LogUnhandledException - System.Exception: HWInfo sensors failed: HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0D2BV)/Drive Failure/, HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0D2BV)/Drive Warning/, HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0A6LV)/Drive Failure/, HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0A6LV)/Drive Warning/, HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3WJWS2LJ)/Drive Failure/, HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3WJWS2LJ)/Drive Warning/, HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3WJSK41L)/Drive Failure/, HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3WJSK41L)/Drive Warning/, HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD03TWS)/Drive Failure/, HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD03TWS)/Drive Warning/, HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0EQQ5)/Drive Failure/, HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0EQQ5)/Drive Warning/, HWInfo/S.M.A.R.T.: ST22000NT001-3LS101 (ZX20YFWA)/Drive Failure/, HWInfo/S.M.A.R.T.: ST22000NT001-3LS101 (ZX20YFWA)/Drive Warning/, HWInfo/S.M.A.R.T.: ST22000NT001-3LS101 (ZX21DQFB)/Drive Failure/, HWInfo/S.M.A.R.T.: ST22000NT001-3LS101 (ZX21DQFB)/Drive Warning/, HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0DTH2)/Drive Failure/, HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0DTH2)/Drive Warning/, HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0DVH7)/Drive Failure/, HWInfo/S.M.A.R.T.: ST24000NT002-3N1101 (ZYD0DVH7)/Drive Warning/, HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3RJ36JWA)/Drive Failure/, HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3RJ36JWA)/Drive Warning/, HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3FGTHGTU)/Drive Failure/, HWInfo/S.M.A.R.T.: WDC WUH721818ALE6L4 (3FGTHGTU)/Drive Warning/, HWInfo/S.M.A.R.T.: WD_BLACK SN770 1TB (241512804858)/Drive Failure/, HWInfo/S.M.A.R.T.: WD_BLACK SN770 1TB (241512804858)/Drive Warning/
at FanControl.HWInfo.HWInfoPlugin.Update() in C:\projects\fancontrol-hwinfo\HWInfoPlugin.cs:line 93
at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Update()
at FanControl.Domain.ComputerAccessLayer.Update()
at FanControl.Domain.ApplicationClock.DoActions()
--- End of stack trace from previous location ---
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

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