Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 18-10-2016, 23:58   #1
Registered User

Join Date: Mar 2012
Posts: 9
navobj Error Parsing

Waypts, tracks failed to display.

In the log is "Failed to load C:/ .....navobj.xml: Error parsing".

I suspect this occurred when computer was powered down before OpenCpn was closed.

I would like to recover the tracks.

Any suggestions?

Thanks
John
__________________

__________________
Johna1 is offline   Reply With Quote
Old 19-10-2016, 00:11   #2
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 2,231
Re: navobj Error Parsing

In the same folder where the navobj.xml lives, there are back-ups navobj.xml.1, navobj.xml.2 etc.

Rename the active one and get the latest back-up, removing the .1

In case you want to try to repair the old navobj file manually open it with a real text editor like Notepad++, not the standard Windows Notepad.
__________________

__________________
bcn is online now   Reply With Quote
Old 19-10-2016, 04:10   #3
Registered User

Join Date: Mar 2012
Posts: 9
Re: navobj Error Parsing

Thanks

I am aware of the .1, .2 , .3 etc and have rename so I have the previous one.
Thanks for the tip on using a "real" text editor. I am not sure what to look for in the file though.

John


Quote:
Originally Posted by bcn View Post
In the same folder where the navobj.xml lives, there are back-ups navobj.xml.1, navobj.xml.2 etc.

Rename the active one and get the latest back-up, removing the .1

In case you want to try to repair the old navobj file manually open it with a real text editor like Notepad++, not the standard Windows Notepad.
__________________
Johna1 is offline   Reply With Quote
Old 19-10-2016, 05:09   #4
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,903
Re: navobj Error Parsing

Quote:
Originally Posted by Johna1 View Post
Thanks

I am not sure what to look for in the file though.

John
We of course don't know how much it got broken during the power outage and what exactly got broken - it might be it is is missing one tag at the end, but it also might be completely empty. Look at the good one you have now and on the broken one to see the difference.

Tool like Meld will come handy.

Good luck

Pavel
__________________
nohal is offline   Reply With Quote
Old 19-10-2016, 14:30   #5
Registered User

Join Date: Mar 2012
Posts: 9
Re: navobj Error Parsing

Thanks All
The log says exiting cleanly at the time of the accidental pwr off.

I have the navobj with the date and time consistent with the time of the accidental pwr off and the file size is larger than the previous size but the contents of the file is cutoff at a date some time ago. Soo It looks like I am out of luck.

Perhaps I will have a use for Notepad++ at another time. My preliminary plan was to paste the contents of the two files in Excel and do a side by side comparison. I did paste the 1st one in but it was obvious no need to paste the 2nd.

A quick look at Meld url and it appeared to be a Linux application.
Thanks

John
__________________
Johna1 is offline   Reply With Quote
Old 19-10-2016, 14:38   #6
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,903
Re: navobj Error Parsing

Quote:
Originally Posted by Johna1 View Post
Thanks All
The log says exiting cleanly at the time of the accidental pwr off.
Weird.
Quote:
I have the navobj with the date and time consistent with the time of the accidental pwr off and the file size is larger than the previous size but the contents of the file is cutoff at a date some time ago. Soo It looks like I am out of luck.
It is hard to cut off the navobj file at a date, especially as it's content is not ordered by date, but by object type. That it is corrupted does definitely not mean that all the data in it is useless/lost. We would have to see it.
Quote:
Perhaps I will have a use for Notepad++ at another time. My preliminary plan was to paste the contents of the two files in Excel and do a side by side comparison. I did paste the 1st one in but it was obvious no need to paste the 2nd.
Excel is really not a very good tool for this kind of stuff, although it sure can be used if you know what you do.
Quote:
A quick look at Meld url and it appeared to be a Linux application.
No, it is a cross platform tool, working on Linux, OS X and Windows (Direct link for Windows download: https://download.gnome.org/binaries/...16.2-win32.msi)

Pavel
__________________
nohal is offline   Reply With Quote
Old 19-10-2016, 20:51   #7
Registered User

Join Date: Mar 2012
Posts: 9
Re: navobj Error Parsing

Thanks again Pavel

By some stroke of luck I have made some progress.

I am not sure how but when I click on an xml file it is opened in an xml editor and it points me to an error.

At some point in time I probably downloaded the xml editor when trying to create charts or?

I will attach a PrtScr of this page and a side by side of the Copy & Pasted into Excel of the good file the 10th (of October) and the corrupt file 11th

I have not tried to correct the error - one step at a time.

John
Attached Thumbnails
Click image for larger version

Name:	NavObj 11th Error.jpg
Views:	15
Size:	321.6 KB
ID:	133209   Click image for larger version

Name:	NavObj Compare.jpg
Views:	14
Size:	327.5 KB
ID:	133210  

__________________
Johna1 is offline   Reply With Quote
Old 20-10-2016, 02:24   #8
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 479
Re: navobj Error Parsing

Quote:
Originally Posted by Johna1 View Post
Waypts, tracks failed to display.

In the log is "Failed to load C:/ .....navobj.xml: Error parsing".

I suspect this occurred when computer was powered down before OpenCpn was closed.

I would like to recover the tracks.

Any suggestions?

Thanks
John
Might it be worth to tyr run
Code:
chkdsk -f
to see if the shutdown made some file corruption that can be repaired
__________________
petter5 is offline   Reply With Quote
Old 20-10-2016, 03:10   #9
Registered User

Join Date: Mar 2012
Posts: 9
Re: navobj Error Parsing

Good thought but no errors found

Also it seems after correcting the error with Notepad++ the xml editor will display less of the file than before with

The following tags were not closed: gpx, trk, trkseg, trkpt. Error processing resource 'file:///

j
__________________

__________________
Johna1 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 merge two navobj.xml? myocean OpenCPN 5 24-05-2015 10:00
Error uploading to photo gallery knottybuoyz Forum Tech Support & Site Help 2 16-08-2007 11:23
Run-Time Error Messages Entlie Forum Tech Support & Site Help 17 13-12-2006 06:21


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 11:15.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.