-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flatpak Plugins #578
Comments
Hi Rick I installed all of them
three kinds of problems appear
Besides this opencpn inside Flatpak is not very funny :
Worse : Since the choice was done not to allow simple building for the plugins (managed by the plugin manager) I can't anymore create rpms for my distribution (the plugin manager only works for Windows, MacOS, Debian ) I have created an OpenCPN 5.6.0 rpm and could use most of the rpms for the plugins I had built for OpenCPN 5.2.4 I understand why flatpak was choosen but it's a pity we can't anymore build simply some plugins such as radar oernc oesenc to include them in a rpm as we could before ! |
Thank you filochard! I hope you have another installation that is working! I have posted an issue about this so that others can respond. I am very sorry about the problems and repeated warnings which look like to they are from wxWidgets. |
Fortunately my legacy install of OpenCPN 5.2.4 (with the rpms I maintain) is still working on Mageia8 But I never was able to modify this source to build a rpm complying with OpenCPN 5.6.0 that doesn't accept the previous version of oesenc... |
filochard Also this is just an idea, but perhaps uninstalling all plugins except the internal plugins and seeing if you still get the graphics freezing issue? Is opengl on? or off? Tactics and DashboardTactics need to be fixed, we have those issues recorded. Thanks for your help. |
@filochard : Something fishy is going on here. Trying to take your points one by one:
EDIT: OTOH, Shipdriver works fine by me. Filed Rasbats/UKTides_pi#12 |
More on the list:
Yes, this is an unfortunate fact. The Flatpak sandbox is a separate machine from a licensing point of view. The solution is to get the USB dongle to next sailing season.
Not completely true. When you for example push the "Website" button for a plugin it will launch Firefox. But there are certainly places which needs to be fixed, for this to work the links must be used correctly in the plugins. Ergo: we need specific bugs for plugins where it happens.
Every time? Seems strange, does not happen to me?! |
Here it is :
I unactivated all the plugins : no more freeze
It's on (you may see this in the log file
Thanks for your work !!! |
Testing on Flatpak: |
I know those are simple warnings : in Mageia 8 we get the same warnings for some programs rebuilt for wxgtk 3.1.5 final release
Today I have to update once again all the stuff : !!!
Previously I had no crash nor freeze inside flatpak with OpenCPN 5.2.4 Maybe some plugins were written for wxgtk 3.0 and that's the reason there are crashes with wxgtk 3.1.5
version 1.10.5
|
I have to add this path inside the script : It's not very user friendly for a simple user that previously could simply access to the whole filesystem from OpenCPN I'm thinking about Mageia' users when there will not exist rpms anymore but only flatpak to use OpenCPN... |
Indeed, this is messy. However, most users have the charts under $HOME, and in this case it works out of the box. I intend to work further with this for the case you describe here which could be much smoother, for sure. |
I'm on Fedora myself. What I do think is that we who are using the more "odd" linux distributions will benefit in the long run by using the same solution. But I know the feeling, Flatpak is strange, new and hard to grasp in the beginning. And the handling of the Nvidia drivers is a pain. OTOH, from a user perspective I think you can agree that discovering and installing new plugins is way easier in the new version, right? |
Basically no plugins have been tested against wx 3.1. See OpenCPN/OpenCPN#2506 |
Why "odd" distributions ? Mageia, close to Fedora or OpenSuse, is very easy to configure for a beginner, much more simple than Debian and even than Ubuntu
You are right, the plugin manager is really simple to use... |
I got a problem when trying to use wx 3.1 to build the whole stuff beside OpenCPN 5.2.4 ! With other programs (such as guayadeque for instance) switching from wxgtk3.0 to wxgtk 3.1 needed to modifiy the source |
Just in terms of number of users and devs |
Hi Trying to build some Mageia rpms (other than OpenCPN) upon wxgtk 3.1.5, one the dev found a regression in this version from april 2021, preventing to resize some windows for some programs ! This issue (wxWidgets/wxWidgets#19170) has been corrected in july 2021 by two commits that may be patched to the wxgtk 3.1.5 final release : I don't know if OpenCPN or its plugins are concerned ... |
@filochard: good input. Thanks! I have added these two patches the 3.5.1 packages at https://launchpad.net/~leamas-alec/+archive/ubuntu/wxwidgets. This the part of the underpinnings for OpenCPN/OpenCPN#2506. As I write, I realize that I need to add the same patches to the flatpak build in the PR. Will do. |
Looking in Filochard's log above I find many plugin attempted installations like this.
|
After update to OpenCPN linux and flatpak builds to wxWidgets 3.1.5 above, are the PI preferences buttons working? |
No, you don't. Please read the code. |
From 12:53:10.310 to 12:59:19.491 a period of 6 minutes where there are many failures. Then starting again 12:59:23.374 M etc. |
All that noise in the logfile comes from an accidental commit of mine for some debugging, that I forgot to revert before Release to Production. Oooops, sorry. It is useful, if busy...
He is testing a plugin for applicability to the current host. When the parameters in the line "Host: init: :abi:" match the parameters in the line "Plugin: init: abi:", a potential compatible plugin is detected. Most of the cases are fails, since he is scanning the entire catalog. Dave |
@bdbcat : Please don't remove those statements, but make them "debug" instead. They are crucial when hunting bugs in the matching. |
Thanks, bdbcat. So it is not coming from the PIM, directly, but from him executing "Import Plugin?" |
A bit off topic, but is this when using "Plugin tarballs downloader" at the bottom of this download page? I think this is a great resource, but I wonder why Norton is telling me unequivocally that these links are a "Dangerous Webpage"? Perhaps these links don't have a good certificate? https://safeweb.norton.com/report/show?url=http://gafsan.crabdance.com/opencpn-dl/&ulang=en |
This post above has been reported. |
Closing |
@filochard
We have been checking and testing MacOS Plugins and Raspbian Plugins which have resulted in a number of fixes for those OS. Since you've been using Flatpak, would you mind advising regarding what plugins are available and which ones really work?
For a reference of what plugins are generally available, please see the MacOS thread on Cruiser's Forum, hopefully these are also available in flatpak.
There are some later additions here and here
If we could generate a similar list of plugins, and confirm if they work, and if not what is the issue, that would be very helpful.
The text was updated successfully, but these errors were encountered: