Skip to content
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

Radar plugin 5.3.2 beta and 5.3.3 prod fails installation on flatpak #199

Closed
keesverruijt opened this issue May 12, 2022 · 3 comments
Closed
Assignees

Comments

@keesverruijt
Copy link
Contributor

keesverruijt commented May 12, 2022

On ARM64 (aarch64) and x86_64 the flatpak install fails because the tar.gz doesn't contain the actual plugin files, only a manifest.

@keesverruijt
Copy link
Contributor Author

Looking at the cloud smith directory, it is pretty obvious that:

  1. The following platforms are OK and the expected size (500-700 KB):
    • MSVC
    • macOS-wx315
    • debian-A32-10
    • debian-A32-11
    • ubuntu-gtk3-A32-18.04
    • ubuntu-gtk3-A32-20.04
  2. The following are broken (1.5 KB):
    • flatpak-A64-20.08
    • flatpak-20.08
  3. The following are way too big:
    • debian-10
    • debian-11
    • ubuntu-gtk3-20.04
    • ubuntu-gtk3-18.04
    • ubuntu-18.04

@keesverruijt keesverruijt changed the title Radar plugin 5.3.3 fails installation on flatpak (aarch64) Radar plugin 5.3.2 beta and 5.3.3 prod fails installation on flatpak (aarch64) May 12, 2022
@keesverruijt
Copy link
Contributor Author

keesverruijt commented May 12, 2022

A workaround is to use the older 5.2 release, if that is an option (your radar works with 5.2).

  • Remove the incorrect 5.3.3 tar.gz from ~/.var/app/org.opencpn.OpenCPN/config/opencpn/plugins/cache/tarballs:

    rm ~/.var/app/org.opencpn.OpenCPN/config/opencpn/plugins/cache/tarballs/Radar-5.3.3*

  • Download the tar.gz tarball manually from (for instance): https://cloudsmith.io/~opencpn-radar-pi/repos/opencpn-radar-pi-prod/packages/detail/raw/Radar-5.2-flatpak-A64-20.08-tarball/5.2.2-+1309.be299ce/

  • Put this in ~/snap

  • Import the plugin explicitly.

  • This should now work as normal, including showing the radar selection dialog when first installed, or allow access to the preferences.

If this still doesn't work, verify that there is a ~/.var/app/org.opencpn.OpenCPN/lib/opencpn/libradar_pi.so file. If not, you don't have a correct .tar.gz file or something else went wrong in the install.

@keesverruijt keesverruijt changed the title Radar plugin 5.3.2 beta and 5.3.3 prod fails installation on flatpak (aarch64) Radar plugin 5.3.2 beta and 5.3.3 prod fails installation on flatpak Jun 6, 2022
@keesverruijt
Copy link
Contributor Author

Fixed in v5.3.4 commit 2b39e69.

@keesverruijt keesverruijt self-assigned this Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant