Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 19-11-2010, 01:59   #1
Marine Service Provider
 
edsailing's Avatar

Join Date: Apr 2009
Location: Devon, UK
Boat: Sailing vessels up to 200 tons
Posts: 388
Images: 1
Where Have My Tracks Gone ?

Fired up OpenCPN today and discovered that all the tracks have disappeared!

Can anyone help me find/restore them?
__________________
Regards, Ed

Delivering boats for a living - no more!
edsailing is offline   Reply With Quote
Old 19-11-2010, 03:07   #2
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,209
Quote:
Originally Posted by edsailing View Post
Fired up OpenCPN today and discovered that all the tracks have disappeared!

Can anyone help me find/restore them?
Which version are you using? You can find the tracks in a file named navobj.xml, which is located next to your logfile - to find the location of it, read "Location of Important Files. Log and config files." at the bottom of Installing OpenCPN | Official OpenCPN Homepage
If you installed 2.2.1111 beta and have non-ascii characters in the path to navobj.xml, you were hit by a bug which will be corrected in the next beta.

Pavel
nohal is online now   Reply With Quote
Old 19-11-2010, 05:39   #3
Marine Service Provider
 
edsailing's Avatar

Join Date: Apr 2009
Location: Devon, UK
Boat: Sailing vessels up to 200 tons
Posts: 388
Images: 1
Hi Pavel

Using 2.1.0 build 624a June 2010.

Not sure if I can get 'behind the scenes' and if I did, how would I get it back into the open - I guess I am looking for quick fix that is idiot proof!

Thanks for the help so far
__________________
Regards, Ed

Delivering boats for a living - no more!
edsailing is offline   Reply With Quote
Old 19-11-2010, 08:41   #4
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,209
hmm, 2.1, then you are not hit by my latest error...
Locate navobj.xml and check what's in there or post the file so we can see.
If you tell me what operating system you use, I will try to tell you how to find the file if you don't know yourself.

Pavel
nohal is online now   Reply With Quote
Old 19-11-2010, 09:16   #5
Marine Service Provider
 
edsailing's Avatar

Join Date: Apr 2009
Location: Devon, UK
Boat: Sailing vessels up to 200 tons
Posts: 388
Images: 1
Can't upload (or open) as XML file type. File size is only 684 bytes..... running XP on a netbook..... Tracks should cover more than 1000 miles at 0.1 mile intervals
__________________
Regards, Ed

Delivering boats for a living - no more!
edsailing is offline   Reply With Quote
Old 19-11-2010, 09:56   #6
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,209
Bad news...
To see the contents, right click the file, select Open with... and chose notepad to see the contents of the file.
But it's obvious that the tracks are gone if the file is this size. Hard to say what's up. Did you have a crash at the last run before the tracks disappeared? Can you post the log (opencpn.log) file? Just change the extension to .doc as the forum doesn't like most of the file types. Not that it will help to revive the tracks but maybe there's some clue what happened which could help us refine the logic in the new code introduced in the latest beta.

Pavel
nohal is online now   Reply With Quote
Old 20-11-2010, 02:59   #7
Marine Service Provider
 
edsailing's Avatar

Join Date: Apr 2009
Location: Devon, UK
Boat: Sailing vessels up to 200 tons
Posts: 388
Images: 1
openCPN Logfile

Hi Pavel

Struggling to upload the log file as it is over 1mb. ZIP files not accepted, any other way I can get it to you? email maybe if you PM me an address.

Thanks
__________________
Regards, Ed

Delivering boats for a living - no more!
edsailing is offline   Reply With Quote
Old 20-11-2010, 03:08   #8
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,209
Ed,
you also have to change the extension of .zip to .doc to attach it here - pretty weird this forum is in this respect...
My e-mail is on the authors tab in the about box of OpenCPN.

Pavel
nohal is online now   Reply With Quote
Old 20-11-2010, 03:12   #9
Marine Service Provider
 
edsailing's Avatar

Join Date: Apr 2009
Location: Devon, UK
Boat: Sailing vessels up to 200 tons
Posts: 388
Images: 1
email sent,

thanks
__________________
Regards, Ed

Delivering boats for a living - no more!
edsailing is offline   Reply With Quote
Old 20-11-2010, 05:14   #10
Registered User

Join Date: Feb 2010
Posts: 619
track recovery from logfile

Quote:
Originally Posted by nohal View Post
Not that it will help to revive the tracks but maybe there's some clue what happened which could help us refine the logic in the new code introduced in the latest beta.

Some help may be there, depending on your requirements for accuracy. For many purposes it is sufficient to reconstruct the track from LOGBOOK entries, written every 30 minutes. I made this feature precisely for such a situation. Some hand editing is needed and a simple tool exists for Python users, mentioned Forums - Post 530150">here .

Good luck,

Piotr
PjotrC is offline   Reply With Quote
Old 20-11-2010, 07:17   #11
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,209
Piotr,
as you posted I was already half done with hacking another tool doing the same Should be a bit more friendly to regular people as it features a "GUI".
Requires .NET Framework on Win or Mono on Linux. Download from https://github.com/downloads/nohal/L...kExtractor.exe
Source: https://github.com/nohal/LogBookExtractor

Pavel
nohal is online now   Reply With Quote
Old 20-11-2010, 07:44   #12
Registered User

Join Date: Feb 2010
Posts: 619
Pavel...

Great, I look forward to using it!

edsailing...

Don't forget you might have an ecellent track recorded in your GPS...

Success,

P.
PjotrC is offline   Reply With Quote
Old 21-11-2010, 02:58   #13
Marine Service Provider
 
edsailing's Avatar

Join Date: Apr 2009
Location: Devon, UK
Boat: Sailing vessels up to 200 tons
Posts: 388
Images: 1
Many thanks to Pavel for sorting out my problem - all is restored now!
__________________
Regards, Ed

Delivering boats for a living - no more!
edsailing is offline   Reply With Quote
Old 21-11-2010, 08:55   #14
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Pavel/EdSailing....

Can you give us a post-mortem analysis of this problem? What happened, as best you can tell?


Thanks
Dave
bdbcat is offline   Reply With Quote
Old 21-11-2010, 09:36   #15
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,209
Dave,
there's not much to say... Got Ed's logfile which shows nothing of a value as for the cause of navobj.xml ending up empty.
At the time it happened there should have been tracks covering about 1000 miles, the longest collected over some 350 miles in 3 days while OpenCPN was running non-stop and exited cleanly.
The version used is 2.1.0-624a
What I did was hacking the forementioned little utility to extract the LOGBOOK entries from the logfile, creating a GPX file with one track per OpenCPN run recorded in the log.
I've sent you a couple of small patches for the issues discovered in the latest code while doing it.

Pavel
nohal is online now   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Import MaxSea Tracks ? claire OpenCPN 18 18-03-2011 02:27
Colors and Segments in Tracks PjotrC OpenCPN 10 09-03-2010 13:43
Main tracks on mast... Jack Long Construction, Maintenance & Refit 4 30-08-2008 18:24
Genoa tracks? bmiller General Sailing Forum 15 12-04-2006 16:02
Genoa tracks and rails. Alan Wheeler General Sailing Forum 6 23-02-2005 22:49

Advertise Here


All times are GMT -7. The time now is 19:29.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.