"Failed to register AppImage in system via libappimage"

5
closed
silentJET85
silentJET85
Posted 6 months ago

"Failed to register AppImage in system via libappimage" #410

When trying to integrate a particular AppImage, I get the error "Failed to register AppImage in system via libappimage"

If I choose to Run once, the app seems to work fine. So far, this is the only Appimage to have this problem; others have integrated without any problem.

The Appimage I tried: https://www.fosshub.com/Avidemux.html?dwl=avidemuxLinux_2.7.8_GLIBC_2.28_amd64.appImage

My system: Debian 11 Testing Kernel 5.10.0-5-amd64 KDE Plasma 5.20.5

AppImageLauncher version: 2.2.0 Downloaded from: https://github.com/TheAssassin/AppImageLauncher/releases/download/v2.2.0/appimagelauncher_2.2.0-travis995.0f91801.bionic_amd64.deb

DanielGlaas
DanielGlaas
Created 6 months ago

I have the same problem, exactly with the same Appimage of Avidemux!

I use Ubuntu 20.04 and installed AppImageLauncher via the PPA for Ubuntu.

TheAssassin
TheAssassin
Created 5 months ago

Broken AppImage:

[...]
appimagelint.cli[1265931] [INFO] Running check "Icons validity and location check"
appimagelint.icons_check[1265931] [INFO] Extracting icon name from desktop file: /tmp/.mount_avidemlEn5P5/avidemux.desktop
appimagelint.icons_check[1265931] [ERROR] Could not find Icon= entry in desktop file
appimagelint.icons_check[1265931] [INFO] [✖] Valid icon in AppDir root
appimagelint.icons_check[1265931] [INFO] Checking resolution of icon: /tmp/.mount_avidemlEn5P5/.DirIcon
[...]
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/.mount_avidemXXXXXX/.DirIcon'

Not a bug in AppImageLauncher. Please ask the authors of that AppImage to fix it. They may use appimagelint to check its validity.

DanielGlaas
DanielGlaas
Created 5 months ago

Broken AppImage:

[...]
appimagelint.cli[1265931] [INFO] Running check "Icons validity and location check"
appimagelint.icons_check[1265931] [INFO] Extracting icon name from desktop file: /tmp/.mount_avidemlEn5P5/avidemux.desktop
appimagelint.icons_check[1265931] [ERROR] Could not find Icon= entry in desktop file
appimagelint.icons_check[1265931] [INFO] [✖] Valid icon in AppDir root
appimagelint.icons_check[1265931] [INFO] Checking resolution of icon: /tmp/.mount_avidemlEn5P5/.DirIcon
[...]
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/.mount_avidemXXXXXX/.DirIcon'

Not a bug in AppImageLauncher. Please ask the authors of that AppImage to fix it. They may use appimagelint to check its validity.

Thank you very mich for your investigation! I will forward your results to the Team of Avidemux.

Nevertheless, what comes into my mind: The error message of AppImageLauncher could be some kind of more detailed. Or maybe gives a hint how to generate your analysis such that a normal user has a better understanding why registration of the AppImage failed.

DanielGlaas
DanielGlaas
Created 5 months ago

Just a hint for all Ubuntu and Debian users: avidemux can be installed by a PPA: http://fixounet.free.fr/avidemux/download.html I used this one for Ubuntu and with sudo add-apt-repository ppa:xtradeb/apps sudo apt-get update sudo apt install avidemux-qt avidemux is directly available from the App list and command line.

However: As this is my favourite way of installing this program, I will not continue with using it as an AppImage.

TheAssassin
TheAssassin
Created 5 months ago

I am working with what I get from libappimage. libappimage should probably get better at logging.