Hello, I was trying to pack a python app and when I execute:
./linuxdeploy --appdir AppDir --output appimage --plugin python --executable AppDir/usr/bin/my_script.py
I get:
terminate called after throwing an instance of 'linuxdeploy::core::elf_file::ElfFileParseError'
what(): Invalid magic bytes in file header
Aborted (core dumped)
The script has a shebang:
And I also have linuxdeploy-plugin-python in my folder (which maybe this is an issue for that repo, sorry if so).
As there isn't any info searching for this particular error on the internet, I thought I'd post it here to see if anyone can enlighten me on what is going on (this is the first time I try linuxdeploy, and first time I try to create an AppImage (from a docker container that I already have)).
If there is a solution, I wonder if doing the same for a bash script is possible (many times a bash script wraps another binary to provide it some convenience inputs/environment variables).
Thank you for any help and your time!
Hello, I was trying to pack a python app and when I execute:
I get:
The script has a shebang:
#!/usr/bin/env python3And I also have
linuxdeploy-plugin-pythonin my folder (which maybe this is an issue for that repo, sorry if so).As there isn't any info searching for this particular error on the internet, I thought I'd post it here to see if anyone can enlighten me on what is going on (this is the first time I try linuxdeploy, and first time I try to create an AppImage (from a docker container that I already have)).
If there is a solution, I wonder if doing the same for a bash script is possible (many times a bash script wraps another binary to provide it some convenience inputs/environment variables).
Thank you for any help and your time!