jely2002 / youtube-dl-gui

A cross-platform GUI for youtube-dl made in Electron and node.js
GNU Affero General Public License v3.0
6.53k stars 456 forks source link

"Error! Unhandled error (execa)." Error On OSX #346

Open FinleyGomez opened 2 years ago

FinleyGomez commented 2 years ago

Hi guys,

It seems that ever link I throw at YT-DL-GUI gives me the same error.

{ "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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.192 Safari/537.36 --no-check-certificate --yes-playlist https://www.youtube.com/watch?v=2K04xw_ZddQ", "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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.192 Safari/537.36 --no-check-certificate --yes-playlist https://www.youtube.com/watch?v=2K04xw_ZddQ", "exitCode": 127, "stdout": "", "stderr": "env: python3: No such file or directory", "failed": true, "timedOut": false, "isCanceled": false, "killed": false }

Does anyone know how this can be solved?

Additional info if needed:

morm24 commented 2 years ago

I get the same error wehn using Open Video Downloader on Windows 10. (portable did allways crash on first startup, after downloading, when extracting the library, so i used the installer) System: Windows 10 Pro, AMD 5900X, 64GB Ram, GTX 3070, doesnt matter which link, i allways get the error. grafik

Full error message: why ever, I am not allowed to copy the Full error message out of the message window, so here the picture:

grafik

karfield commented 2 years ago

seems yt-dlp is not installed in your host. You can try to download yt-dlp then link it to ~/.youtube-dl-gui/yt-dlp-unix.

Cosmiiko commented 2 years ago

Same issue here, running 2.4.0 on Manjaro.

FinleyGomez commented 2 years ago

seems yt-dlp is not installed in your host. You can try to download yt-dlp then link it to ~/.youtube-dl-gui/yt-dlp-unix.

Followed Karfield's advice and managed to fix it!

I uninstalled the version of YT-DLP that I had already, and installed it again using the following commands:

sudo curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp sudo chmod a+rx /usr/local/bin/yt-dlp

Then opened YT-DL-GUI and worked (Sorta) got an error because of my FFMPEG installation, but Im in the process of fixing that at the moment.

Hopefully this works for you guys!

himyjan commented 2 years ago

https://github.com/jely2002/youtube-dl-gui/issues/354#issuecomment-1127269708

olegshulyakov commented 2 years ago

Duplicates #243