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

youtube-dl error : UnboundLocalError: local variable 'url' #2155

Closed
fatchoumakou opened this issue Jan 15, 2014 · 1 comment
Closed

youtube-dl error : UnboundLocalError: local variable 'url' #2155

fatchoumakou opened this issue Jan 15, 2014 · 1 comment

Comments

@fatchoumakou
Copy link

@fatchoumakou fatchoumakou commented Jan 15, 2014

Hello,

I get this error when I run youtube-dl :

Traceback (most recent call last):
File "/usr/lib/python2.6/runpy.py", line 122, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.6/runpy.py", line 34, in _run_code
exec code in run_globals
File "/usr/bin/youtube-dl/main.py", line 18, in
File "/usr/bin/youtube-dl/youtube_dl/init.py", line 746, in main
File "/usr/bin/youtube-dl/youtube_dl/init.py", line 526, in _real_main
UnboundLocalError: local variable 'url' referenced before assignment
run-parts: /etc/cron.daily/sd-26600-pkgupdt exited with return code

How to solve this issue please ?

Thank you

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jan 15, 2014

You will have to manually install a more recent version, follow the instructions in http://rg3.github.io/youtube-dl/download.html
This was a bug we accidentally introduced (see the report at #2100), sorry for it.

@jaimeMF jaimeMF closed this Jan 15, 2014
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.