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

Fail to start appimage #163

Open
senseab opened this issue Sep 28, 2024 · 4 comments
Open

Fail to start appimage #163

senseab opened this issue Sep 28, 2024 · 4 comments

Comments

@senseab
Copy link

senseab commented Sep 28, 2024

OS: NixOS 24.05

When click the Launch menu, it shows Running Appimages on NixOS requires appimage-run

but I have installed appimage-run

here is the console output

Logging to file /home/nixos/.var/app/it.mijorus.gearlever/cache/logs/gearlever.log
Portal call failed: Failed to start command: 执行子进程“which”失败(No such file or directory)

Portal call failed: Failed to start command: 执行子进程“which”失败(No such file or directory)

PS:the Chinese means cannot execute child process which

but here is the which path

/run/current-system/sw/bin/which

and here is the log:

2024-09-28 14:24:34,979 INFO [main.py:63]

---- Application startup | version 2.0.8
2024-09-28 14:24:45,815 WARNING [AppImageProvider.py:242] gtk-launch is missing, falling back to executable launch
2024-09-28 14:24:45,823 ERROR [AppDetails.py:348] Running AppImages on NixOS requires appimage-run
2024-09-28 06:33:00,826 INFO [main.py:63]

---- Application startup | version 2.0.8
2024-09-28 06:33:05,387 WARNING [AppImageProvider.py:242] gtk-launch is missing, falling back to executable launch
2024-09-28 06:33:05,394 ERROR [AppDetails.py:348] Running AppImages on NixOS requires appimage-run
2024-09-28 14:33:54,299 INFO [main.py:63]

---- Application startup | version 2.0.8
2024-09-28 14:33:57,085 WARNING [AppImageProvider.py:242] gtk-launch is missing, falling back to executable launch
2024-09-28 14:33:57,091 ERROR [AppDetails.py:348] Running AppImages on NixOS requires appimage-run
2024-09-28 14:34:10,259 INFO [main.py:63]

---- Application startup | version 2.0.8
2024-09-28 14:34:12,719 WARNING [AppImageProvider.py:242] gtk-launch is missing, falling back to executable launch
2024-09-28 14:34:12,726 ERROR [AppDetails.py:348] Running AppImages on NixOS requires appimage-run
2024-09-28 14:35:40,826 INFO [main.py:63]

---- Application startup | version 2.0.8
2024-09-28 14:35:44,513 WARNING [AppImageProvider.py:242] gtk-launch is missing, falling back to executable launch
2024-09-28 14:35:44,521 ERROR [AppDetails.py:348] Running AppImages on NixOS requires appimage-run

Any suggestions?

@mijorus
Copy link
Owner

mijorus commented Sep 30, 2024

hi, do you have appimage-run installed as a system-package?

sudo nano /etc/nixos/configuration.nix

  environment.systemPackages = [
    pkgs.appimage-run
  ];

nixos-rebuild switch

@senseab
Copy link
Author

senseab commented Oct 9, 2024

hi, do you have appimage-run installed as a system-package?

sudo nano /etc/nixos/configuration.nix

  environment.systemPackages = [
    pkgs.appimage-run
  ];

nixos-rebuild switch

Yes, I did. There is no command which, but which exists.

@zi3m5f
Copy link

zi3m5f commented Oct 23, 2024

@senseab
Copy link
Author

senseab commented Oct 26, 2024

Maybe this helps: https://wiki.nixos.org/w/index.php?title=Appimage#Register_AppImage_files_as_a_binary_type_to_binfmt_misc

I have enabled these options but not work.

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

3 participants