Page 1 of 1

v1.9.0 app bug? - duplicate column name

Posted: Thu May 25, 2017 6:23 pm
by jpf11
Using v1.9.0 of the Windows app on Windows 10. Trying to import a log for analysis. Getting an error "duplicate column name: Oil PressurePSI". Checked the data, only one column has this name that I see.

Somewhat related, the input's name is actually "Oil Pressure", and the unit is PSI. For some reason, RC just adds PSI to the displayed name in the app and apparently in the data column name as well. Another input, "Oil Temp" with a unit F doesn't do this.

I can't seem to attach the log to this post, I keep getting a forum error that I'm trying to upload an empty file, when the file is 5MB. Here are the column headers:

Code: Select all

"Interval"|"ms"|0|0|1,"Utc"|"ms"|0|0|1,"Oil PressurePSI"|"PSI"|0.0|100.0|25,"Oil Temp"|"F"|0.0|300.0|5,"TransTemp"|"F"|0.0|300.0|5,"TPS"|"Percent"|0|100|50,"Analog8"|""|0.0|5.0|50,"Battery"|"Volts"|0.0|20.0|1,"AccelX"|"G"|-3.0|3.0|100,"AccelY"|"G"|-3.0|3.0|100,"AccelZ"|"G"|-3.0|3.0|100,"Yaw"|"Deg/Sec"|-300.0|300.0|100,"Unknown"|""|-1000|1000|100,"Unknown"|""|-1000|1000|100,"RPM"|""|0|8000|100,"Latitude"|"Degrees"|-180.0|180.0|10,"Longitude"|"Degrees"|-180.0|180.0|10,"Speed"|"mph"|0.0|150.0|10,"Distance"|"mi"|0.0|0.0|10,"Altitude"|"ft"|0.0|4000.0|10,"GPSSats"|""|0|20|10,"GPSQual"|""|0|5|10,"GPSDOP"|""|0.0|20.0|10,"LapCount"|""|0|0|10,"LapTime"|"Min"|0.0|0.0|10,"Sector"|""|0|0|10,"SectorTime"|"Min"|0.0|0.0|10,"PredTime"|"Min"|0.0|0.0|10,"ElapsedTime"|"Min"|0.0|0.0|10,"CurrentLap"|""|0|0|10

Posted: Thu May 25, 2017 6:33 pm
by jpf11
On a whim I tried a hunch and edited the column title "Oil PressurePSI" and removed the PSI. I then had to close the app to retry a reload as I couldn't get the app to open up the dialog for selecting the log file again. After restarting the app and selecting the modified log file I then get a duplicate column name error but for "Oil Temp". I then had a hunch that this was due to the spaces throwing off string parsing and so I removed the spaces from both the "Oil Pressure" and "Oil Temp" columns and voila, it loaded.

So the app either needs to tolerate spaces, or needs to prevent entering spaces at all for input names.

Posted: Fri May 26, 2017 3:35 pm
by brentp
Hi,

Yes, we have a fix for that in the upcoming release. we hope to get that out soon, or at least provide a beta shortly. Thanks for reporting it!