DesktopInfo version: 3.7.0
Windows version: 10.0.22621 (windows 11)
logicaldrives diskio:1 has a bug when the transferrate of a disk is too high it throws an error:
[e:EVariantOverflowError Overflow while converting variant of type (Double) into type (Integer)]
The chart stops displaying and desktopinfo stops rendering the whole application after the error happens. I have to do a complete restart for it to start working again.
My config:
LOGICALDRIVES=interval:1,diskio:1,include:cde,chart:line scale:linear series1:11 color1:%darkgreen% series2:13 color2:%darkred% row-id:1 width:120, row-text:%1: (%3),display:%chart% r: %11[1.1B]B/s / w: %13[1.1B]B/s
Logged. Thanks for the bug report.
If anyone is interested.
Temporary workaround:
LOGICALDRIVES=interval:1,diskio:1,include:cdefghi,chart:filled height:2 scale:linear series1:{{(%11/1024)/1024}} color1:%darkgreen% series2:{{Neg((%13/1024)/1024)}} color2:%darkred% row-id:1 width:140, row-text:%1: (%3),display:%chart% {{(%11/1024)/1024}}[1.2f] / {{(%13/1024)/1024}}[1.2f] MB/s
You may correct me on my math if i'm wrong π
where do you see the exception error? does it pop up a dialog?
In the logfile. No dialog.
And the application stops rendering information after the affected graph.
To me it looks like an issue with the graph value similar to one of the netpacketsrate issues i reported.
When the value being fed into the graph is too large it just can't cope with it.
So if you look at the workaround I posted it works if i decrease the value being fed into the graph.
There's a lot of legacy 32 bit code kicking around in there that barfs on big numbers, this is such a case. Converting them to 64 bit solves the problem.
This bug was fixed in latest version =)
Thanks !