Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 30-04-2012, 19:02   #1
Registered User

Join Date: Apr 2010
Location: Newport News VA
Boat: Egg Harbor sedan cruiser 1970
Posts: 829
OpenCPN Nothing Happens Ubuntu 12.04?

I just today tried to run opencpn on the home PC running the latest 32 bit Ubuntu and nothing happens. It used to work on the prior version of ubuntu.
So I run from terminal and get no messages and nothing happens.
So I upgraded to 2.6 beta. When run from terminal, I get an opencpn standard beta warning window, close it and nothing happens.

Any ideas?
__________________

__________________
sdowney717 is offline   Reply With Quote
Old 30-04-2012, 19:05   #2
Registered User

Join Date: Apr 2010
Location: Newport News VA
Boat: Egg Harbor sedan cruiser 1970
Posts: 829
Re: opencpn nothing happens Ubuntu 12.04?

Ok after 5 minutes of nothing, it pops up with this version mismatch
a libgps api version mismatch.
select ok, and it seems to work.
I dont have a GPS on the home PC.

But why the long long delay?
Attached Thumbnails
Click image for larger version

Name:	opencpn.png
Views:	84
Size:	153.8 KB
ID:	40588  
__________________

__________________
sdowney717 is offline   Reply With Quote
Old 30-04-2012, 19:08   #3
Registered User

Join Date: Apr 2010
Location: Newport News VA
Boat: Egg Harbor sedan cruiser 1970
Posts: 829
Re: opencpn nothing happens Ubuntu 12.04?

weird, maybe my PC anyway it popped me another message


terminal response window errors
Quote:
scott@scott-P5QC:~$ opencpn

(opencpn:16117): Gtk-CRITICAL **: IA__gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed

(opencpn:16117): Gtk-CRITICAL **: IA__gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed

(opencpn:16117): Gtk-CRITICAL **: IA__gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed

(opencpn:16117): Gtk-CRITICAL **: IA__gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed
Killed
scott@scott-P5QC:~$
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2012-04-30 21:07:20.png
Views:	83
Size:	154.3 KB
ID:	40589  
__________________
sdowney717 is offline   Reply With Quote
Old 30-04-2012, 20:53   #4
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: opencpn nothing happens Ubuntu 12.04?

s...717:

libgps is reported broken on 12.04
see: OpenCPN::Tracker All Projects: Tasklist

I'll take a look at this as soon as I get the nerve to try upgrading from 8.04 to 12.04. Yikes....

Can you run without gpsd?

Also, the messages like
Code:
(opencpn:16117): Gtk-CRITICAL **: IA__gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed
are of no consequence. Seem to be built into the wxWidgets libraries.

Thanks for the report
Dave
__________________
bdbcat is offline   Reply With Quote
Old 01-05-2012, 08:02   #5
Registered User

Join Date: Apr 2010
Location: Newport News VA
Boat: Egg Harbor sedan cruiser 1970
Posts: 829
Re: opencpn nothing happens Ubuntu 12.04?

It wont restart today, just waiting or hanging.
You can set up a VM of 12.04 using virtual box from oracle.
https://www.virtualbox.org/wiki/Downloads

Do you mean delete uninstall gpsd?
__________________
sdowney717 is offline   Reply With Quote
Old 01-05-2012, 08:12   #6
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,250
Re: opencpn nothing happens Ubuntu 12.04?

Quote:
Originally Posted by sdowney717 View Post
It wont restart today, just waiting or hanging.
You can set up a VM of 12.04 using virtual box from oracle.
https://www.virtualbox.org/wiki/Downloads

Do you mean delete uninstall gpsd?
To get going again, just rename the opencpn.config file, and restart.
Installing OpenCPN | Official OpenCPN Homepage

Thomas
__________________
cagney is offline   Reply With Quote
Old 01-05-2012, 09:16   #7
Registered User

Join Date: Apr 2010
Location: Newport News VA
Boat: Egg Harbor sedan cruiser 1970
Posts: 829
pirate Re: opencpn nothing happens Ubuntu 12.04?

thanks for that. That file is in a hidden folder called .opencpn and is named opencpn.conf
I renamed the file to oldopencpn.conf

When you do that you have to redirect opencpn to your charts.
It is running again and responding quickly.
I am also not getting libgps mismatch error. still dont have any gps attached to the home PC.
So what happened?
__________________
sdowney717 is offline   Reply With Quote
Old 01-05-2012, 16:18   #8
Registered User

Join Date: Jun 2009
Location: Morbihan Brittany France
Boat: Hallberg Rassy 37
Posts: 64
Re: opencpn nothing happens Ubuntu 12.04?

I got the same error, and deleting .opencpn did not change anything. I used the latest beta (built 1624) with an up-to-date Ubuntu 12.04.

Opencpn detect that I have libgps-2.0 (message in opencpn.log), as I saw an trace for missing libnss-db, I added the library but quite logically it does not change anything.

I run opencpn with strace the file can be downloaded here http://www.portanna.org/download/private/strace.log as far as I can see, they is not missing dependency, but libgpsd client lock on waiting information.

My GPS being a Sirf-binary only GPS, I have no alternative to GPSd, any bypass would be welcome. Note that I tried to force the load of an old version libgpsd-19 from a 10.04 without any success.
__________________
fulup is offline   Reply With Quote
Old 02-05-2012, 23:18   #9
Registered User

Join Date: Feb 2011
Posts: 242
Re: opencpn nothing happens Ubuntu 12.04?

Quote:
Originally Posted by sdowney717 View Post
thanks for that. That file is in a hidden folder called .opencpn and is named opencpn.conf
I renamed the file to oldopencpn.conf

When you do that you have to redirect opencpn to your charts.
It is running again and responding quickly.
I am also not getting libgps mismatch error. still dont have any gps attached to the home PC.
So what happened?
Are you able to run xgps and your getting signal? Just to isolate if its the gpx and linux, or opencpn.
__________________
dave777 is offline   Reply With Quote
Old 04-05-2012, 12:42   #10
Registered User

Join Date: Apr 2010
Location: Newport News VA
Boat: Egg Harbor sedan cruiser 1970
Posts: 829
Re: opencpn nothing happens Ubuntu 12.04?

Next time I get to boat I can retrieve the GPS which is a yellow USB Delorme unit.I can try and get the signal here and post back in a few days.
__________________
sdowney717 is offline   Reply With Quote
Old 10-05-2012, 10:08   #11
Registered User

Join Date: Apr 2010
Location: Newport News VA
Boat: Egg Harbor sedan cruiser 1970
Posts: 829
Re: opencpn nothing happens Ubuntu 12.04?

xgps works fine, so I get a signal on the home PC.

dmesg says it was connected to dev/ttyusb0

I tried all different settings and can't get opencpn to work.

Quote:
Code:
[105897.608083] usb 7-1: new full-speed USB device number 2 using uhci_hcd
[105897.887846] usbcore: registered new interface driver usbserial
[105897.887882] USB Serial support registered for generic
[105897.887950] usbcore: registered new interface driver usbserial_generic
[105897.887952] usbserial: USB Serial Driver core
[105897.896498] USB Serial support registered for DeLorme Earthmate USB
[105897.896609] USB Serial support registered for HID->COM RS232 Adapter
[105897.896619] USB Serial support registered for Nokia CA-42 V2 Adapter
[105897.896634] cypress 7-1:1.0: DeLorme Earthmate USB converter detected
[105897.898105] usb 7-1: DeLorme Earthmate USB converter now attached to ttyUSB0
[105897.898118] usbcore: registered new interface driver cypress
[105897.898119] cypress_m8: v1.10:Cypress USB to Serial Driver
attached a pic showing various things working and not working

I tried typing in the dev/ttyusb0 as it will not show up in the list. And I tried gpsd libgps.
Attached Thumbnails
Click image for larger version

Name:	opencpngps.png
Views:	88
Size:	331.2 KB
ID:	40907  
__________________
sdowney717 is offline   Reply With Quote
Old 10-05-2012, 10:30   #12
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,250
Re: opencpn nothing happens Ubuntu 12.04?

Quote:
Originally Posted by sdowney717 View Post
xgps works fine, so I get a signal on the home PC.

dmesg says it was connected to dev/ttyusb0

I tried all different settings and can't get opencpn to work.



attached a pic showing various things working and not working

I tried typing in the dev/ttyusb0 as it will not show up in the list. And I tried gpsd libgps.
sdowney717
As you have gpsd running, you must connect to gpsd not /dev/ttyUSB0, which gpsd is using. Xgps works because it is connected to gpsd. Gpsd is a gps server allowing multiple connections.
Instructions are available in the documentation Toolbox Settings | Official OpenCPN Homepage. Your nmea data source must be "Network LIBGPS", unless your system is very old (ubuntu 9.10 and older).

Thomas
__________________
cagney is offline   Reply With Quote
Old 10-05-2012, 18:22   #13
Registered User

Join Date: Apr 2010
Location: Newport News VA
Boat: Egg Harbor sedan cruiser 1970
Posts: 829
Re: opencpn nothing happens Ubuntu 12.04?

I tried that, opencpn hangs after selecting it. Menu wont return.
__________________
sdowney717 is offline   Reply With Quote
Old 10-05-2012, 18:26   #14
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: opencpn nothing happens Ubuntu 12.04?

Sdowney...

Are you on the VERY latest Beta? (1705)

Dave
__________________
bdbcat is offline   Reply With Quote
Old 11-05-2012, 05:45   #15
Registered User

Join Date: Apr 2010
Location: Newport News VA
Boat: Egg Harbor sedan cruiser 1970
Posts: 829
Re: opencpn nothing happens Ubuntu 12.04?

if the beta is at the opencpn download page, I just tried to install and get several serious errors about the package management.

I have installed lots of packages but this was a first.
Attached Thumbnails
Click image for larger version

Name:	opencpnerror.png
Views:	91
Size:	154.5 KB
ID:	40921   Click image for larger version

Name:	opencpn err2.png
Views:	82
Size:	108.5 KB
ID:	40922  

__________________

__________________
sdowney717 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 02:10.


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.