-
Notifications
You must be signed in to change notification settings - Fork 7
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
OpenCPN crashes after plugin is disabled #36
Comments
marco would you please check version 0.4.13 + TP1.0.238 which is the current version in the PIM master catalog. Thanks. |
Marco, Don't bother with that. Version Autopilot_route 0.4.13 branch master Android fails. Prod 06/14/2023 - This is not working Preferences does not |
I can't find 0.4.13 in the master catalog for windows. 0.4.9.0. is what I see. |
And you updated the catalog probably. Perhaps PIM has identified it as not compatible. I need to look into this further and fix the pi. Sorry |
I believe this has been fixed? If so, please close Marco. Plugin has been updated and newest version is now in PIM master catalog |
I'm afraid not. Plugin 0.4.30.0 from the master catalog still has the problem (OpenCPN 5.8.4-0). Easy to replicate here: enable the plugin, create a simple route, enable the route, disable the route, disable the plugin (uncheck the enabled checkbox and hit ok) --> OpenCPN stops. Last lines;
|
@bdbcat can you take a look at this bug for us? Thanks rick. |
Rick I'm updating my boat systems and now trying to find the autopilot_route plugin in the master catalog of the ubuntu-x86_64:18.04 PIM. Can't see it. Should it be there? Thx! |
marco... |
Thanks Dave, Hope it works Marco, as we'd really like to allow you to test this plugin further in its new configuration. I believe Dave's suggestion should work. |
Thanks for the suggestion, but after plugin installation, opencpn encounters errors during plugin startup, telling me the plugin will be uninstalled again. I guess I have to compile them from github, like I have done many times in the past; the question is now what repositories to choose because the version straight from Sean does compile, but gives me a segment fault. |
I'm trying to compile pypilot_pi from https://github.com/bdbcat/pypilot_pi, but at cmake .. I get this:
Also, it plans to install to /usr/local, but the OpenCPN from the Ubuntu ppa does not search there.
|
@bdbcat @marcobergman https://github.com/OpenCPN/opencpn-libs/blob/main/README.md jongough/testplugin_pi#342 scroll down to opencpn-libs and there are a number of links and after reading you can pick one of them to follow. What I think I would do is to simply remove the local opencpn-libs directory and then reestablish it using the git commands. Note: Dave had told me to stop updating opencpn-libs because he and Leamas were busy changing this common source. I had hoped that Dave would advise re your question, and he may still do so, but I am just giving you what I would do because the plugin is not building right now. Hope this helps. |
Thx for this. I realise I'm putting unneeded burden on you guys sticking to an ancient linux version. So I'm upgrading my hardware now to upgrade linux. There is a practical limit to reusing old hardware. Edit: took me a while to find out that choosing an LTS version of Ubuntu is all it takes to have all plugins available and working. May I suggest that to be added to https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpn:opencpn_user_manual:getting_started:opencpn_installation:ubuntu_ppa |
Added the info here in the newer version of the manual Thanks. |
Thx Rick! I managed to get 20.04 (an LTS version) installed on my old boat laptop; there I could install the pypilot plugin. Installing 22.04 (all other things the same), the pypilot plugin is non-functional, then rejected right after restart of opencpn. I have two clean VM's now (one 20.04, one 22.04) where I can replicate this. I'm not sure where I can look for logging to provide more details on this. Edit default compatibility settings: |
On the 22.04 fail: |
Here we go, indeed an undefined symbol: 14:23:11.973 MESSAGE update_mgr.cpp:222 Selected update: pypilot |
Looks like a Wayland problem. $GDK_BACKEND=x11 opencpn |
That did not do it, and putting WaylandEnable=false in /etc/gdm3/custom.conf did not do it either. Same output in opencpn.log. I do have a new error message, which now shows up when I click pypilot in the plugin list. It causes opencpn to abort:
|
I'll try some local builds on 22.04, and see if I can isolate this. |
Marco... When I install OCPN 5.8.4 from standard O production repo on launchpad, I see no problems with autopilot_route. Dave |
Autopilot_route plugin is now fine, it's the pypilot plugin that is the problem on 22.04. I'm guilty of introducing the confusion in this post; I've now created the issue under the repository of the pypilot plugin: pypilot/pypilot_pi#37. Apologies for any confusion. The original issue (crashing ocpn after disable) is still actual. |
marco can we please close this then? you need to close it you are the original poster OP |
Rick... |
Yes, I'm afraid so: The original issue (crashing ocpn after disable) is still actual. Just checked it: 0.4.30 on Windows still crashes OpenCPN, and 0.4.30 also crashes OpenCPN on 20.04 and on 22.04. Same scenario to replicate, last line in the log:
|
Marco... |
Thx, that was it! Tested on Windows, Ubuntu 20.04 and Ubuntu 22.04 |
Thanks Dave and Marco. Should this PI be updated now in PIM? |
Should this PI be updated now in PIM? |
Thank you as well, Rick. I think it already is in the master catalog; that's where I tested it from. |
To replicate:
Log attached.
Windows OpenCPN 5.8.4; plugin 0.4.9.0 (from the master plugin catalog)
opencpn.log
The text was updated successfully, but these errors were encountered: