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

UnboundLocalError: local variable 'ytplayer_config' referenced before assignment #4093

Closed
wrvogel opened this issue Nov 4, 2014 · 2 comments
Closed

Comments

@wrvogel
Copy link

@wrvogel wrvogel commented Nov 4, 2014

Hi guys, and thanks for a great tool. I was downloading a video from youtube and got the following:

WARNING: unable to extract uploader nickname
WARNING: unable to extract categories; please report this issue on http://yt-dl.org/bug
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/bin/youtube-dl/main.py", line 18, in
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 349, in main
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 339, in _real_main
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1082, in download
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 533, in extract_info
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 198, in extract
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 960, in _real_extract
UnboundLocalError: local variable 'ytplayer_config' referenced before assignment

The url was http://www.youtube.com/watch?v=r3vxGVgdbGQ.

@clampak
Copy link

@clampak clampak commented Nov 4, 2014

I didn't have an issue with that URL. At any rate, you should post the complete output using the -verbose option, not just the warnings/errors.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Nov 5, 2014

I'm closing the issue, we'll reopen if you post the output of youtube-dl --verbose 'http://www.youtube.com/watch?v=r3vxGVgdbGQ'

Make sure you are using the last version (see the update instructions in the README).

@jaimeMF jaimeMF closed this Nov 5, 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
3 participants
You can’t perform that action at this time.