-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
Error! Unhandled error (execa). #243
Comments
Workaround, use version 2.3.1 instead I think this is because of this commit: b288ff3 That now this application uses yt-dlp which has a dependency to phyton |
Youtube-dl has a dependency on python as well. Is this on a M1 Mac? |
Oh I assumed that this would use the compiled version of YouTube-dl, not sure then the issue might be an old macOS version shipping an outdated Python version? I can check the installer Python version later, but it Is macOS 10.12 on a 2015 MacBook Pro |
Thanks for investigating. Looks like the version used by the reporter only ships with Python 2.7. Please let me know if this fixed it on El Capitan. |
I also did some more investigation and I think python3 is never preinstalled with macOS. Could you also consider using the compiled binary for macOS instead? There is one for this version: https://github.com/yt-dlp/yt-dlp/releases/tag/2021.10.22 |
(I am on my own machine now - macOS 11.4, python 3.9.8 is installed, but ideally this works without python as well) I just tried replacing
Looks like this is a known issue already though: #241 |
Good find. Looks like they disabled the Mac build. All we can do for now is wait until they re-enable it. I'm already starting to regret the decision to switch to yt-dlp. |
It's an Intel Mac |
Yes, in Terminal > Python -- version, shows 2.7.10 I downloaded and installed the pkg from the link provided. Terminal > Python -- version, still shows shows 2.7.10 after restart. The Error! Unhandled error (execa) in Open Video Downloader still occurs. I will revert back to v2.3.1 for now. |
I have this same issue, running MacOS 10.14 with Python 3 installed (via Anaconda). Perhaps you could provide a setting to let us provide our own Python binary location. |
https://github.com/yt-dlp/yt-dlp/releases/tag/2021.12.01 Looks like it is back up again |
Looking through the source code I found this: youtube-dl-gui/modules/BinaryUpdater.js Line 19 in 453017f
So I am pretty sure this means that if you put yt-dlp or ytdlp on the path it will use the one on the path instead. Edit: ok I am not so sure anymore. Maybe this only affects the Updater, since for the actual query the preinstalled YouTube-dl is not checked: youtube-dl-gui/modules/types/Query.js Line 60 in 453017f
I feel like there might be a bug there, or I am misunderstanding something. |
today I found out that there is a different path for the macOS gui. You can remedy that by launching OpenVideoDownloader from the terminal. Or you can set your launchctl path in your .bash_profile like this:
source: https://apple.stackexchange.com/a/51678
I just found out that python3 seems to be preinstalled on my machine (Big Sur). Possibly it is also installed on earlier versions of macOS, but there is one in /usr/bin that I am pretty sure I did not put there:
Also confirmed by others here: https://stackoverflow.com/questions/62616464/what-versions-of-python-is-shipped-with-macos-11-big-sur There is one more alternative to fix this within open Video downloader like this: https://github.com/sindresorhus/fix-path |
So ver 2.4.0 does not fix the issue correct? I installed mutagen with pip and pip3, both with no effect :( Downloading without metadata obv. solves it but is not a permanent solution |
Same error since updating to 2.4.0 - I'm on Osx 10.14.6 |
Update |
…lve-main jely2002#243 error execa resolve main
@olegshulyakov How is upgrading electron gonna fix the dependency on python3? I think there is a separate error with the same error message in the other ticket(s), but this one was originally caused by missing python3 on older macOS versions. |
@StefanLobbenmeier Sorry for misleading. I have opened PR to address this issue since it happens quite often. Fix of this issue contains of several parts:
|
jely2002#243 Fix setting chmod
Describe the bug
After pasting a video link, and clicking download, the progress bar turns red immediately and displays: Error! Unhandled error (execa). Was working correctly on previous verison 2.3.1
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Video should be downloaded
Additional info (please complete the following information):
Additional context
{
"shortMessage": "Command failed with exit code 127: /Applications/Open Video Downloader.app/Contents/Resources/app.asar.unpacked/binaries/yt-dlp-unix -J --flat-playlist --no-cache-dir --ignore-config --user-agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 --no-check-certificate --yes-playlist undefined",
"command": "/Applications/Open Video Downloader.app/Contents/Resources/app.asar.unpacked/binaries/yt-dlp-unix -J --flat-playlist --no-cache-dir --ignore-config --user-agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 --no-check-certificate --yes-playlist undefined",
"exitCode": 127,
"stdout": "",
"stderr": "env: python3: No such file or directory",
"failed": true,
"timedOut": false,
"isCanceled": false,
"killed": false
}
The text was updated successfully, but these errors were encountered: