proofresistant wrote: Sun Jul 27, 2025 4:13 pm
Does anyone know the cause or even a solution to my problem with “current.gpx”?
When connecting the XT2 to the PC via USB, the XT2 first creates a "\zūmo XT2\Internal Storage\GPX\
current.gpx" file, in my opinion with the complete route content from the XT2 device.
Firstly, it is frustrating that this often takes several minutes

, at least when I have many routes in the XT2.
I would like to disable this if I could.
Secondly, the resulting current.gpx file is then also unreadable for Basecamp, resulting in the following error

:
An Error occurred while Reading the following file:
gpx\current.gpx
What is wrong here?
(When I only have a few routes on the XT2, everything is often fine

)
I have seen that message a few times. I have assumed that it has been because the USB connection is lost between the Zumo and Basecamp. I've noticed on some occasions that the connection has been broken - perhaps due to a time out. Perhaps because I have been messing inside the folders that Basecamp accesses.
I noticed new behaviour - it was a while ago so I do not know whether it was on the XT1 or XT2. Probably both.
When the Zumo processes data from gpx files - including Basecamp's temp.gpx - It pulls out the <wpt> and the <trk> tags and places the data in the Waypoints and Track stores. The files are removed from the gpx files. The data cannot be imported again. If you delete it from the Zumo, it has gone.
Also, during boot, the contents of current.gpx and the archive folder's numbered gpx files are manipulated to keep track logs of the same period in the same archive.
Two other odd behavious.
When routes are created using Trip Manager, Current.gpx entries are not created.
You cannot delete routes by deleting Current.gpx . I only succeeded by deleting them first from the XT2 and then if you have synch enabled, doing a dance between the XT2 and the Tread app to get rid of others that may reappear after deletion.
Then delete the .trip files and then Cuurent .gpx. Then cold restart let it rebuild a new empty current.gpx
Doing it any other way (and I include when I don't have synch enabled) results in routes reappearing.
There are plenty of potential opportunities for files to become corrupt if the Zumo is interrupted when it is performing such updated.
If you want to send me a corrupt file I can take a look
One other thought which isn't related, but I'll throw it in - as it has just reminded me -----
Sometimes .trip files remain when all routes have gone. I've noticed this only since using Trip Manager, but that doesn't mean it is TripManager that causes it. I've never looked at The .trip folder contents until I started using and checking out TM for the XT2.
At one stage when I discovered that the UUIDs were truly random and unique and that each edit and subsequent transfer resulted in a new unique iD for a route, we realised that we could just make them up using the correct format. Frank realised that anyway because he created readable .trip names. I wondered if as a result of this that there were redundant file names that the other part of the system no longer knew about, so never bothered to delete them.
This would be consistent with other programming errors I have observed eg - where Waypoints are not available to import because there aren't any in internal storage. It doesn't bother looking on the SD card unless it already has at least one waypoint already in active memory. (XT1 issue)