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.
python version to use ? #57
Comments
|
It looks like the latest version in the repository is breaking backwards compatibility with Python 2.4. That's the target version right now. Thanks for reporting. I'll try to find out how to fix this. In the mean time, use the "stable" release. |
|
Can you try the latest repository revision to see if it works now? Thanks in advance. |
|
Thank you for your reply ! It does not work : [youtube] Setting language
Traceback (most recent call last):
File "./youtube-dl-NN", line 2554, in
retcode = fd.download(all_urls)
File "./youtube-dl-NN", line 556, in download
ie.extract(url)
File "./youtube-dl-NN", line 790, in extract
self.initialize()
File "./youtube-dl-NN", line 785, in initialize
self._real_initialize()
File "./youtube-dl-NN", line 890, in _real_initialize
urllib2.urlopen(request).read()
File "/usr/lib/python2.5/urllib2.py", line 124, in urlopen
return _opener.open(url, data)
File "/usr/lib/python2.5/urllib2.py", line 387, in open
response = meth(req, response)
File "/usr/lib/python2.5/urllib2.py", line 498, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.5/urllib2.py", line 419, in error
result = self._call_chain(*args)
File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
result = func(*args)
File "/usr/lib/python2.5/urllib2.py", line 582, in http_error_302
return self.parent.open(new)
File "/usr/lib/python2.5/urllib2.py", line 387, in open
response = meth(req, response)
File "/usr/lib/python2.5/urllib2.py", line 494, in http_response
code, msg, hdrs = response.code, response.msg, response.info()
AttributeError: addinfourl instance has no attribute 'code'
|
|
Download and try again. :) |
|
Sorry, it does not work : [youtube] Setting language
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl-NN", line 2560, in
retcode = fd.download(all_urls)
File "/usr/local/bin/youtube-dl-NN", line 562, in download
ie.extract(url)
File "/usr/local/bin/youtube-dl-NN", line 796, in extract
self.initialize()
File "/usr/local/bin/youtube-dl-NN", line 791, in initialize
self._real_initialize()
File "/usr/local/bin/youtube-dl-NN", line 896, in _real_initialize
urllib2.urlopen(request).read()
File "/usr/lib/python2.5/urllib2.py", line 124, in urlopen
return _opener.open(url, data)
File "/usr/lib/python2.5/urllib2.py", line 387, in open
response = meth(req, response)
File "/usr/lib/python2.5/urllib2.py", line 498, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.5/urllib2.py", line 419, in error
result = self._call_chain(*args)
File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
result = func(*args)
File "/usr/lib/python2.5/urllib2.py", line 582, in http_error_302
return self.parent.open(new)
File "/usr/lib/python2.5/urllib2.py", line 387, in open
response = meth(req, response)
File "/usr/lib/python2.5/urllib2.py", line 494, in http_response
code, msg, hdrs = response.code, response.msg, response.info()
AttributeError: addinfourl instance has no attribute 'code'
Thanks ! |
|
Holy crap. Are you available on IRC or something like that so we can test this properly with a faster feedback? BTW: do not close the issue when commenting. |
|
Fixed yesterday, closing issue. |
Hello,
Thank for this program.
Can you tell me which version of Python required for the program? It seems to work with Python 2.6 (Ubuntu) but not with Python 2.5 (Debian) ?
Yves
[youtube] Setting language Traceback (most recent call last): File "/usr/local/bin/youtube-dl-NEW", line 2554, in retcode = fd.download(all_urls) File "/usr/local/bin/youtube-dl-NEW", line 556, in download ie.extract(url) File "/usr/local/bin/youtube-dl-NEW", line 790, in extract self.initialize() File "/usr/local/bin/youtube-dl-NEW", line 785, in initialize self._real_initialize() File "/usr/local/bin/youtube-dl-NEW", line 890, in _real_initialize urllib2.urlopen(request).read() File "/usr/lib/python2.5/urllib2.py", line 124, in urlopen return _opener.open(url, data) File "/usr/lib/python2.5/urllib2.py", line 387, in open response = meth(req, response) File "/usr/lib/python2.5/urllib2.py", line 498, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.5/urllib2.py", line 419, in error result = self._call_chain(*args) File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain result = func(*args) File "/usr/lib/python2.5/urllib2.py", line 582, in http_error_302 return self.parent.open(new) File "/usr/lib/python2.5/urllib2.py", line 387, in open response = meth(req, response) File "/usr/local/bin/youtube-dl-NEW", line 208, in http_response resp = urllib2.addinfourl(gz, old_resp.headers, old_resp.url, old_resp.code) TypeError: __init__() takes exactly 4 arguments (5 given)