nalsai / SpekFlatpak

📦 Flatpak package of Spek, an acoustic spectrum analyser
8 stars 1 forks source link

Error: "./src/common/iconbndl.cpp(293): assert "icon.IsOk()" failed in AddIcon(): invalid icon" #1

Closed nalsai closed 2 years ago

nalsai commented 2 years ago

When starting Spek this error message appears twice: ./src/common/iconbndl.cpp(293): assert "icon.IsOk()" failed in AddIcon(): invalid icon

Despite this the program works normally.

This seems to be an issue because of wxgtk3 (Spek was made using wxgtk2). There is a bug report with the same problem on Gentoo: https://bugs.gentoo.org/563332#c1 (https://packages.gentoo.org/packages/media-sound/spek) I can probably use patches from Gentoo (can also use a patch to disable updates). I can also look at the spek-wxgtk3 PKGBUILD from the AUR; https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=spek-wxgtk3

nalsai commented 2 years ago

Turns out, the issue was because the icon gets renamed to the app-id for the Flatpak, so it can't find it with the name spek.

nalsai commented 2 years ago

Now I just need to upload an updated build to my server.