Navigatrix.net - A Voyager's Companion http://navigatrix.net/ |
|
OpenCPN forgot all my tracks http://navigatrix.net/viewtopic.php?f=6&t=658 |
Page 1 of 1 |
Author: | svattila [ 19 Jun 2014, 17:13 ] | ||
Post subject: | OpenCPN forgot all my tracks | ||
Hello, NX-ers! Something bad happened... Accidentally turned off the power supply while opncpn was running, and exporting my tracks to xml. When i restarted opencpn next time, all my previous tracks disappaered. Opening the nx/opncpn folder i can see all my previos tracks in the navobj.xml.1 and navobj.xml.2 ...etc files, they are each around 17 MB, but my current navobj.xml file is empty (375) bytes. I tried to rename one of those xml.1 files to navobj.xml, but after restarting opencpn it deletes the content of the file... What can i do? Is there any way of incorporating those xml.1 .2 etc files into a new navobj.xml file?? See screenshot. Thank you so much! Adrian
|
Author: | Moe [ 19 Jun 2014, 19:38 ] |
Post subject: | Re: OpenCPN forgot all my tracks |
From the OpenCPN website: Quote: If trouble strikes... You have useful automatic rolling backups of navobj.xml, as described above. Copy them somewhere safe before you run OpenCPN again, as they are automatically rolled over, and you lose the oldest one for each invocation of OpenCPN. Rename the "best" one as navobj.xml, and the contents will be automatically used by OCPN. The OpenCPN logfile also serves as a backup through the "LOGBOOK:" entries. These can be used to reconstruct a GPX track. A windows utility for hat purpose ia available here: https://github.com/nohal/LogBookExtractor/downloads Good luck. |
Author: | Moe [ 19 Jun 2014, 22:09 ] |
Post subject: | Re: OpenCPN forgot all my tracks |
The github application runs fine in Wine on a the Navigatrix system. There might be something already suitable to tackle xml, or gpx (basically the same) files pre-installed, but I have looked at it well enough to say either way. |
Author: | svattila [ 20 Jun 2014, 01:15 ] | ||
Post subject: | Re: OpenCPN forgot all my tracks | ||
Success! I deleted all navobj.xml files from the directory NX/opncpn, then renamed the best saved navobj.xml.4 file to navobj.xml, and copied it into the opncpn directory. Now all my tracks are back Thank you again, Moe! Adrian
|
Author: | Moe [ 20 Jun 2014, 02:41 ] |
Post subject: | Re: OpenCPN forgot all my tracks |
My pleasure, Adrian. But it looks like some Vandal or Hun took a purple pen and scribbled on your screen;-) |
Author: | svattila [ 20 Jun 2014, 18:54 ] |
Post subject: | Re: OpenCPN forgot all my tracks |
Must have been them vandals! I heard bad things about them Cheers, Moe! |
Author: | Atmo [ 21 Jun 2014, 06:21 ] |
Post subject: | Re: OpenCPN forgot all my tracks |
Lucky you! I had the same problem runing open Cpn on XP, CPn just froze and I was lucky enaugh to find somebody who was abel to get into the guts of Cpn where the tracks were stored. The he somehow managed to copy the tracks into a folder somewhere into the dephts of windows. I never managed to open them again. Now my XP is so slow that I most likely will never open the folder again, if I find it in the first place. Then to find a way to get them back into Open Cpn is again another huge programming task to be performed. Than it will freeze again because the reason for freezing was there were to many tracks in the first place. Now, how on earth will it be possibel to work out tracks out of all this gibberish? No chance. Think we just have to live with it. For us it is all the way from Spain to thee Marquesas. I should have photographed the screen, That would have worked. Atmo |
Page 1 of 1 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |