This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 2 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OpenPlotter 3 roadmap
After installing Openplotter 3 and Opencpn 5.6 flatpak via Openplotter 3, Opencpn does not start.

also if I try it via the tereminal :   flatpak run org.opencpn.OpenCPN 

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


In the Check system app I see the following error:

Checking OpenCPN... | running |  | FP fullscreen autostart enabled

 ↳Unable to read OpenCPN FP configuration





What could be causing this problem ?
Reply
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 ?
Reply
have you changed the user name of your system after installing opencpn with flatpak?
Are you in a headless system?

Try this:

sudo flatpak run org.opencpn.OpenCPN

or try to uninstall and reinstall.
Reply
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.
Reply
(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.
Reply
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'
Reply
(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.
Reply
(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?
Reply
(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
Reply
(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.
Reply


Forum Jump:


Users browsing this thread: 10 Guest(s)