[issue113] smart update crashes on first run with many channels

chekov at Labix Tracker tracker at labix.org
Tue May 22 12:53:52 PDT 2007


chekov <chekov at ucla.edu> added the comment:

here is a snippet with the whole error.  to get this I do a fresh smart install,
add some 12 channels and sync to a mirror file.  the "base" channel here is
probably the 9th channel it starts to update, so there would still be some left...


Fetching information for 'CentOS-5 - Base OS - i386'...
-> http://mirrors.kernel.org/centos/5/os/i386/repodata/repomd.xml
repomd.xml                      ######################################## [ 93%]
-> http://mirrors.kernel.org/centos/5/os/i386/repodata/filelists.xml.gz
-> http://mirrors.kernel.org/centos/5/os/i386/repodata/primary.xml.gz
primary.xml.gz                  ######################################## [ 96%]
filelists.xml.gz                ######################################## [100%]

Fetching information for 'CentOS-5 - Updates'...
Unhandled exception in thread started by <bound method URLLIBHandler.fetch of
<smart.fetcher.URLLIBHandler object at 0xb7bcfb8c>>
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/smart/fetcher.py", line 1243, in fetch
    item.setSucceeded(localpath, fetchedsize)
  File "/usr/lib/python2.4/site-packages/smart/fetcher.py", line 558, in
setSucceeded
    self._progress.setSubDone(self._urlobj.original)
  File "/usr/lib/python2.4/site-packages/smart/progress.py", line 250, in setSubDone
    (subcurrent, subtotal,
KeyError: 'http://mirrors.kernel.org/centos/5/updates/i386/repodata/repomd.xml'


I re-run the exact same routine but without mirrors and it works fine...
-alan

_______________________________________
Labix issue tracker <tracker at labix.org>
<http://tracker.labix.org/issue113>
_______________________________________



More information about the Smart mailing list