-
-
Notifications
You must be signed in to change notification settings - Fork 571
Appimage does not launch (execv error: No such file or directory) #1004
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
Comments
Also just to say that after changing name from
|
OK ! I have found a workaround : I have copy-paste veracrypt bin into the
I still don't understand why the path was marked as an error. I leave this issue opened a few time in order to let you answer me, and I hope to not forget to close it if you don't answer. Once again, thank you for your help. |
You should never use absolute paths in a desktop file. It might work when installed on a system, but for AppImages it's a no-go. The runtime shouldn't write You should try to get rid of this AppRun binary thing. Perhaps you can switch to linuxdeploy? |
I have succeed to make it work only if I put the binary on the AppDir folder. |
Nothing special should be needed to run an AppImage from a USB drive. However, if your USB drive is FAT formatted, you may need this ugly workaround: |
Today I also perceive the same issue. This is my first AppImage so I have no successful projects to compare with. When trying to run this appimage, I get the following output:
I validated the application starts up correctly when running from the AppDir. Right now I have no idea what to troubleshoot. |
Without further knowledge I simply started the appimage using strace:
and stumbled over this line:
which told me that the entrypoint literally has to be named AppDir. From the documentation I feel this was not entirely clear since after all some of the files in AppDir have to be named according to the application you want to wrap. Renaming my entry point application to AppDir resolved the issue. Also please add a documentation section about troubleshooting in the packaging guide. |
It's AppRun, not AppDir. This has been documented in the AppDir specification, see https://docs.appimage.org/reference/appdir.html#general-description. Feel free to send a PR that validates |
这么写Exec=/usr/bin/my_flutter_app,执行 ./my_flutter_app-x86_64.AppImage 将会报错:
需要写启动脚本 ./appdir/AppRun
./appdir/my_flutter_app.desktop写法:
|
Works? |
History :
Hello, I am sure you know Veracrypt app. It has a very useful portable version for Windows (to make it executable from a USB device) but not for Linux.
Thank to the developer, there is a generic installer with tar.bz2 which can extract the files instead of installing on the computer (it means there is binaries, images, and desktop file included).
Problem :
AppImage is the ideal tool to make it executable as a portable app, but... I am not a developer (if only you knew about my job, it has nothing to do with it).
I followed step by step an excellent tutorial from @probonopd , everything goes well (I even have a
Success
message at the end). Unfortunately, when I launchVeracrypt.AppImage
, absolutely nothing happens. From the CLI, the message is as bellow:execv error: No such file or directory
What do you think of that? I can't find the reason for this bug, however, I'm sure I'm very close to succeeding, it's frustrating. Thank you very much for your help!
Information about the step-by-step procedure I have followed :
The text was updated successfully, but these errors were encountered: