linuxmint / mint20-beta

BETA Bug Squah Rush
20 stars 8 forks source link

Flatpak applications install fine, but fail to launch #187

Open rdlf4 opened 4 years ago

rdlf4 commented 4 years ago

I decided to give KDENLIVE and PyCharm Community Edition a try, this time as Flatpak applications. This is the path I used for both: flathub.org -> use the flatpakref file to take me to LM Software Manager -> installed flatpak from there, so that I can have the flatpak application, along with its dependencies covered. Both installed just fine, no errors as result. Launching from Software Manager results in nothing. Launching from the Menu, and a taskbar icon pops up, but then goes away shortly after. Launching from the Terminal gives me:

rodolfo@rodolfo-Aspire-A515-41G:~$ flatpak run org.kde.kdenlive
/usr/bin/env: ‘bash’: No such file or directory
error: ldconfig failed, exit status 32512

Same for PyCharm:

rodolfo@rodolfo-Aspire-A515-41G:~$ flatpak run com.jetbrains.PyCharm-Community 
/usr/bin/env: ‘bash’: No such file or directory
error: ldconfig failed, exit status 32512
xenopeek commented 4 years ago

Both work fine here on Linux Mint 20 Cinnamon after installing. Upstream there is a report of flatpak run failing when ld cache generation with ldconfig fails. Have you modified permissions on /run or ~/.var directories or are you using fscrypt for encrypting your home directory? Those could cause this issue.

Suggest to try with --verbose option added to see if you get more clues that way. And I'd use the same command as is in your menu. For kdenlive try:

/usr/bin/flatpak run --verbose --branch=stable --arch=x86_64 --command=kdenlive --file-forwarding org.kde.kdenlive