[Yum] URLGrabber returns IOError

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux