[Yum-devel] check_timestamp, perhaps total reget bug in 2.9.6.
Scott Robinson
scott at quadhome.com
Thu Aug 18 02:05:37 UTC 2005
scott at geneva:~$ python
Python 2.4.1 (#2, Mar 30 2005, 21:51:10)
[GCC 3.3.5 (Debian 1:3.3.5-8ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import urlgrabber
>>> import os
>>> os.remove('robots.txt')
Traceback (most recent call last):
File "<stdin>", line 1, in ?
OSError: [Errno 2] No such file or directory: 'robots.txt'
>>> urlgrabber.urlgrab('http://tara.shadowpimps.net/robots.txt', 'robots.txt', reget='simple')
'robots.txt'
>>> urlgrabber.urlgrab('http://tara.shadowpimps.net/robots.txt', 'robots.txt', reget='simple')
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 434, in urlgrab
return default_grabber.urlgrab(url, filename, **kwargs)
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 618, in urlgrab
return self._retry(opts, retryfunc, url, filename)
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 547, in _retry
return apply(func, (opts,) + args, {})
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 604, in retryfunc
fo = URLGrabberFileObject(url, filename, opts)
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 727, in __init__
self._do_open()
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 794, in _do_open
fo, hdr = self._make_request(req, opener)
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 890, in _make_request
raise URLGrabError(9, _('%s') % (e, ))
urlgrabber.grabber.URLGrabError: [Errno 9] Requested Range Not Satisfiable
>>> urlgrabber.__version__
'2.9.6'
Does this mean reget is broken, or am I just using it wrong?
Scott.
--
http://quadhome.com/ - Personal webpage
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20050817/0fbdef1e/attachment.pgp
More information about the Yum-devel
mailing list