Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 23-05-2015, 12:50   #1
Registered User

Join Date: May 2010
Boat: Tradewind 35
Posts: 19
Installation of OpenCPN

Hello

I followed the instructions to download and install openCPN using Ubuntu Software Centre (Ubuntu 14.04). I have installed this sucessfully on my desktop at home, but when I did the same thing on my laptop I get the following error:

Failed to initialize the user interface

The opencpn log file as the following entries:

19:37:30 BST: 2015-05-23
19:37:30 BST: ------- Starting OpenCPN -------
19:37:30 BST: Version 4.1.427 Build 2015-04-27
19:37:30 BST: wxWidgets version: wxWidgets 2.8.12 Linux 64 bit wxGTK
19:37:30 BST: MemoryStatus: mem_total: 3839 mb, mem_initial: 13 mb
19:37:30 BST: SData_Locn is /usr/local/share/opencpn/
19:37:30 BST: PrivateDataDir is /home/paul/.opencpn
19:37:30 BST: Creating new Config_File: /home/paul/.opencpn/opencpn.conf
19:37:30 BST: No styles found at: /usr/local/share/opencpn/uidata/
19:37:30 BST: No styles found at: /home/paul/
19:37:30 BST: No styles found at: /home/paul/.opencpn/
19:37:30 BST: The requested style was not found:


I have searched the froum and found these erros relate to when you compile openCPN from the source code, but surely I should not have this probelm downloading from the software centre.

Any pointers would be much appreciated

Many thanks Paul
__________________

__________________
Cariad1961 is offline   Reply With Quote
Old 23-05-2015, 14:58   #2
Registered User

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

Quote:
Originally Posted by Cariad1961 View Post
Hello

I followed the instructions to download and install OpenCPN using Ubuntu Software Centre (Ubuntu 14.04). I have installed this successfully on my desktop at home, but when I did the same thing on my laptop I get the following error:

Failed to initialize the user interface

The opencpn log file as the following entries:

19:37:30 BST: 2015-05-23
19:37:30 BST: ------- Starting OpenCPN -------
19:37:30 BST: Version 4.1.427 Build 2015-04-27
19:37:30 BST: wxWidgets version: wxWidgets 2.8.12 Linux 64 bit wxGTK
19:37:30 BST: MemoryStatus: mem_total: 3839 mb, mem_initial: 13 mb
19:37:30 BST: SData_Locn is /usr/local/share/opencpn/
19:37:30 BST: PrivateDataDir is /home/paul/.opencpn
19:37:30 BST: Creating new Config_File: /home/paul/.opencpn/opencpn.conf
19:37:30 BST: No styles found at: /usr/local/share/opencpn/uidata/
19:37:30 BST: No styles found at: /home/paul/
19:37:30 BST: No styles found at: /home/paul/.opencpn/
19:37:30 BST: The requested style was not found:


I have searched the froum and found these erros relate to when you compile openCPN from the source code, but surely I should not have this probelm downloading from the software centre.

Any pointers would be much appreciated

Many thanks Paul
You are trying to use alpha code.(Version 4.1.427 Build 2015-04-27) There isn't even any beta release, post 4.0. You are welcome to do this, but don't expect much help, especially on 4 weeks old alpha code.
So ... the best for you is perhaps to download version 4.0 instead.

/Thomas
__________________

__________________
cagney is offline   Reply With Quote
Old 23-05-2015, 16:43   #3
Registered User

Join Date: May 2010
Boat: Tradewind 35
Posts: 19
Re: Installation of OpenCPN

How do I access the stable version, in the software centre it says I am using:

opencpn 4.0.0-0~trusty1

I can see the config file suggests otherwise but there does not seem to be an option to download any other version in the software centre ?

Many thanks Paul
__________________
Cariad1961 is offline   Reply With Quote
Old 23-05-2015, 17:48   #4
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,015
Re: Installation of OpenCPN

Paul...
I would say it is impossible you are running the version you installed from the PPA - all your log suggests is you are running a local build made from the source or a package made by someone else and installed locally. The officialy packaged OpenCPN would never look for the data in /usr/local and definitely is not made from post 4.0 codebase, believe me, I made the packages...

Pavel
__________________
nohal is online now   Reply With Quote
Old 24-05-2015, 05:38   #5
Registered User

Join Date: May 2010
Boat: Tradewind 35
Posts: 19
Re: Installation of OpenCPN

Thank you Pavel that helped.

I uninstalled Opencpn using the software centre and Opencpn was still there as an application, which made me think hard. I then realised when I had compiled Opencpn for the raspberry pi I had done that via SSH but used the wrong terminal window and compiled it on the local machine (my laptop). I managed to unistall that version best I could, and then used the software centre which delivered a sucessful installation.

I now need to do some research as this would suggest I have an alpha version running on the pi which is not what I wanted when I followed the instructions at: Pi Chart.

I assume this was the offending command:

echo "$(tput setaf 1)"
echo "################################################# #######"
echo "download and extract the latets OpenCPN sources"
echo "check opencpn.org to see if there's a newer version"
echo "################################################# #######"
echo "$(tput setaf 6)"

git clone git://github.com/OpenCPN/OpenCPN.git

Anyway I appreciate the reply, thank you.

Paul
__________________
Cariad1961 is offline   Reply With Quote
Old 30-05-2015, 12:24   #6
Registered User

Join Date: May 2010
Boat: Tradewind 35
Posts: 19
Re: Installation of OpenCPN

I know for many the solution to getting the right version installed will have been really obvious. For those following the instructions to install opencpn on a raspberry pi at Pi Chart, If you want the stable version you need to substitue the command in the script file :

git clone git://github.com/OpenCPN/OpenCPN.git

for the 4.0.0 stable code:

git clone -b v4.0.x https://github.com/OpenCPN/OpenCPN.git.

Thanks to those who responded to my original post, as I have learnt a lot and now have the stable version on my laptop and pi.
__________________

__________________
Cariad1961 is offline   Reply With Quote
Reply

Tags
enc, installation, 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCPN installation problem on Ubuntu zodd OpenCPN 2 05-11-2013 07:01
Opencpn 3.2 Installation problem openSUSE Bolina48 OpenCPN 4 07-08-2013 03:46
Opencpn installation under Ubuntu 12.04 Idiens OpenCPN 8 29-05-2013 06:51
OpenCPN installation issues fedora 18 titaantje OpenCPN 10 22-01-2013 11:34
OpenCPN XP Installation Problems bdbcat OpenCPN 56 12-05-2011 13:42



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


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.