Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 04-12-2022, 18:30   #16
Registered User

Join Date: Mar 2010
Location: QC, Canada
Boat: Kelt 8.50
Posts: 181
Re: OpenCPN Version 5.7.1 Alpha Test #3

Quote:
Originally Posted by bdbcat View Post
JM...
"Found another problem. If I have no internet connection O will crash on start. Nothing in log. Causes a core dump."


What linux system, please?
Thanks
Dave

Ubuntu 22.04
JM
houlejm is offline   Reply With Quote
Old 05-12-2022, 04:32   #17
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,150
Re: OpenCPN Version 5.7.1 Alpha Test #3

Dave..
Run time crash while no internet on Win hangs at:
ocpn_app:2046

std::string ipAddr = ipv4_addrs[0];
Hakan is offline   Reply With Quote
Old 05-12-2022, 08:26   #18
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,402
Re: OpenCPN Version 5.7.1 Alpha Test #3

JM, Hakan, et al..


re: Crash on startup without network connection...
Corrected in github now. Updated linux builds available from OpenCPN PPA.


Thanks for the catch
Dave
bdbcat is offline   Reply With Quote
Old 05-12-2022, 09:11   #19
Registered User

Join Date: Nov 2012
Location: Steinhatchee, FL
Posts: 395
Re: OpenCPN Version 5.7.1 Alpha Test #3

Quote:
Originally Posted by bdbcat View Post
JM, Hakan, et al..


re: Crash on startup without network connection...
Corrected in github now. Updated linux builds available from OpenCPN PPA.


Thanks for the catch
Dave
Verified corrected on Debian Buster.
__________________
Bill
"If I were in a hurry, I would not have bought a sail boat." Me
Be Free is offline   Reply With Quote
Old 05-12-2022, 10:03   #20
Registered User

Join Date: Mar 2010
Location: QC, Canada
Boat: Kelt 8.50
Posts: 181
Re: OpenCPN Version 5.7.1 Alpha Test #3

Quote:
Originally Posted by bdbcat View Post
JM, Hakan, et al..


re: Crash on startup without network connection...
Corrected in github now. Updated linux builds available from OpenCPN PPA.


Thanks for the catch
Dave

Ok on Ubuntu 22.04


Old bug from 5.6.2 (sound file never closed) is still there. See FS#2895


Thanks

JM
houlejm is offline   Reply With Quote
Old 05-12-2022, 13:28   #21
Registered User

Join Date: Nov 2012
Location: Steinhatchee, FL
Posts: 395
Re: OpenCPN Version 5.7.1 Alpha Test #3

Just found a new variation of the no-network problem. When there is no network connection the CPU pegs out for the OpenCPN process. I've toggled it several times. With network CPU drops to around 1%. No network connection and it goes to 100%.


Debian Buster.
__________________
Bill
"If I were in a hurry, I would not have bought a sail boat." Me
Be Free is offline   Reply With Quote
Old 05-12-2022, 13:44   #22
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: out cruising again, currently in Fiji
Boat: Sailboat
Posts: 1,466
Re: OpenCPN Version 5.7.1 Alpha Test #3

New build system fails to build plugins on current Debian SID/bookworm


O log shows:
Quote:
ocpn_app.cpp:1268 OCPN_OSDetail: x86_64 ; Debian GNU/Linux ; n/a ; debian ;
also the new build system for plugins shows the n/a and tries to build a tarball containing "n/a" which then fails, because the slash is treated as a directory, not part of the filename.
LeaseOnLife is offline   Reply With Quote
Old 05-12-2022, 16:56   #23
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,402
Re: OpenCPN Version 5.7.1 Alpha Test #3

LeaseOnLife...


re:New build system fails to build plugins on current Debian SID/bookworm

Please describe in detail what you have built/installed.


Thanks
Dave
bdbcat is offline   Reply With Quote
Old 05-12-2022, 17:04   #24
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,402
Re: OpenCPN Version 5.7.1 Alpha Test #3

Be Free...
What hardware platform, please? rPI?


Thanks
Dave
bdbcat is offline   Reply With Quote
Old 05-12-2022, 17:16   #25
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: out cruising again, currently in Fiji
Boat: Sailboat
Posts: 1,466
Re: OpenCPN Version 5.7.1 Alpha Test #3

Quote:
Originally Posted by bdbcat View Post
LeaseOnLife...


re:New build system fails to build plugins on current Debian SID/bookworm

Please describe in detail what you have built/installed.


Thanks
Dave



This happens with building iacfleet or radar plugins and likely any that use the new build system.



I tracked it down to the latest "lsb-release" in SID not returning a Version-ID, plus /etc/os-release does not have an entry for Version-ID. I added VERSION_ID=sid to /etc/os-release and installed lsb-release from debian bulleye, and the build completes and installs.

This debian bug report helped track it down:
https://bugs.debian.org/cgi-bin/bugr...gi?bug=1008735






LeaseOnLife is offline   Reply With Quote
Old 06-12-2022, 06:59   #26
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,106
Re: OpenCPN Version 5.7.1 Alpha Test #3

Hi Dave,


just tried the O-charts plugin on my Linux mint AMD64. Is version 1.0.29.0. Does not work.
Comment: wrong version.


Update not yet available ? The same on my RPI systems.

Looking on my Ubuntu Kinetic AMD64 then there is another O-charts plugin 2.0.0.11 and this one is working on version 5.7.1.

Bram
verkerkbr is offline   Reply With Quote
Old 06-12-2022, 09:05   #27
Registered User

Join Date: Nov 2012
Location: Steinhatchee, FL
Posts: 395
Re: OpenCPN Version 5.7.1 Alpha Test #3

Quote:
Originally Posted by bdbcat View Post
Be Free...
What hardware platform, please? rPI?


Thanks
Dave
Panasonic Toughbook CF31. Intel I5 vPro. 2G memory.
__________________
Bill
"If I were in a hurry, I would not have bought a sail boat." Me
Be Free is offline   Reply With Quote
Old 06-12-2022, 13:53   #28
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,402
Re: OpenCPN Version 5.7.1 Alpha Test #3

Bram...
rpi update to o-charts not yet available. Soon.


Tell me more about the linux Mint failure, please.


Thanks
Dave
bdbcat is offline   Reply With Quote
Old 06-12-2022, 14:30   #29
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,106
Re: OpenCPN Version 5.7.1 Alpha Test #3

Hi Dave,

Systems is Linux Mint Vanessa for AMD64. Running version 6 of the latest kernel.

here are the two options.This is the end of the start messages:

1. Starting O from the terminal with opencpn. Shows up and flips away.

Generating x509 certificate...
Writing key and certificate to disk...
Success!
26d2eed 3 mongoose.c:3461:mg_listen 1 0x19 https://0.0.0.0:8443
Local IPv4 address: 192.168.1.208
Opened 2 sockets for mDNS service
Service mDNS: opencpn-object-control-service.:8000
Hostname: bram-L480
Sending announce
11:18:35 PM: Warning: Unknown image data format.
11:18:35 PM: Error: Failed to load image from file "/home/bram/.local/share/opencpn/plugins/o-charts_pi/data/o-charts_panel_icon.png".
11:18:35 PM: o-charts panel icon NOT loaded
../src/common/timercmn.cpp(62): assert "Assert failure" failed in Init(): No timer implementation for this platform
../src/common/timercmn.cpp(73): assert "m_impl" failed in SetOwner(): uninitialized timer
../src/common/timercmn.cpp(73): assert "m_impl" failed in SetOwner(): uninitialized timer
../src/common/image.cpp(1876): assert "IsOk()" failed in GetData(): invalid image
../src/common/image.cpp(2501): assert "IsOk()" failed in SaveFile(): invalid image
../src/common/image.cpp(2521): assert "IsOk()" failed in SaveFile(): invalid image
Segmentatiefout (geheugendump gemaakt)

2. This is the outcome with sudo opencpn.Then O starts normal.

GLEW init success!nGenerating RSA key...
Generating x509 certificate...
Writing key and certificate to disk...
Success!
26e79bd 3 mongoose.c:3461:mg_listen 1 0x17 https://0.0.0.0:8443
Local IPv4 address: 192.168.1.208
Opened 2 sockets for mDNS service
Service mDNS: opencpn-object-control-service.:8000
Hostname: bram-L480
Sending announce
SENC: nCPU: 2 m_max_jobs :1

(opencpn:52300): Gtk-CRITICAL **: 23:20:17.720: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(opencpn:52300): Gtk-CRITICAL **: 23:20:17.720: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar


Bram



p { line-height: 115%; margin-bottom: 0.25cm; background: transparent }
verkerkbr is offline   Reply With Quote
Old 06-12-2022, 20:42   #30
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,402
Re: OpenCPN Version 5.7.1 Alpha Test #3

Hello all...


o-charts_pi plugin is now available for Windows and all supported linux/flatpak packages and architectures. It is NOT quite yet available for MacOS.


If you believe that your platform should support o-charts v2.0 on OCPN 5.7.1, and it does not appear on the plugin manager list, please notify me here with details.


Thanks, and good luck
Dave
bdbcat is offline   Reply With Quote
Reply

Tags
enc, opencpn


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 Version 5.7.1 Alpha Test #2 bdbcat OpenCPN 52 02-12-2022 20:05
OpenCPN Version 5.7 Alpha Test bdbcat OpenCPN 92 31-10-2022 05:13
OpenCPN for Android Alpha test 4.1.409 bdbcat OpenCPN 117 12-10-2015 01:28
OpenCPN for Android Alpha test 4.1.427 bdbcat OpenCPN 139 29-05-2015 14:27
OpenCPN for Android Alpha test 4.1.412 bdbcat OpenCPN 120 15-05-2015 12:12

Advertise Here


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


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.