Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-11-2012, 11:52   #1
Registered User

Join Date: Nov 2012
Posts: 4
Problem with OpenCPN

Today, I thought I best check the computer connections and my charting program before launching again soon. When I opened OpenCPN, it immediately crashed. Hmmm. Try again, same result. I downloaded the new version, just in case my files had been corrupted. Same result - it crashed. I tried both with and without GPS and AIS cables connected.

Any suggestions? What am I doing wrong?
__________________

__________________
Windswept4 is offline   Reply With Quote
Old 10-11-2012, 12:34   #2
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: Problem with OpenCPN

Check this link Installing OpenCPN | Official OpenCPN Homepage for help.
Come back again if you still have trouble after working through the points.

Thomas
__________________

__________________
cagney is offline   Reply With Quote
Old 10-11-2012, 14:35   #3
Registered User

Join Date: Nov 2012
Posts: 4
Re: Problem with OpenCPN

Thank you for your response, Thomas. I worked through the suggestions, re-named the .ini file and re-started OpenCPN. And it crashed.

In the log files, I noted the same error messages. This is the message:

Error: Failed to convert file "C:\Documents and Settings\All Users\Application Data\opencpn\opencpn.ini" to Unicode.
11:42:56: Warning: can't open user configuration file 'C:\Documents and Settings\All Users\Application Data\opencpn\opencpn.ini'.
11:42:56: Setting Viewpoint Lat/Lon 33.358, -79.282

File C:\Documents and Settings\All Users\Application Data\opencpn\navobj.xml seems not to be well-formed UTF-8 XML, used fallback ASCII format conversion - some text information might have not been imported.
__________________
Windswept4 is offline   Reply With Quote
Old 11-11-2012, 03:10   #4
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: Problem with OpenCPN

Quote:
Originally Posted by Windswept4 View Post
Thank you for your response, Thomas. I worked through the suggestions, re-named the .ini file and re-started OpenCPN. And it crashed.

In the log files, I noted the same error messages. This is the message:

Error: Failed to convert file "C:\Documents and Settings\All Users\Application Data\opencpn\opencpn.ini" to Unicode.
11:42:56: Warning: can't open user configuration file 'C:\Documents and Settings\All Users\Application Data\opencpn\opencpn.ini'.
11:42:56: Setting Viewpoint Lat/Lon 33.358, -79.282

File C:\Documents and Settings\All Users\Application Data\opencpn\navobj.xml seems not to be well-formed UTF-8 XML, used fallback ASCII format conversion - some text information might have not been imported.
I don't think that his is an OpenCPN problem. It seems more like an operating system problem.
Which operating system? Is it fully updated?
It would help to see a full session of the log file.

OpenCP comes with these wxWidgets dll:s
Code:
wxbase28u_net_vc_custom.dll  
wxmsw28u_adv_vc_custom.dll  
 wxmsw28u_gl_vc_custom.dll
wxbase28u_vc_custom.dll      
wxmsw28u_aui_vc_custom.dll   
wxmsw28u_html_vc_custom.dll
wxbase28u_xml_vc_custom.dll  
wxmsw28u_core_vc_custom.dll
They are all unicode versions, notice the "28u" in all the files.
Make sure that you don't have any ANSI versions of these wxwidgets dlls on your computer. That may confuse O.

Thomas
__________________
cagney is offline   Reply With Quote
Old 12-11-2012, 07:59   #5
Registered User

Join Date: Nov 2012
Posts: 4
Quote:
Originally Posted by cagney

I don't think that his is an OpenCPN problem. It seems more like an operating system problem.
Which operating system? Is it fully updated?
It would help to see a full session of the log file.

OpenCP comes with these wxWidgets dll:s

wxbase28u_net_vc_custom.dll
wxmsw28u_adv_vc_custom.dll
wxmsw28u_gl_vc_custom.dll
wxbase28u_vc_custom.dll
wxmsw28u_aui_vc_custom.dll
wxmsw28u_html_vc_custom.dll
wxbase28u_xml_vc_custom.dll
wxmsw28u_core_vc_custom.dll


They are all unicode versions, notice the "28u" in all the files.
Make sure that you don't have any ANSI versions of these wxwidgets dlls on your computer. That may confuse O.

Thomas
The OS is XP service pack 3 and up to date. I checked the wxWidgets and they are all 28u.

Any other ideas? I can use another charting program if I have to but prefer to use OpenCPN.

Thanks
__________________
Windswept4 is offline   Reply With Quote
Old 12-11-2012, 09:16   #6
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: Problem with OpenCPN

Windswept4

In an earlier post you wrote:
Quote:
Thank you for your response, Thomas. I worked through the suggestions, re-named the .ini file and re-started OpenCPN. And it crashed.
It's essential that OpenCPN is closed down when renaming the opencpn.ini file. Try it again, and then describe exactly when the program crashes. Please publish the log covering this (your last) session.

Thomas
__________________
cagney is offline   Reply With Quote
Old 12-11-2012, 10:58   #7
Registered User

Join Date: Dec 2008
Boat: Journeyman
Posts: 705
Re: Problem with OpenCPN

Quote:
Originally Posted by Windswept4 View Post

File C:\Documents and Settings\All Users\Application Data\opencpn\navobj.xml seems not to be well-formed UTF-8 XML, used fallback ASCII format conversion - some text information might have not been imported.
Try moving all navobj.xml files away and starting again.
If it now works, see if you can get any of the backup navobj.xml.X files to work when named as navobj.xml
__________________
JesperWe is offline   Reply With Quote
Old 18-11-2012, 12:22   #8
Registered User

Join Date: Nov 2012
Posts: 4
Quote:
Originally Posted by JesperWe

Try moving all navobj.xml files away and starting again.
If it now works, see if you can get any of the backup navobj.xml.X files to work when named as navobj.xml
I moved all of the navobj.xml files to the desktop. Then re-started the program and it booted! Yeah! But now, I am not sure what you mean by "the backup navobj.xml files". Do you mean the ones that I moved out of the file or are there backup ones somewhere else? Sorry for the dumb question but I just don't want to mess up the program now that it is working again.

Thanks for your help.
__________________
Windswept4 is offline   Reply With Quote
Old 18-11-2012, 15:48   #9
Registered User

Join Date: Dec 2008
Boat: Journeyman
Posts: 705
Re: Problem with OpenCPN

OK, so your navobj.xml is corrupt. You then have a number of files called navobj.xml.1, .2 , .3 etc.

These are the backups.

You can try renaming navobj.xml.1 to navobj.xml and see if it works. And so on.
__________________

__________________
JesperWe is offline   Reply With Quote
Reply

Tags
opencpn

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




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 17:41.


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.