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

[Problem] Launching an AppImage using the AppImageLauncher by TheAssassin #331

Open
SpeeQz1 opened this issue Nov 5, 2024 · 23 comments
Open

Comments

@SpeeQz1
Copy link

SpeeQz1 commented Nov 5, 2024

Describe the bug
AppImages of the weekly build for x86_64 launched by the AppImageLauncher can't be launched and simply do not open.

To Reproduce
Steps to reproduce the behavior:

  1. Install the AppImageLauncher
  2. Run the AppImage by clicking "Run Once" on the pop up menu when double clicking it
  3. Alternatively you can also run the AppImageLauncher inside the terminal to see any errors

Screenshots
image

Additional context
Error produced by attempting to run the AppImage from the terminal which opens the menu to click "Run Once".

Squashfs image uses (null) compression, this version supports only xz, zlib.
ERROR: appimage_shall_not_be_integrated : sqfs_open_image error: /home/user/Downloads/FreeCAD_weekly-builds-39127-conda-Linux-x86_64-py311.AppImage
AppImageLauncher error: appimage_shall_not_be_integrated() failed (returned -1)
Squashfs image uses (null) compression, this version supports only xz, zlib.
ERROR: appimage_is_terminal_app : sqfs_open_image error: /home/user/Downloads/FreeCAD_weekly-builds-39127-conda-Linux-x86_64-py311.AppImage
AppImageLauncher error: appimage_is_terminal_app() failed (returned -1)
execv error: No such file or directory

OS: Linux Mint 22 (Cinnamon)

@oursland
Copy link
Collaborator

oursland commented Nov 5, 2024

The AppImage was built using the zstd compression algorithm, which has been a part of AppImage standard for a while now. This addresses some performance issues that was being reported by users. It appears the AppImageLauncher has not been updated to support this compression format.

Is AppImageLauncher still developed and supported? The most recent release is from 2020.

@SpeeQz1
Copy link
Author

SpeeQz1 commented Nov 5, 2024

I don't know if it's being kept up to date, I tried running the AppImage using Gear Lever and it seems to work fine. All I know is the previous AppImages of FreeCAD until the weekly build worked with the AppImageLauncher.

@oursland
Copy link
Collaborator

oursland commented Nov 5, 2024

Right, we updated the images last week to use zstd compression to address performance issues experienced by users.

@adrianinsaval
Copy link
Member

I would report this to appimagelauncher, beyond that I would recommend using appimagelauncher only for the desktop integration functionality and launch appimages directly the rest of the time

@JohnOCFII
Copy link

I confirm this behavior with recent FreeCAD weeklies and AppImageLauncher (on Arm Debian Linux (bookworm) as a VM for me). It looks like AppImageLauncher does support zstd. but there is some chat in one of their issues about level of compression. Also - not sure if that is even in their 2020 release, or if you need to try the "continuous" build releases, which I haven't tried.

https://github.com/AppImage/AppImageKit/releases

AppImage/AppImageKit#478 (comment)

@SpeeQz1
Copy link
Author

SpeeQz1 commented Nov 6, 2024

I would report this to appimagelauncher, beyond that I would recommend using appimagelauncher only for the desktop integration functionality and launch appimages directly the rest of the time

AppImageLauncher actually replaces the launching functionality and you have to delete it to be able to launch AppImages without using it. As shown in the bug even attempting to run the AppImage from a terminal, it would still launch it using AppImageLauncher.

I confirm this behavior with recent FreeCAD weeklies and AppImageLauncher (on Arm Debian Linux (bookworm) as a VM for me). It looks like AppImageLauncher does support zstd. but there is some chat in one of their issues about level of compression. Also - not sure if that is even in their 2020 release, or if you need to try the "continuous" build releases, which I haven't tried.

https://github.com/AppImage/AppImageKit/releases

AppImage/AppImageKit#478 (comment)

I can confirm the continuous build release of AppImageLauncher cannot launch the AppImage on Mint.

@Projekt-43
Copy link

I confirm that the workaround of @SpeeQz1:

... delete it to be able to launch AppImages without using it.

did work for me on Manjaro 6.10.13-3 to get passed the zstd issue! 🎉 🙏

But then is the #332 issue...

@adrianinsaval
Copy link
Member

even the continuous build of appimagelauncher is form 2022 so maybe this was abandoned, I'm not sure how wise it is to keep using it. The problem has been reported to them since at least oct 2023 TheAssassin/AppImageLauncher#602

@leoheck
Copy link
Contributor

leoheck commented Nov 6, 2024

Something has changed. This latest weekly is failing to launch.
Something changed in the Freecad to break the AppImages.

#332 (comment)

@leoheck
Copy link
Contributor

leoheck commented Nov 6, 2024

even the continuous build of appimagelauncher is form 2022 so maybe this was abandoned, I'm not sure how wise it is to keep using it. The problem has been reported to them since at least oct 2023 TheAssassin/AppImageLauncher#602

I am using this AppImageLauncher since forrever, this issue started to happen with the latest weekly build of Freecad.

@oursland
Copy link
Collaborator

oursland commented Nov 7, 2024

The issue is that AppImageLauncher is no longer maintained and does not support images built by recent versions of the appimagetool.

@Thiago-Assis-T
Copy link

Hello, i made a post on the freecad forum, then i saw this issue, i posted some info there, if it happen to be relevant here is the post:
https://forum.freecad.org/viewtopic.php?p=790846#p790846

but same story, tried the aur package, then i downloaded it straight from this repo, thinking it might be a bad aur build and faced the same errors

@oursland
Copy link
Collaborator

oursland commented Nov 8, 2024

@Thiago-Assis-T Your issue is different from this one and is related to #332 . There appears to be an issue with either readline or the termcap files in the most recent weekly build.

@Thiago-Assis-T
Copy link

ooh, i see, thanks!

@adrianinsaval
Copy link
Member

so it doesn't sounds like there's much for us to do about this issue, I guess people should stop using appimage launcher... To replace it's functionality maybe we could include a script in the appimage that copies over the desktop file and icons? I'll see what I can come up with next week

@X-Ryl669
Copy link

I confirm that the workaround of @SpeeQz1:

... delete it to be able to launch AppImages without using it.

did work for me on Manjaro 6.10.13-3 to get passed the zstd issue! 🎉 🙏

But then is the #332 issue...

It doesn't for me:

/var/tmp/pamac-build-me/freecad-weekly-appimage/PKGBUILD: line 26: ./freecad-1.0.0_39176.AppImage: cannot execute: required file not found

@adrianinsaval
Copy link
Member

have you restarted after removing appimagelauncher? do you have fuse3 installed?

@longrackslabs
Copy link

longrackslabs commented Nov 14, 2024

I can confirm that removing AppImageLauncher from my Linux Mint and chmod +x the RC4 app image the RC4 loads and runs. Bummer about AppImageLauncher, but good for RC4?

Its hard to to tell how actively https://github.com/TheAssassin/AppImageLauncher is being maintained...

@adrianinsaval
Copy link
Member

adrianinsaval commented Nov 14, 2024

Although you can see some relatively recent commits there's been no actual code changes for over a year. The author claims it is not abandoned though

@X-Ryl669
Copy link

have you restarted after removing appimagelauncher? do you have fuse3 installed?

Yes fuse3 is installed. I've finally rebooted the computer and was able to launch the appimage. I don't know why the AppImageLauncher was still interfering with the launch while it was clearly removed.

@eblanshey
Copy link

so it doesn't sounds like there's much for us to do about this issue, I guess people should stop using appimage launcher... To replace it's functionality maybe we could include a script in the appimage that copies over the desktop file and icons? I'll see what I can come up with next week

That would be great, @adrianinsaval. The main issue that AppImageLauncher solves for me is not being able to pin FreeCAD to my dock in Ubuntu or have it show up in the list of applications, due to lack of a desktop file. If the AppImage can solve that natively, then the launcher is not needed.

@longrackslabs
Copy link

longrackslabs commented Nov 17, 2024 via email

@eblanshey
Copy link

Confirmed that Gear Level works as intended.

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

10 participants