OpenMarine
OpenPlotter 3 roadmap - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=2)
+--- Thread: OpenPlotter 3 roadmap (/showthread.php?tid=3878)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35


RE: OpenPlotter 3 roadmap - Sailoog - 2022-04-26

OpenPlotter MAIANA AIS Transponder app version 3 has been released.

This app contains an example of the new system of notifications/actions. After installing OpenPlotter MAIANA AIS Transponder app you will see 2 new actions in OpenPlotter Notifications app:

- Turn MAIANA TX on
- Turn MAIANA TX off

This way AIS transmission can be turned off and on automatically in response to any notification triggered by any signal K threshold or any other program.

Test and report as usual.


RE: OpenPlotter 3 roadmap - jtaraskin - 2022-04-26

(2022-04-26, 07:19 PM)Sailoog Wrote:
(2022-04-26, 12:34 PM)jtaraskin Wrote: Hey,

I installed OpenPlotter 3 on my raspi 4. After some configurations, I can't open the openplotter-network. This is the result Trace:

openplotter-network

Traceback (most recent call last):
  File "/usr/bin/openplotter-network", line 11, in <module>
    load_entry_point('openplotterNetwork==3.1.2', 'console_scripts', 'openplotter-network')()
  File "/usr/lib/python3/dist-packages/openplotterNetwork/openplotterNetwork.py", line 975, in main
    MyFrame().Show()
  File "/usr/lib/python3/dist-packages/openplotterNetwork/openplotterNetwork.py", line 85, in __init__
    self.pageClient()
  File "/usr/lib/python3/dist-packages/openplotterNetwork/openplotterNetwork.py", line 863, in pageClient
    self.read_wlan()
  File "/usr/lib/python3/dist-packages/openplotterNetwork/openplotterNetwork.py", line 899, in read_wlan
    self.client_bitRate1.SetValue(self.find_line_split_set2(wlan_info,"Rate","=",1).split("   ")[0])
AttributeError: 'NoneType' object has no attribute 'split'

what configurations? manual network configurations or configurations through the openplotter interface?

Try uninstalling openplotter-network app from settings and reinstalling again.

I changed the settings from openplotter-network and installed some apps. I reinstalled it also, but no changes. Still same problem. But now I have no AP configuration for my internal wlan Adapter.


RE: OpenPlotter 3 roadmap - Sailoog - 2022-04-26

What is the "internal wlan Adapter"? the Ethernet port of your Raspberry?

Before reinstalling you should uninstall, you did that?

After reinstalling try again without any external device connected to your Raspberry.


RE: OpenPlotter 3 roadmap - jtaraskin - 2022-04-26

(2022-04-26, 08:01 PM)Sailoog Wrote: What is the "internal wlan Adapter"? the Ethernet port of your Raspberry?

Before reinstalling you should uninstall, you did that?

After reinstalling try again without any external device connected to your Raspberry.

Internal Wireless Adapter of the Raspberry Pi. I have a WLAN Dongle from Edimax. And I try to set up the internal Adapter as an Access Point for my Tablet/Phon etc. and the second one (Edimax) for the communication with the internet. The Ethernet port is also as a "test" in my network. I reinstall it now and reject all my external devices and give you informations.

Now I can start openplotter-network. Do I have to insert the Edimax WLAN Adapter before I configure the AP function with the internal WLAN Adapter, or first internal Adapter as AP and then put in the Edimax and connect to the WLAN Network of a Marina, or my Homenetwork?

Now I could find out the behavior. If I insert the WLAN Dongle Edimax, I can't start openplotter-network. After I had configured the AP:


RE: OpenPlotter 3 roadmap - Hobo - 2022-04-26

(2022-04-26, 06:57 PM)Sailoog Wrote:
(2022-04-16, 02:06 PM)Hobo Wrote: Hi,

I have installed Openplotter 3 and from there installed OpenCpn 5.6 Flatpak

When I start it through open plotter or via terminal (flatpak run org.opencpn.OpenCPN) I get the following response : 

Invalid MIT-MAGIC-COOKIE-1 key15:22:44: Error: Unable to initialize GTK+, is DISPLAY set properly?

If I do a startup check, I get : 

Checking OpenCPN... | running |  | FP fullscreen autostart enabled
 ↳Unable to read OpenCPN FP configuration


So the problem is OpenCpn does not start up at the screen, what could be the cause of this problem ?

I have been able to reproduce this error. It happens when using OpenPlotter headless. This is my error:

Code:
(opencpn:2): Gdk-ERROR **: 18:54:58.144: The program 'opencpn' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAccess (attempt to access private resource denied)'.
 (Details: serial 380 error_code 10 request_code 130 (MIT-SHM) minor_code 1)
 (Note to programmers: normally, X errors are reported asynchronously;
  that is, you will receive the error a while after causing it.
  To debug your program, run it with the GDK_SYNCHRONIZE environment
  variable to change this behavior. You can then get a meaningful
  backtrace from your debugger if you break on the gdk_x_error() function.)

I have reported this to OpenCPN devs, thanks for notifying: https://github.com/OpenCPN/OpenCPN/issues/2628

Thanks for the previous tips : I have uninstalled AVNAV and now Open CPN works !


RE: OpenPlotter 3 roadmap - Opie91 - 2022-04-26

(2022-04-26, 06:49 PM)wellenvogel Wrote:
(2022-04-26, 05:13 PM)Opie91 Wrote:
(2022-04-25, 01:06 PM)wellenvogel Wrote:
(2022-04-25, 12:14 AM)Opie91 Wrote: Do you have the Avnav enabled? OpenCPN FP & Avnav do not seem to play together well. OpenCPN FP will not open with Avnav enabled.

Updated Avnav a few days back and it auto enabled on me. It had me chasing my tail for a bit.

would be interesting to get some more info on that.
Normally they should not interfere at all.

Do not know what to say. Just it has been my experience that they OpenCPN FP will not open with the Avnav service running.

I have turned Avnav service on/off and it is definitely repeatable.

Do you have some logs (e.g. OpenCPN log)?
And what is the error? 
Does OpenCPN not come up? Does it crash?
Is it unable to display some charts?
Can you try to start from the command line?

No errors come up it just will not open. The hour glass displays for about 30 seconds and that is it.

Tried to run it from command line with same results. Soon as I shut off the Avnav service all is well.


RE: OpenPlotter 3 roadmap - wellenvogel - 2022-04-27

Quote:Tried to run it from command line with same results. Soon as I shut off the Avnav service all is well
Could you check if the problem still exists if you disable the ocharts plugin in AvNav?


RE: OpenPlotter 3 roadmap - Opie91 - 2022-04-27

(2022-04-27, 08:37 AM)wellenvogel Wrote:
Quote:Tried to run it from command line with same results. Soon as I shut off the Avnav service all is well
Could you check if the problem still exists if you disable the ocharts plugin in AvNav?

Will do and report back.


RE: OpenPlotter 3 roadmap - Sailoog - 2022-04-27

It seems that openplotter-avnav-installer 3.0.5 is broken.

After installing it I get this:

Code:
FAILED: [Errno 2] No such file or directory: '/home/myboat/avnav/data/user/images/kip.png'
Setup NMEA0183 (Avnav->Signal K) for Autopilot (RMB)...
FAILED: string indices must be integers
Setting version...
DONE

- Avnav process never starts, only AvnavUpdater starts.
- Signal K server is killed and never starts.
- OpenCPN flatpak starts (for me opencpn flatpak fails randomly when working headless and I thibnk this is not related to AvNav).

After uninstalling AvNav you need to reinstall Signal K server to make it work again.


RE: OpenPlotter 3 roadmap - Sailoog - 2022-04-27

I think I have found why AvNav does not start. The user pi is hardcoded here: https://github.com/e-sailing/openplotter-avnav/blob/4080b27ef2645f09e82a68f1e8687dc8dca756ce/openplotterAvnav/avPostInstall.py#L110

According to Raspberry devs the default user "pi" has been removed so now it will be usual to deal with different users: https://www.raspberrypi.com/news/raspberry-pi-bullseye-update-april-2022/

but why is signal K server killed? I have repeated the same test and got the same result.
------------------------------------------------------------------
EDITED: forget the user issue, I can see that the user is replaced in systemd when the user "pi" is not used.