[Yum] non reproducible bug in yum

Patrice Dumas pertusus at free.fr
Fri Apr 2 23:08:06 UTC 2004


Hi,

With yum-2.0.6-1, fedora core 2 test 1-2.
While downloading the headers, yum died with a backtrace. This isn't
reproductible as when I reran yum it downloaded the other headers.

I attached the trace. Hum. Maybe it isn't a yum bug but a python or
lib bug...

Pat
-------------- next part --------------
Traceback (most recent call last):
  File "/usr/bin/yum", line 30, in ?
    yummain.main(sys.argv[1:])
  File "/usr/share/yum/yummain.py", line 253, in main
    clientStuff.download_headers(HeaderInfo, nulist)
  File "/usr/share/yum/clientStuff.py", line 984, in download_headers
    checkfunc=(rpmUtils.checkheader, (n, a), {}))
  File "/usr/share/yum/clientStuff.py", line 1336, in grab
    bandwidth, conf.retries, retrycodes, checkfunc)
  File "/usr/share/yum/urlgrabber.py", line 237, in retrygrab
    progress_obj, throttle, bandwidth)
  File "/usr/share/yum/urlgrabber.py", line 314, in urlgrab
    fo = urllib2.urlopen(url)
  File "/usr/lib/python2.3/urllib2.py", line 129, in urlopen
    return _opener.open(url, data)
  File "/usr/lib/python2.3/urllib2.py", line 326, in open
    '_open', req)
  File "/usr/lib/python2.3/urllib2.py", line 306, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.3/urllib2.py", line 1047, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/usr/lib/python2.3/urllib.py", line 743, in retrfile
    self.ftp.nlst(file)
  File "/usr/lib/python2.3/ftplib.py", line 448, in nlst
    self.retrlines(cmd, files.append)
  File "/usr/lib/python2.3/ftplib.py", line 396, in retrlines
    conn = self.transfercmd(cmd)
  File "/usr/lib/python2.3/ftplib.py", line 345, in transfercmd
    return self.ntransfercmd(cmd, rest)[0]
  File "/usr/lib/python2.3/ftplib.py", line 328, in ntransfercmd
    if resp[0] != '1':
IndexError: string index out of range


More information about the Yum mailing list