irfan-arshad-arbisoft / mytracks

Automatically exported from code.google.com/p/mytracks
0 stars 0 forks source link

Import of GPX file with multiple tracks fails #1494

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Move attached file to the /MyTracks/gpx folder on your Android phone
2. Run Import All / GPX from MyTracks

What is the expected output? What do you see instead?
MyTracks says 0/1 imported.  I'd expect 1/1 imported.

What version of MyTracks are you using? On what version of Android? On what 
phone?
Samsung Note 3, KitKat, MyTracks 2.0.6

If possible please provide a log by uploading here.
Detailed instructions can be found here:
http://code.google.com/p/mytracks/wiki/HowToReportErrors

Spend some time trying to capture the log, but didn't work out.
Error logs show "class not found when unmarshalling".

Please provide any additional information here:

This is an actual GPX file for a cycling race.

The problem is that there are two "trk" elements in the file.  If I remove one 
of the elements, the import works fine, but then it misses half the race.

Original issue reported on code.google.com by wesseltr...@gmail.com on 16 Apr 2014 at 10:46

Attachments:

GoogleCodeExporter commented 9 years ago
Can you file a feature request to be able to import a gpx file containing two 
tracks.

Original comment by jshih@google.com on 13 Jun 2014 at 7:22