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

Unable to Get YTDL to Update #2445

Open
sirinath opened this issue Feb 23, 2014 · 5 comments
Open

Unable to Get YTDL to Update #2445

sirinath opened this issue Feb 23, 2014 · 5 comments

Comments

@sirinath
Copy link

@sirinath sirinath commented Feb 23, 2014

I do not seam to be able to get YTDL to update.

C:\Downloads>youtube-dl -U
Updating to version 2014.02.22.1 ...

C:\Downloads>echo ERRORLEVEL is 0
ERRORLEVEL is 0

C:\Downloads>if 0 NEQ 0 goto loop0

C:\Downloads>youtube-dl --version
Waiting for file handle to be closed ...
2014.02.10

@phihag
Copy link
Contributor

@phihag phihag commented Feb 23, 2014

It looks like you're running these commands too fast, in some kind of loop. First of all, run

taskkill /F /IM youtube-dl.exe

to make sure no instance of youtube-dl.exe is running anymore.
Then, run

youtube-dl -U

and wait 10 seconds. Does that work for you?

@sirinath
Copy link
Author

@sirinath sirinath commented Feb 24, 2014

Does not seem to work

C:\Downloads>taskkill /F /IM youtube-dl.exe
ERROR: The process "youtube-dl.exe" not found.

C:\Downloads>youtube-dl -U
Updating to version 2014.02.24 ...
Waiting for file handle to be closed ...

C:\Downloads>youtube-dl --version
2014.02.10

@phihag
Copy link
Contributor

@phihag phihag commented Feb 24, 2014

Wait, C:\Downloads is a nonstandard directory. Are you certain that you have write permissions there? If yes, what is the output of icacls C:\Downloads?

How long did you wait after the second command? Do you have some kind of firewall running? Which version of Windows are you using?

@sirinath
Copy link
Author

@sirinath sirinath commented Feb 24, 2014

I get

C:\Downloads>icacls C:\Downloads
C:\Downloads BUILTIN\Administrators:(I)(F)
BUILTIN\Administrators:(I)(OI)(CI)(IO)(F)
NT AUTHORITY\SYSTEM:(I)(F)
NT AUTHORITY\SYSTEM:(I)(OI)(CI)(IO)(F)
BUILTIN\Users:(I)(OI)(CI)(RX)
NT AUTHORITY\Authenticated Users:(I)(M)
NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(IO)(M)

Successfully processed 1 files; Failed processing 0 files

Windows 8.1 64 bit

I waited about 15 seconds. Windows firewall.

@sirinath
Copy link
Author

@sirinath sirinath commented Feb 26, 2014

Sometimes it says it updated but when you check the version afterwards it is still the old one.

C:\Downloads>youtube-dl -U
Updating to version 2014.02.26 ...

C:\Downloads>Waiting for file handle to be closed ...
Updated youtube-dl to version 2014.02.26.

C:\Downloads>youtube-dl --version
2014.02.10

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
2 participants
You can’t perform that action at this time.