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

AppImage does not run with AppImageLauncher #18830

Closed
adazem009 opened this issue Jul 28, 2023 · 8 comments
Closed

AppImage does not run with AppImageLauncher #18830

adazem009 opened this issue Jul 28, 2023 · 8 comments
Assignees
Labels
needs review The issue needs review to set priority, fix version or change status etc. P1 Priority: High regression MS4 Regression on a prior release

Comments

@adazem009
Copy link
Contributor

adazem009 commented Jul 28, 2023

Issue type

Other type of issue

Bug description

Latest nightly builds don't work at all on Linux when AppImageLauncher is installed. The AppImage crashes with this error message:

execv error: No such file or directory

When I try to extract it using --appimage-extract:

This doesn't look like a squashfs image.
Failed to open squashfs image

Steps to reproduce

  1. Download a nightly build of MuseScore or an artifact from GitHub actions.
  2. Install AppImageLauncher.
  3. Mark the AppImage as executable and execute it.

Screenshots/Screen recordings

No response

MuseScore Version

4.2.0

Regression

Yes, this used to work in a previous version of MuseScore 4.x

Operating system

Ubuntu 22.04 (KDE Plasma 5.24.7)

Additional context

I think this PR is related: #18785
My system has both version 2 and 3 of libfuse installed.

@muse-bot muse-bot added needs review The issue needs review to set priority, fix version or change status etc. regression MS4 Regression on a prior release labels Jul 28, 2023
@AntonioBL
Copy link
Contributor

Ciao.
I tried to test this inside a virtual machine with Ubuntu 22.04, KDE 5.92.0 Plasma 5.24.7, but I could not reproduce this behavior: the Appimage was running fine.
Are you launching the Appimage via a launcher, or directly launching it from the command line?

@adazem009
Copy link
Contributor Author

Ciao.
I tried to test this inside a virtual machine with Ubuntu 22.04, KDE 5.92.0 Plasma 5.24.7, but I could not reproduce this behavior: the Appimage was running fine.
Are you launching the Appimage via a launcher, or directly launching it from the command line?

I have AppImageLauncher installed and I clicked "run once" to run the AppImage.

@AntonioBL
Copy link
Contributor

AntonioBL commented Jul 28, 2023

Can you please try to launch the AppImage via command line and see if it gives problems?

Edit: I found that the problem is an interplay between AppImageLauncher and the new AppImage format. If I install AppImageLauncher, every time I try to run the AppImage, it tries to pass through the launcher, and somehow also even if use env variable APPIMAGELAUNCHER_DISABLE=true
Only if I uninstall AppImageLauncher then I can run this new format AppImage.

@oktophonie oktophonie added the P1 Priority: High label Jul 28, 2023
@adazem009 adazem009 changed the title AppImage does not launch AppImage does not run with AppImageLauncher Jul 28, 2023
@shoogle shoogle assigned shoogle and unassigned bkunda and DmitryArefiev Jul 28, 2023
@shoogle
Copy link
Contributor

shoogle commented Jul 28, 2023

Looks like we're waiting on TheAssassin/AppImageLauncher#585 to be resolved. In the meantime, it's a choice between:

  1. Continue using the new (static) AppImage runtime, in which case AppImageLauncher users need to uninstall AppImageLauncher in order to use our nightly builds.

  2. Revert back to using the old (non-static) AppImage runtime, in which case Ubuntu users need to install libfuse2 to run our nightly builds (which they have probably done already in order to run our stable builds).

On that basis I think we should probably revert back for now. @AntonioBL, would you be willing to do the honours?

@AntonioBL
Copy link
Contributor

Ok, done: #18854
It is a pity that we cannot already use the new static runtime...

@shoogle
Copy link
Contributor

shoogle commented Jul 31, 2023

@AntonioBL, Indeed! Thanks for testing and reverting it for us. Let's hope it gets supported soon in AppImageLauncher.

@adazem009
Copy link
Contributor Author

@AntonioBL, Indeed! Thanks for testing and reverting it for us. Let's hope it gets supported soon in AppImageLauncher.

Should this issue be closed and #18633 reopened until it gets supported in AppImageLauncher?

@shoogle
Copy link
Contributor

shoogle commented Jul 31, 2023

@adazem009, good point. The fixes are mutually exclusive, and we've chosen to prioritise this issue for now as explained here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review The issue needs review to set priority, fix version or change status etc. P1 Priority: High regression MS4 Regression on a prior release
Projects
Status: Done
Development

No branches or pull requests

7 participants