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

self-updater not working #634

Closed
atomizer opened this issue Jan 12, 2013 · 2 comments
Closed

self-updater not working #634

atomizer opened this issue Jan 12, 2013 · 2 comments

Comments

@atomizer
Copy link
Contributor

@atomizer atomizer commented Jan 12, 2013

introduced by db30f02

$ youtube-dl -U
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/local/bin/youtube-dl/__main__.py", line 17, in <module>
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 494, in main
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 285, in _real_main
UnboundLocalError: local variable 'fd' referenced before assignment
@phihag
Copy link
Contributor

@phihag phihag commented Jan 12, 2013

Oops, I can't believe I broke that, sorry! I could've sworn the tests ran through.
This has been fixed as of youtube-dl 2012.01.13. To update, run

sudo wget http://youtube-dl.org/downloads/2013.01.13/youtube-dl -O $(which youtube-dl)

or simply update from an older version of youtube-dl.

@phihag phihag closed this Jan 12, 2013
@pricejn2
Copy link

@pricejn2 pricejn2 commented Jan 7, 2014

I had the same problem with 2014.01.05.5. thanks for the workaround.

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.