This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OpenCPN 4.8.0 won't start on OpenPlotter 14.4
#2
I reverted to my backup and upgraded just OpenPlotter and not OpenCPN, but this hasn't changed the version of OpenCPN installed and the same problem happens. 

I also found that I have two different versions of the opencpn executable on the RPi (see below). The one being used is in "/usr/bin" (version 4.8) but if I run the version in "/media/pi/root/usr/bin" (version 4.6.1) then this does start-up properly.

-rwxr-xr-x 1 root root 4808688 Aug 12 03:40 /usr/bin/opencpn
-rwxr-xr-x 1 root root 4784096 Apr  1 04:02 /media/pi/root/usr/bin/opencpn

I've also found that if I try to run OpenCPN (/usr/bin/opencpn) in portable mode (-p) from the terminal then messages are shown as follows:

pi@openplotter:~ $ opencpn -p
22:34:19 BST: 

________
22:34:19 BST: 2017-08-15
22:34:19 BST:  ------- Starting OpenCPN -------
22:34:19 BST: Version 4.8.0 Build 2017-08-11
22:34:19 BST: wxWidgets version: wxWidgets 3.0.0 Linux 32 bit wxGTK
22:34:19 BST: MemoryStatus:  mem_total: 923 mb,  mem_initial: 23 mb
22:34:19 BST: SData_Locn is /usr/bin/
22:34:19 BST: PrivateDataDir is /usr/bin/
22:34:19 BST: Creating new Config_File: /usr/bin/opencpn.conf
22:34:19 BST: Switch InlandEcdis mode Off
22:34:19 BST: Setting Viewpoint Lat/Lon 33.358, -79.282
22:34:19 BST: Setting Ownship Lat/Lon 33.358, -79.282
22:34:19 BST: No styles found at: /usr/bin/uidata/
22:34:19 BST: No styles found at: /usr/bin/
22:34:19 BST: No styles found at: /usr/bin/.opencpn/
22:34:19 BST: The requested style was not found: 
22:34:19 BST: Using SVG Icons
22:34:19 BST: The requested style was not found: Traditional

And if I run "sudo opencpn -p" then the following is displayed in a pop-up window:

Failed to initialize the user interface. OpenCPN cannot start. The necessary configuration files were not found. See the log file at /usr/bin/opencpn.log for details.

The contents of /usr/bin/opencpn.log are the same as what I pasted above from running opencpn -p.

Do these messages show what the problem is? Can anyone make sense of this and let me know what I should do? Should I simply copy /media/pi/root/usr/bin/opencpn to /usr/bin/opencpn or is a config change required or should more files be copied?!

Jon
Reply


Messages In This Thread
RE: OpenCPN won't start after 14.4 upgrade - by dorsetjon - 2017-08-15, 10:42 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)