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 01-11-2023, 03:19   #1
Registered User

Join Date: Nov 2023
Posts: 1
installation of openCPN on debian 12

Good morning,
I have added the PPA Opencpn to my depot list then installed launchpadlib but i still have an error message stating the depot does not have a "release file".
I have looked on the internet on how to go over this problem without success.
Could you help me please ?
Thank you in advance
Pigeon_1 is offline   Reply With Quote
Old 01-11-2023, 06:38   #2
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,147
Re: installation of openCPN on debian 12

Quote:
Originally Posted by Pigeon_1 View Post
Good morning,
I have added the PPA Opencpn to my depot list then installed launchpadlib but i still have an error message stating the depot does not have a "release file".
I have looked on the internet on how to go over this problem without success.
Could you help me please ?
Thank you in advance
I repeat this advice.Take the flatpak version. Then you have a working OpenCPN with all the plugins available.

Install the flatpak enviroment: sudo apt install flatpak

then go the the site flathub > search for opencpn > install (does not really install)

then in the terminal of your Debian system > go the the folder Downloads. There you find the setup file.

then sudo flatpak install (the file that is available for the installation).

Then you have the latest OpenCPN available. Go to plugins and update the master plugins.

Bram
verkerkbr is offline   Reply With Quote
Old 02-12-2023, 02:39   #3
Registered User

Join Date: Apr 2011
Posts: 7
Re: installation of openCPN on debian 12

Hi Bram,
I successfully installed OpenCPN through Flatpak, with no errors, but: when running it, both Route Info (BRG/XTE/etc.) and the zoom in/out widgets are in center of the screen.
Did not an option to move them.

When running from command line I am getting a lot of warnings, not sure tthey are related. For example. "../../../src/pcm/pcm_asym.c:105_snd_pcm_asym_open) capture slave is not defined".
Any idea? Are you aware of such a weird problem?
(Latest Raspberry Pi OS, which I believe is based on Debian 12, on RPi 4B)

Many thanks!
Gideoni is offline   Reply With Quote
Old 02-12-2023, 02:51   #4
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,246
Re: installation of openCPN on debian 12

That is a known problem with Wayland on RPi OS, using X11 instead should fix it for you.
nohal is offline   Reply With Quote
Old 02-12-2023, 03:29   #5
Registered User

Join Date: Sep 2023
Location: Cruising
Posts: 351
Re: installation of openCPN on debian 12

you could try openplotter & install opencpn from the openplotter ubuntu installer, not flatpack.
Flattpack had bits missing last time I looked, installing from the repository has 5.8.4 .
It all works.
barcoMeCasa is online now   Reply With Quote
Old 02-12-2023, 07:14   #6
Registered User

Join Date: Apr 2011
Posts: 7
Re: installation of openCPN on debian 12

Thank you both Nohal and BarcoMeCasa,
Indeed it seems that some pieces are missing from the flatpak installation. Tried the openPlotter route, but hit a wall there.
Thanks again!
Gideoni is offline   Reply With Quote
Old 02-12-2023, 08:33   #7
Registered User

Join Date: Sep 2023
Location: Cruising
Posts: 351
Re: installation of openCPN on debian 12

Quote:
Originally Posted by Gideoni View Post
Tried the openPlotter route, but hit a wall there.
Thanks again!
Could you spare a moment to outline happened with openplotter? Should be pretty easy follow the quite brief instructions & off it goes. Not saying you should go that route, it's just the devs are keen to hear of any issues so they can fix it or make it easier
barcoMeCasa is online now   Reply With Quote
Old 02-12-2023, 08:48   #8
Registered User

Join Date: Apr 2011
Posts: 7
Re: installation of openCPN on debian 12

Sure. Here it is:
As I have many other processes on the RPi, I went through the path of Desktop and laptop installation (not the RPi image). So per the instructions:
1. sudo apt update
2. sudo apt install python3-wxgtk4.0 python3-ujson python3-pyudev vlc matchbox-keyboard
3. Download this OpenPlotter Settings package: Latest version of 'openplotter-settings' @ Cloudsmith - this was 3.6.6-stable
4. sudo dpkg -i openplotter-settings_3.6.6-stable.deb

That's it - went without errors. BUT: When going to openplotter-settings, getting the following error:
-----------------------------------
Traceback (most recent call last):
File "/usr/bin/openplotter-settings", line 11, in <module>
load_entry_point('openplotterSettings==3.6.6', 'console_scripts', 'openplotter-settings')()
File "/usr/lib/python3/dist-packages/openplotterSettings/openplotterSettings.py", line 1146, in main
MyFrame().Show()
^^^^^^^^^
File "/usr/lib/python3/dist-packages/openplotterSettings/openplotterSettings.py", line 37, in __init__
self.language = Language(self.currentdir,'openplotter-settings',currentLanguage)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/openplotterSettings/language.py", line 24, in __init__
gettext.install(module, locale_folder, False)
TypeError: install() takes from 1 to 2 positional arguments but 3 were given
---------------------------------

And, the main menu entries for "setting" and "Check System" do nothing - and indeed the files they point to are 0 bytes (empty).

Hope it helps, and would love to hear what I did wrong.
Gideoni is offline   Reply With Quote
Old 02-12-2023, 08:55   #9
Registered User

Join Date: Sep 2023
Location: Cruising
Posts: 351
Re: installation of openCPN on debian 12

Quote:
Originally Posted by Gideoni View Post
Sure. Here it is:

Hope it helps, and would love to hear what I did wrong.
Great, thanks -
Though Openplotter isn't really designed to work as an installed program like that, it's a tweaked operating system image -
https://openplotter.readthedocs.io/e...wnloading.html

If you fancy a look burn that on a card it should boot straight away, opencpn installer is in a menu.
barcoMeCasa is online now   Reply With Quote
Old 02-12-2023, 11:01   #10
Registered User

Join Date: Apr 2011
Posts: 7
Re: installation of openCPN on debian 12

Thank you! I understand.
Issue is I have another 6 processes that run there, other services and a SPA internal web-app that is served from that RPi (on Apache2). If nothing else works, I will resort to the solution you suggest (use the openPlotter image), and Then will start installing all the other apps.
Thanks again,
Gideoni is offline   Reply With Quote
Old 02-12-2023, 11:05   #11
Registered User

Join Date: Apr 2011
Posts: 7
Re: installation of openCPN on debian 12

..and, I guess, if the "Desktop and laptop" method does not work, it should not be an option..
Gideoni is offline   Reply With Quote
Old 02-12-2023, 11:29   #12
Registered User

Join Date: Sep 2023
Location: Cruising
Posts: 351
Re: installation of openCPN on debian 12

Quote:
Originally Posted by Gideoni View Post
Thank you! I understand.
Issue is I have another 6 processes that run there, other services and a SPA internal web-app that is served from that RPi (on Apache2). If nothing else works, I will resort to the solution you suggest (use the openPlotter image), and Then will start installing all the other apps.
Thanks again,
My Pi is primarily a dedicated data & nav machine on the boat so I'm quite careful with it, though there is other stuff on there, like a web server for an internal "boat" website with links to manuals & useful docs etc. It also is the music system with a hifiberry amplifier hat. Quite amazing what a little Pi3 an do for so little cost & power. A big benefit of the dedicated image is that it *works*! All the software is known to play nice together & gets fixed quick if it doesn't so doubt if I'd ever not use their image.
At least with a Pi it's simple to burn a new card and have a play.
barcoMeCasa is online now   Reply With Quote
Old 02-12-2023, 11:54   #13
Registered User

Join Date: Apr 2011
Posts: 7
Re: installation of openCPN on debian 12

Yep! As you said.
(My setup is similar, sans the music, + some additional alerts and sensors logging processes.)
I will go down the route you suggest.
Gideoni is offline   Reply With Quote
Old 02-12-2023, 11:58   #14
Registered User

Join Date: Sep 2023
Location: Cruising
Posts: 351
Re: installation of openCPN on debian 12

Quote:
Originally Posted by Gideoni View Post
Yep! As you said.
(My setup is similar, sans the music, + some additional alerts and sensors logging processes.)
I will go down the route you suggest.
Just FYI I use signalk for pretty much everything, node-red doing any clever bits & send data from sensors using an ESP32 which sends the data as signalk, this git is a bit outdated now but been running flawlessly with micropython on an esp32 for years now 24/7/365. All gets saved to influxdb. And the Pi3 runs Opencpn with radar at the same time!

https://github.com/boatybits/boatymonpy
barcoMeCasa is online now   Reply With Quote
Old 02-12-2023, 22:23   #15
Registered User

Join Date: Apr 2011
Posts: 7
Re: installation of openCPN on debian 12

Noice!
My setup is not that advanced. I use a self-written plugin for the signalk to present all the data collected by the sensors. I works, it is in Github, but not publish quality.
Gideoni is offline   Reply With Quote
Reply

Tags
enc, installation, opencpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Linux Flatpak Installation and Debian plugins p435 OpenCPN 0 13-10-2023 20:18
Installation problem with Debian 7 G4MJW OpenCPN 9 01-02-2014 06:52
OpenCPN segmentation error in Debian Squeeze larsed OpenCPN 22 09-05-2013 13:51
Opencpn Depedancies issues on Debian AlainT OpenCPN 6 22-01-2013 03:52
OpenCPN Build on Debian antonm OpenCPN 176 21-08-2012 08:40

Advertise Here
  Vendor Spotlight
No Threads to Display.


All times are GMT -7. The time now is 06:45.


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.