Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 19-11-2010, 02:59   #1
Marine Service Provider
 
edsailing's Avatar

Join Date: Apr 2009
Location: Devon, UK
Boat: Sailing vessels up to 200 tons
Posts: 320
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, 04:07   #2
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
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 offline   Reply With Quote
Old 19-11-2010, 06:39   #3
Marine Service Provider
 
edsailing's Avatar

Join Date: Apr 2009
Location: Devon, UK
Boat: Sailing vessels up to 200 tons
Posts: 320
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, 09:41   #4
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
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 offline   Reply With Quote
Old 19-11-2010, 10:16   #5
Marine Service Provider
 
edsailing's Avatar

Join Date: Apr 2009
Location: Devon, UK
Boat: Sailing vessels up to 200 tons
Posts: 320
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, 10:56   #6
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
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 offline   Reply With Quote
Old 20-11-2010, 03:59   #7
Marine Service Provider
 
edsailing's Avatar

Join Date: Apr 2009
Location: Devon, UK
Boat: Sailing vessels up to 200 tons
Posts: 320
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, 04:08   #8
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
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 offline   Reply With Quote
Old 20-11-2010, 04:12   #9
Marine Service Provider
 
edsailing's Avatar

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

thanks
__________________
Regards, Ed

Delivering boats for a living - no more!
edsailing is offline   Reply With Quote
Old 20-11-2010, 06: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, 08:17   #11
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
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 offline   Reply With Quote
Old 20-11-2010, 08: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, 03:58   #13
Marine Service Provider
 
edsailing's Avatar

Join Date: Apr 2009
Location: Devon, UK
Boat: Sailing vessels up to 200 tons
Posts: 320
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, 09:55   #14
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,878
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, 10:36   #15
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
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 offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 03:27
Colors and Segments in Tracks PjotrC OpenCPN 10 09-03-2010 14:43
Main tracks on mast... Jack Long Construction, Maintenance & Refit 4 30-08-2008 19:24
Genoa tracks? bmiller General Sailing Forum 15 12-04-2006 17:02
Genoa tracks and rails. Alan Wheeler General Sailing Forum 6 23-02-2005 23:49



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 00:06.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.