-
Notifications
You must be signed in to change notification settings - Fork 20
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
On-fly converter error (...) Exec format error #78
Comments
Well, fixed it myself, but not sure what the root cause was. I ran a hexdump -C on the yt.sh script (as installed by the official RPM), and the first three bytes were: No idea how those got there (the current git branch doesn't seem to have them). This was obviously throwing off the OS, but bash would just print an error message and continue. |
Tried on Ubuntu 22.04, same feel. Seems that yt.sh file got UTF-8 BOM, which is not welcome in mainstream distros. Interesting that TinyCore Linux supports such shell scripts. As a temporary workaround, solved re-creating the file in Probably 1281294 should fix this permanently. Some later I'll try to build a package and verify. Upd: not working, as now line endings became CrLf.
New update coming soon. |
Using the youtube-converter script fails for me, with the error message being:
On-fly converter error: An error occurred trying to start process '/usr/share/webone/yt.sh' with working directory '/'. Exec format error
OS is RHEL 9.0, ImageMagick conversion does work fine, and calling the yt.sh script directly with the YT link works.
SELinux does not report any issues related to WebOne either.
The error message suggest the DotNet library doesn't realize yt.sh is a shell script, and is trying to execute it as a binary application, which fails.
The text was updated successfully, but these errors were encountered: