Skip to content
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

Can't update youtube-dl to its latest version (I'm a noob who needs help) #12445

Open
M2411 opened this issue Mar 13, 2017 · 11 comments
Open

Can't update youtube-dl to its latest version (I'm a noob who needs help) #12445

M2411 opened this issue Mar 13, 2017 · 11 comments

Comments

@M2411
Copy link

@M2411 M2411 commented Mar 13, 2017

I know issues with older versions are rejected, but please help me out because the update command (youtube-dl -U) doesn't seem to be working for me! Once it starts the process, it's interrupted when it says "system cannot find the specified path". And that's super weird because I'm in the exact path where I installed youtube-dl for Windows.

What could be going wrong? Shouldn't I be able to update it from the command prompt with the aforementioned line? Could it be related to the fact that I installed ffmpeg in the same path?

I'd really appreciate some assistance. I know this is very stupid and I apologize for being such a dumbass in these things.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 13, 2017

Where did you install it?

@M2411
Copy link
Author

@M2411 M2411 commented Mar 13, 2017

In a random folder in C:\User. Is that wrong?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 13, 2017

Post the exact log of error.

@M2411
Copy link
Author

@M2411 M2411 commented Mar 13, 2017

It's in spanish though so I hope you can forgive that.

C:\Users\José>cd C:\Users\José\Downloads\Youtube

C:\Users\José\Downloads\Youtube>youtube-dl -U
Updating to version 2017.03.10 ...
Waiting for file handle to be closed ...

C:\Users\José\Downloads\Youtube>El sistema no puede encontrar la ruta especificada.
Updated youtube-dl to version 2017.03.10.

The output says it's been updated but it really hasn't and there's a new file in the folder called youtube-dl.exe.new

PS: "el sistema no puede encontrar la ruta especificada" means "system cannot find specified path" obviously.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 13, 2017

Put it in folder without non-ASCII in path.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 13, 2017

Post the output of youtube-dl -v.

@M2411
Copy link
Author

@M2411 M2411 commented Mar 13, 2017

What is a non-ASCII path?? Sorry for my ignorance.

This is the output:
C:\Users\José\Downloads\Youtube>youtube-dl -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2016.10.07
[debug] Python version 3.4.4 - Windows-10-10.0.14393
[debug] exe versions: ffmpeg N-81960-g1bda0ee, ffprobe N-81960-g1bda0ee
[debug] Proxy map: {}
Usage: youtube-dl [OPTIONS] URL [URL...]

youtube-dl: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.

C:\Users\José\Downloads\Youtube>

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 13, 2017

Put it in folder with only english letters.

@M2411
Copy link
Author

@M2411 M2411 commented Mar 13, 2017

So should I move the whole folder out of the Users subfolder?

It's weird, because I didn't have any trouble running the program in this folder before the update...

@AGSPhoenix
Copy link
Contributor

@AGSPhoenix AGSPhoenix commented Mar 24, 2017

It's probably the é in José confusing youtube-dl or one of the other systems it uses. Move the youtube-dl executable somewhere like C:\Users and run the update from there.

@TheChatty
Copy link

@TheChatty TheChatty commented May 15, 2019

@phihag: The problem is here. youtube-dl writes updating bat file in CP1252 whereas windows expects CP850.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.