Cruisers Forum
 


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 26-04-2023, 10:21   #31
Registered User

Join Date: Jun 2009
Posts: 42
Re: OpenCpn 5.8.0 issues

I have been testing O5.8 for plugins using sandbox to be sure there is not any footprint of previous installations:

- Running in normal mode I can add plugins (tested with tactics and VDR) and run them without issues
- Running in "portable mode" I can add plugins (same than before) but they are not added to the command bar, do not work and disappear when start again.

Any ideas?
Save Our Souls is offline   Reply With Quote
Old 26-04-2023, 12:37   #32
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,527
Re: OpenCpn 5.8.0 issues

SOS....
OCPN 5.8.0 has a known bug with plugins in portable mode.
Will be resolved by a pending maintenance release.


Thanks
Dave
bdbcat is offline   Reply With Quote
Old 26-04-2023, 12:41   #33
Registered User

Join Date: Jun 2009
Posts: 42
Re: OpenCpn 5.8.0 issues

Quote:
Originally Posted by bdbcat View Post
SOS....
OCPN 5.8.0 has a known bug with plugins in portable mode.
Will be resolved by a pending maintenance release.


Thanks
Dave
Thanks Dave, appreciate a lot the effort of the team, well done
Save Our Souls is offline   Reply With Quote
Old 26-04-2023, 13:33   #34
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,527
Re: OpenCpn 5.8.0 issues

Franziska...
After some code reading, and testing. we can break this into two concepts.
1. Automatic daily tracking is intended for "cruise/passage making". If set, this option will, if tracking is enabled, start a new track at the specified time daily. The logic resets each time you start OCPN, so is really only of use if you leave OCPN running continuously on passage, and the time actually passes the options specified time, typically midnight.

2. Regardless of "Automatic Daily track" setting, OCPN will begin tracking on startup if tracking was enabled at the time of the last shutdown.


So, having said all this, when you start OCPN prior to a day sail, if tracking was enabled when you last shutdown OCPN, and GPS is available, then tracking will be started today. The "Automatic Daily Track" option is not related in this case.


Does this match your observation? It does on my quick local tests.
Dave
bdbcat is offline   Reply With Quote
Old 26-04-2023, 13:56   #35
Registered User
 
Franziska's Avatar

Join Date: Mar 2011
Location: Panschwitz, Germany
Boat: Woods Mira 35 Catamaran
Posts: 4,436
Re: OpenCpn 5.8.0 issues

Quote:
Originally Posted by bdbcat View Post
Franziska...
After some code reading, and testing. we can break this into two concepts.
1. Automatic daily tracking is intended for "cruise/passage making". If set, this option will, if tracking is enabled, start a new track at the specified time daily. The logic resets each time you start OCPN, so is really only of use if you leave OCPN running continuously on passage, and the time actually passes the options specified time, typically midnight.

2. Regardless of "Automatic Daily track" setting, OCPN will begin tracking on startup if tracking was enabled at the time of the last shutdown.


So, having said all this, when you start OCPN prior to a day sail, if tracking was enabled when you last shutdown OCPN, and GPS is available, then tracking will be started today. The "Automatic Daily Track" option is not related in this case.


Does this match your observation? It does on my quick local tests.
Dave
Yes. It does. [emoji4]

I noted that tracking needs to be enabled on the icons as well.
So looks like it's sorted.

Thanks for clarification.
__________________
www.ladyrover.com
Franziska is offline   Reply With Quote
Old 26-04-2023, 16:52   #36
Registered User

Join Date: Aug 2010
Location: Oz
Boat: EX prawn trawler 14m
Posts: 166
Re: OpenCpn 5.8.0 issues

Quote:
Originally Posted by bdbcat View Post
redog....
"O58 seem to be working"


Did it report that the draw plugin was incompatible and was to be deleted?


Thanks
Dave
Dave
Sorry no reports just opened O as per usual.
Redog
redog is offline   Reply With Quote
Old 26-04-2023, 18:36   #37
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,527
Re: OpenCpn 5.8.0 issues

Redog...
Would you be will to try that test again with a custom version of OCPN that will give more log information?
Dave
bdbcat is offline   Reply With Quote
Old 26-04-2023, 19:18   #38
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,527
Re: OpenCpn 5.8.0 issues

Redog...
If possible:
1. Download this test version of OCPN
https://launchpad.net/~bdbcat/+archi...04.1_amd64.deb


2. Install the test version by:
$ sudo dpkg -i opencpn_5.8.1+7980+bf00b5237~ubuntu22.04.1_amd64.d eb


3. As in the previous test, copy the incompatible version of libo-draw_pi.so to ~/.local/lib/opencpn


4. For clarity, delete ~/.opencpn/opencpn.log
5. Start OCPN. When it settles down, stop OCPN.
6. Post logfile here.


Good Luck, and thanks
Dave
bdbcat is offline   Reply With Quote
Old 27-04-2023, 00:55   #39
Registered User

Join Date: Aug 2010
Location: Oz
Boat: EX prawn trawler 14m
Posts: 166
Re: OpenCpn 5.8.0 issues

Quote:
Originally Posted by bdbcat View Post
Redog...
If possible:
1. Download this test version of OCPN
https://launchpad.net/~bdbcat/+archi...04.1_amd64.deb


2. Install the test version by:
$ sudo dpkg -i opencpn_5.8.1+7980+bf00b5237~ubuntu22.04.1_amd64.d eb


3. As in the previous test, copy the incompatible version of libo-draw_pi.so to ~/.local/lib/opencpn


4. For clarity, delete ~/.opencpn/opencpn.log
5. Start OCPN. When it settles down, stop OCPN.
6. Post logfile here.


Good Luck, and thanks
Dave



Dave
I have done above and O has failed to start, it just spun the mouse pointer for 10 sec then stopped.

Also no log created.


However I kept a screenshot of terminal install.


I will try anything you send my way. Keep suggestions coming.
redog
Attached Thumbnails
Click image for larger version

Name:	opencpn test install.png
Views:	39
Size:	247.0 KB
ID:	274637  
redog is offline   Reply With Quote
Old 27-04-2023, 07:19   #40
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,527
Re: OpenCpn 5.8.0 issues

Redog...


Please try:
$ sudo apt install libwxgtk3.2-0



Then the

$ sudo dpkg -i opencpn_5.8.1+7980+bf00b5237~ubuntu22.04.1_amd64.d eb


Thanks
Dave
bdbcat is offline   Reply With Quote
Old 27-04-2023, 15:45   #41
Registered User

Join Date: Aug 2010
Location: Oz
Boat: EX prawn trawler 14m
Posts: 166
Re: OpenCpn 5.8.0 issues

Dave

No success installing libwxgtk3.2-0
attached screenshots 1 as .docx

no log created on O attempted opening
redog
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2023-04-28 06-38-55.png
Views:	33
Size:	269.3 KB
ID:	274687  
Attached Files
File Type: pdf libwxgtx3.2-0 install.docx.pdf (5.5 KB, 36 views)
redog is offline   Reply With Quote
Old 27-04-2023, 17:55   #42
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,527
Re: OpenCpn 5.8.0 issues

Redog...
We try again.


$ sudo add-apt-repository ppa:bdbcat/opencpn $ sudo apt update

$ sudo install opencpn

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 27-04-2023, 21:16   #43
Registered User

Join Date: Aug 2010
Location: Oz
Boat: EX prawn trawler 14m
Posts: 166
Re: OpenCpn 5.8.0 issues

Quote:
Originally Posted by bdbcat View Post
Redog...
We try again.


$ sudo add-apt-repository ppa:bdbcat/opencpn $ sudo apt update

$ sudo install opencpn

Thanks
Dave



Dave

as requested but failed to install
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2023-04-28 12-13-32.jpg
Views:	33
Size:	382.9 KB
ID:	274707  
redog is offline   Reply With Quote
Old 28-04-2023, 01:06   #44
Registered User

Join Date: Aug 2010
Location: Oz
Boat: EX prawn trawler 14m
Posts: 166
Re: OpenCpn 5.8.0 issues

Dave
No thought given to removing my old PPA.


Install working now.


O started as expected.


I had radar and draw in .local/lib/opencpn
O complained about radar and was going to delete it.


Cannot duplicate original problem of crashes.


Startup log attached.


thanks redog
Attached Files
File Type: pdf opencpn.log.pdf (14.3 KB, 16 views)
redog is offline   Reply With Quote
Old 28-04-2023, 03:52   #45
Registered User

Join Date: Dec 2011
Boat: MC-Tec, Akilaria 950
Posts: 242
Re: OpenCpn 5.8.0 issues

Compiled 5.8.0 in Fedora 37 last night from master, and started playing with it this morning (at home) with -p option.


First I ran an old vdr_pi file, which worked.


Then stopped vdr_pi, and plugged in a GPS-Mouse.


Setting the connection to nmea 183, etc and checking the NMEA-log I saw in green (accepted) :
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,091412.323,4643.8475,N,01341.5139,E,0,0,,10 4.4,M,45.6,M,,*4A
$GPGLL,4643.8475,N,01341.5139,E,091412.323,V,N*4E $GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,3,2,10,05,18,070,,12,09,119,,02,08,041,,16, 07,301,*7C
$GPRMC,091412.323,V,4643.8475,N,01341.5139,E,0.00, 0.00,190914,,,N*7D
...

So clearly a position in RMC and GGA



But O did show an active (!) position (boat icon red) where I had stopped the vdr file 120 km away...
I restarted O, same thing : SOG/course updated, but boat showed red with wrong position 120 km away from where I am with the GPS mouse.


Then on the interface screen I found this new button Adjust communication priorities ...
Looking into these, there was only Speed/Course pointing to the /dev/ttyUSB0 which was set for the GPS mouse.

All the rest was set to "virtual" (from the vdr file, I guess).

Pushed the refresh button, no change, although RMC and GGA come in with a valid position, they did not appear as serial port /dev/ttyUSB0, only as "virtual" ...

Pushed the "Deselect all" ("Alle Abwählen" in german) : no change.


Restarted O again, no change, no valid position.

Finally I ran another vdr file, while the GPS mouse was connected, went back into the communication priority setting, deleted all and refreshed.


And only then I got RMC and GGA selectable as /dev/ttyUSB0 and voilà, I had the correct position ...


BUT : after stopping the vdr file I still have these virtual records, and although there's nothing coming in they seem to prevent the timeout for certain instrument channels.


I still have a depth and speed through water, although there's no more STW / depth anymore since an hour ...
(see attached picture)


After a restart of O, STW and depth values are gone, but I still have these virtual priorities which do not exist anymore ...
I think that whole thing needs some rework...


Especially the fact that instruments do no time out anymore
[Edit:]
and refresh does not add existing incoming nmea record as /dev/ttyUSB0
[end Edit]

is an issue ...


BR,


Thomas
Attached Thumbnails
Click image for larger version

Name:	Comm_priorities_bug.png
Views:	25
Size:	119.6 KB
ID:	274712  
tom_BigSpeedy 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 Linux / Ubuntu Issues and Questions yachtmanforfun OpenCPN 65 24-01-2018 08:06
Issues / Bugs with OpenCPN since 4.0.0 kutt OpenCPN 0 23-03-2017 03:50
OpenCPN and Fleet Code Issues chouliha OpenCPN 7 22-09-2016 13:25
OpenCPN installation issues fedora 18 titaantje OpenCPN 10 22-01-2013 10:34
Opencpn Depedancies issues on Debian AlainT OpenCPN 6 22-01-2013 03:52

Advertise Here
  Vendor Spotlight
No Threads to Display.


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.