YouTube Downloader doesn't work

Hey :slight_smile:

YouTube Downloader from the Software Boutique doesn’t launch.
I tried it a few days ago aswell and it was the same result as now. Broken?

A couple of weeks ago(?) the system Python 2.7.11 was upgraded to 2.7.12. This broke a few applications for some reason. For instance, I had to make changes to Puddletag code to get it to work again on my machine. Youtube-dlg is likewise dependent on python. But mine didn’t brake, so I’m not sure if this will apply to you.

1st
Check in Synaptic that you have:

youtube-dlg version: 0.3.8-3
youtube-dl version: 1:2016.08.01-1

If not, that’s likely your problem and you need to run the Software Updater

2nd
Otherwise, purge both applications and reinstall:

$ sudo apt-get update
$ sudo apt-get purge youtube-dlg youtube-dl
$ sudo apt-get install youtube-dlg youtube-dl

If that doesn’t work either, there’s a another more dramatic option. But let’s first see if one of these solve it for you.

The youtube-dlg doesn’t exist, only youtube-dl works!

Youtube DLG uses a precompiled binary of youtube-dl . Have you updated youtube-dl from within youtube-dlg from here

. Note that this is requiered for first install too becouse it needs to fetch youtube-dl .

I can’t install YouTube DLG. What do I need to do?

Go to the MATE panel menu under System->Administration and select Software Boutique

In that application select the Sound & Video pane (reachable through the icons at the top of the window).

Scroll all the way down and you will find the Youtube Downloader application that you can install.

Still doesn’t launch. Same result everytime I’ve tried this. Is it broken?

And when I tried the sudo apt install after installing it from the Software Boutique, I get this message:

youtube-dl is already the newest version (2016.02.22-1).
youtube-dlg is already the newest version (0.3.8-3~xenial1.1).

Not sure what’s wrong. This is really odd :slight_smile:

Try starting youtube-dl-gui and not youtube-dl .

@WhyAreLess

Something is wrong with your python installation. It’s the only explanation. It’s one thing to get an error or some other kind of output even if the application doesn’t work. It’s another to simply not getting anything at all.

What do you see when you type the following in your command prompt:

$ python --version

Also, install pip with the following command:

$ sudo apt-get install python-pip

Then run it with the following command and post here the output:

$ pip list

Or try launching from the terminal to get a more precise error:

youtube-dl-gui

Sometimes, programs just silently exit if they crash hard. :slight_smile:

It appears that the youtube-dl-gui package does not check and install all dependencies.

When run In a terminal:
$ youtube-dl-gui
$ No module named wx

To fix this run:
$ sudo apt-get install python-wxtools

The menu selection YouTube Downloader should now work.

4 Likes

Worked!

Thank you all for helping me :slight_smile:

I’ve just uploaded fixed packages to the PPA :slight_smile:

3 Likes