[Yum] URLGrabber returns IOError

Dylan Tack dylan at io.com
Thu Apr 6 17:57:53 UTC 2006


Hi,

I have a new install of Fedora Core 5, and am having some trouble with 
yum.  Any ideas would be appreciated.

When I run yum, I get the following error:

[Errno 4] IOError: <urlopen error (11, 'Resource temporarily 
unavailable')>

A packet sniffer showed no traffic in our out, so I then suspected a 
problem with URLGrabber.  A test script confirmed this:

#!/usr/bin/python
from urlgrabber.grabber import URLGrabber
g = URLGrabber()
data = g.urlread("http://linux.duke.edu/")
print data

This test script fails with a similar IOError (the traceback is pasted 
at the end).  I also have the strace output here, if it's useful:
http://genome.uiowa.edu/~djtack/URLGrabber-test-strace.txt (233 kb).


Traceback (most recent call last):
  File "./test.py", line 5, in ?
    data = g.urlread("http://linux.duke.edu/")
  File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 
820, in urlread
    s = self._retry(opts, retryfunc, url, limit)
  File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 
702, in _retry
    r = apply(func, (opts,) + args, {})
  File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 
799, in retryfunc
    fo = URLGrabberFileObject(url, filename=None, opts=opts)
  File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 
893, in __init__
    self._do_open()
  File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 
960, in _do_open
    fo, hdr = self._make_request(req, opener)
  File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 
1075, in _make_request
    raise URLGrabError(4, _('IOError: %s') % (e, ))
urlgrabber.grabber.URLGrabError: [Errno 4] IOError: <urlopen error (2, 
'No such file or directory')>

thanks,
Dylan





More information about the Yum mailing list