Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Error message (crash) with youtube-dl.py --U #1820
Comments
|
Update: I was able to fix this by finding an old version of youtube-dl.py on another system, and using that to upgrade the system in question to: 2013.11.24.1 Still, would like to know what happened - and to note that since the program is self-updating, I have no idea how/where to download the program from "the net" and, in particular, how to get older versions. If I hadn't had the older version on another system, I'd have been sc***ed. |
|
Sorry for the bug (reported and fixed in #1817). |
|
Yeah, I did download it a long, long time ago. My point is that I now have no idea when/where/how that was... Thanks for the tips/URLs. |
This had been working fine - right up until it stopped working. Nothing changed on the system, so I assume there is something wrong with latest version.
Observe:
$ uname -a
Darwin ... 12.5.0 Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64 x86_64
$ python --version
Python 2.7.2
$ youtube-dl.py --version
2013.11.22.2
$ youtube-dl.py -U
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
File "/Users/.../bin/youtube-dl.py/main.py", line 18, in
File "/Users/.../bin/youtube-dl.py/youtube_dl/init.py", line 774, in main
File "/Users/.../bin/youtube-dl.py/youtube_dl/init.py", line 717, in _real_main
File "/Users/.../bin/youtube-dl.py/youtube_dl/update.py", line 89, in update_self
NameError: global name 'version_str' is not defined
$