AppImageCommunity / libappimage

Implements functionality for dealing with AppImage files
https://appimage.org
Other
46 stars 29 forks source link

ERROR: not an AppImage, skipping #144

Closed probonopd closed 4 years ago

probonopd commented 4 years ago

As requested by @TheAssassin over at https://github.com/TheAssassin/AppImageLauncher/issues/249, posting this here as well:

Getting a ton of ERROR: not an AppImage, skipping. However, the AppImages can be launched just fine.

me@host:~$ /home/me/.local/lib/appimagelauncher-lite/appimagelauncher-lite.AppImage cli --version
ail-cli version 2.0.0-alpha-2 (git commit 567ce44), built on 2019-10-13 03:47:58 UTC

me@host:~$ /home/me/.local/lib/appimagelauncher-lite/appimagelauncher-lite.AppImage appimagelauncherd --monitor-mounted-filesystems
(...)
Integrating: /isodevice/Applications/gPodder-3.9.1.glibc2.15-x86_64.AppImage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/imagewriter-git06042017-x86_64.AppImage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/kdenlive-17.12.0-x86_64.AppImage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/k3b-git20170204-x86_64.AppImage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/krita-4.1.0-beta.2-x86_64.appimage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/krita-3.0.92-x86_64.appimage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/krita3-prealpha2-3c69a59-x86_64.appimage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/ksnip-317-f23aa95-x86_64.AppImage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/linuxdeployqt-continuous-x86_64.AppImage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/netfabb_Basic-x86_64.AppImage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/nrfconnect-2.3.0-x86_64.AppImage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/nrfconnect-2.4.0-x86_64.AppImage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/ostree-1.6.1.glibc2.11-x86_64.AppImage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/otter-browser-0.9.93-rc3-x86_64.AppImage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/prusacontrol_0.9.4.415_beta.AppImage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/scribus-1.5.2-linux-x86_64.AppImage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/AppImageUpdater-e32b933-x86_64.AppImage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/ungoogled-chromium_70.0.3538.77-1_linux.AppImage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/vlc-3.0.0.gitfeb851a.glibc2.17-x86-64.appimage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/vokoscreen-2.5.1.glibc2.17-x86_64.AppImage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/wxHexEditor-0.23-x86_64.AppImage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/Gambas3-3.12.2+git5962.78f8359+build4.931685e.8.7951239.glibc2.17-x86_64.AppImage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/PrusaSlicer-2.0.0+linux64-201905201652.AppImage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/CuteESP-817afc2-x86_64.AppImage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/CreawsomeMod-4.1.0.mod20190530-0.3.2-x86_64.AppImage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/AppImageUpdater-ff85721-x86_64.AppImage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/Google_Chrome-76.0.3809.132.glibc2.17-x86_64.AppImage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/SerialPort_Assistant-v0.4.1-x86_64.AppImage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/FreeCAD_0.19-18353-Linux-Conda_Py3Qt5_glibc2.12-x86_64.AppImage
ERROR: not an AppImage, skipping
Integrating: /isodevice/Applications/PrusaSlicer-2.1.0+linux64-201909160925.AppImage
ERROR: not an AppImage, skipping

Headers seem to be ok, at least some of the AppImages have the 0x414902 magic bytes for type-2 images:

me@host:~$ xxd /isodevice/Applications/ungoogled-chromium_70.0.3538.77-1_linux.AppImage | head -n 2
00000000: 7f45 4c46 0201 0100 4149 0200 0000 0000  .ELF....AI......
00000010: 0200 3e00 0100 0000 3045 4000 0000 0000  ..>.....0E@.....

me@host:~$ xxd /isodevice/Applications/Google_Chrome-76.0.3809.132.glibc2.17-x86_64.AppImage | head -n 2
00000000: 7f45 4c46 0201 0100 4149 0200 0000 0000  .ELF....AI......
00000010: 0200 3e00 0100 0000 9046 4000 0000 0000  ..>......F@.....
TheAssassin commented 4 years ago

Please provide some AppImages for analysis. I need to try to reproduce this.

probonopd commented 4 years ago

https://ungoogled-software.github.io/ungoogled-chromium-binaries/releases/appimage/64bit/70.0.3538.77-1

TheAssassin commented 4 years ago

Cannot reproduce the issue with an up-to-date release. You haven't provided any information about the distros you tried nor the version. Please add more details.

TheAssassin commented 4 years ago

Will have to be closed soon due to lack of information.

TheAssassin commented 4 years ago

Can't you at least provide the version you tested?

probonopd commented 4 years ago

2.0.0-alpha-2 (git commit 567ce44), built on 2019-10-13 03:47:58 UTC

TheAssassin commented 4 years ago

Thanks!

ccrowles commented 3 years ago

I'm having a similar issue I think? The appimage (Kotatogram Desktop, build downloaded here) runs perfectly, but AppImageLauncher insists that it's not an AppImage. image

I'm running latest PPA version of AppImageLauncher (202010290529-stable-0f91801~ubuntu20.04.1) on Kubuntu 20.04. Not sure if I should have posted this here or at the AppImageLauncher repo or both.

TheAssassin commented 3 years ago

The thing lacks the magic bytes and is, per the specification, not to be considered an AppImage. It should not carry that extension. Also, it's shipped in a tarball for some reason, which is discouraged.