Page 1 of 2

Errors importing track day data

Posted: Tue Jun 11, 2019 9:38 am
by bulls23
I was trying to import track day data from a friend. Phone to phone did not work, don't remember the error but it basically started the export and import but did not save any data.
I then did an export but that gives an error too:
IMG_6206.PNG
IMG_6206.PNG (1.25 MiB) Viewed 3938 times
Any way I can re-format that part to make it work?
Data works fine on the phone it was recorded on, both were on version 23.0.1

Re: Errors importing track day data

Posted: Thu Jun 13, 2019 11:48 am
by Harry
This type of corrupt timestamps occurred for some pre-v23 versions and can still occur for manual recordings. Check Data will fix this often, but not always. Laps with this type will often show up with ridiculous lap times in Lap List too. I recommend to delete them completely. The export can be edited manually too, on Unix based machines, try

Code: Select all

cat LapTimer*.hlptrz | gunzip > LapTimer.hlptrl
to get an editable file.

- Harry

Re: Errors importing track day data

Posted: Thu Jun 13, 2019 12:04 pm
by bulls23
I had managed to rename and unzip the file, but what do I have to change manually in the file?

Re: Errors importing track day data

Posted: Thu Jun 13, 2019 12:08 pm
by Harry
This depends on the actual content. :-)
You can remove intermediate sections completely. They can be recreated using one of the Recalculate functions at any time. Take care to remove both opening and closing tags so the file is still valid XML.

- Harry

Re: Errors importing track day data

Posted: Thu Jun 13, 2019 6:28 pm
by F82GTS
Hi,
I have the same issue. I recorded 2 track days this weekend and tried transferring from iPhone7 to iPhoneX. It transfers only the laps from the first day. Tried multiple times, laps, database but it always comes back with the "parsing error" message similar to the first post. I even erased the older phone and restored from itunes backup and all the laps (both days) were restored but again only the first day laps transfer to the new phone. Database check says OK.
What else should I try?

Re: Errors importing track day data

Posted: Fri Jun 14, 2019 2:27 pm
by bulls23
Ok, so I edited the file and put it back on my iPhone and this time the import worked. I see the times, calculated average speed, date, car...but none of the diagrams show any data or GPS fixes and therefore I can't do any of the re-calcuklations...never have had this type of issues before.

Edit: There was a very long lap recording, basically a "misfire" from within the box...deleted that one and now import and data are fine, thanks for the support.

Re: Errors importing track day data

Posted: Fri Jun 14, 2019 8:53 pm
by Harry
F82GTS wrote: Thu Jun 13, 2019 6:28 pm Hi,
I have the same issue. I recorded 2 track days this weekend and tried transferring from iPhone7 to iPhoneX. It transfers only the laps from the first day. Tried multiple times, laps, database but it always comes back with the "parsing error" message similar to the first post. I even erased the older phone and restored from itunes backup and all the laps (both days) were restored but again only the first day laps transfer to the new phone. Database check says OK.
What else should I try?
Please post a snapshot of the error message like bulls23 did.

- Harry

Re: Errors importing track day data

Posted: Sat Jun 15, 2019 2:00 pm
by F82GTS
Here you go.
thumbnail_IMG_0053 (1).png
thumbnail_IMG_0053 (1).png (621.89 KiB) Viewed 3899 times
thumbnail_IMG_0051 (1).png
thumbnail_IMG_0051 (1).png (608.48 KiB) Viewed 3899 times

Re: Errors importing track day data

Posted: Sat Jun 15, 2019 3:23 pm
by Harry
It is probably the 18th lap included in the export that triggers this issue. Please remove the complete section from <intermediates> to </intermediates> to allow an import:

1) Rename the .hlptrz file to .hlptrl.gz
2) Use Ungzip to remove compression and get the .hlptrl file
3) Open that file using a plain text editor (e.g. Notepad)
4) Search for "1056:48.68" to find the named <intermediates> section
5) Remove everything from <intermediates> to </intermediates>
6) Save the file and send it by email to yourself
7) Open the .hlptrl file on your smartphone

NB: every import will add laps, so the 17 laps you got a message on before show up as duplicates. You need to delete these manually.

- Harry

Re: Errors importing track day data

Posted: Fri Jun 21, 2019 4:42 pm
by F82GTS
Thank you. Could you point me to the right tutorial for how the files can be edited and what software to use?