You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do a capture for 10 seconds, it generates a csv file, but when selecting it for visualization and hitting Visualize i get the error "Wrong format. Did not save any metrics for visualization."
In PlotData.cs something seems to go wrong with the while loop at line 243 inside the LoadData function, specifically the double parsing in the if statement on line 254 if (double.TryParse(values[indexFrameStart], out var frameStart) && double.TryParse(values[indexFrameTimes], out var frameTimes) && int.TryParse(values[indexAppMissed], out var appMissed))
It seems that by changing the values in the TimeInSeconds, MsBetweenPresents and MsUntilRenderComplete columns in my csv file to integers managed to get me past the error, I also tried replacing the "." in every decimal number with "," but that didn't help.
Since the check on line 254 is the point that needs to be passed for anything to be added to session.frameStart and the error only shows up when session.frameStart.Count() == 0 on line 310 failure to parse the values from the csv file as doubles should be the issue.
Why the double parser is unable to parse decimal numbers however is a complete mystery to me. Someone with more knowledge of how CSV readers and double parsers in C# work could probably figure this out though.
The text was updated successfully, but these errors were encountered:
I do a capture for 10 seconds, it generates a csv file, but when selecting it for visualization and hitting Visualize i get the error "Wrong format. Did not save any metrics for visualization."
In PlotData.cs something seems to go wrong with the while loop at line 243 inside the LoadData function, specifically the double parsing in the if statement on line 254
if (double.TryParse(values[indexFrameStart], out var frameStart) && double.TryParse(values[indexFrameTimes], out var frameTimes) && int.TryParse(values[indexAppMissed], out var appMissed))
It seems that by changing the values in the TimeInSeconds, MsBetweenPresents and MsUntilRenderComplete columns in my csv file to integers managed to get me past the error, I also tried replacing the "." in every decimal number with "," but that didn't help.
Since the check on line 254 is the point that needs to be passed for anything to be added to session.frameStart and the error only shows up when
session.frameStart.Count() == 0
on line 310 failure to parse the values from the csv file as doubles should be the issue.Why the double parser is unable to parse decimal numbers however is a complete mystery to me. Someone with more knowledge of how CSV readers and double parsers in C# work could probably figure this out though.
The text was updated successfully, but these errors were encountered: