Issue368

Project smart
Title IndexError: list index out of range
Priority bug Status done-review
Superseder Nosy List Chelmite, rasker
Assigned To rasker Topics

Created on 2008-03-10.17:27:48 by Chelmite, last changed 2008-06-29.15:44:00 by rasker.

Messages
msg1360 (view) Author: rasker Date: 2008-06-29.15:44:00
Is this still a problem. If you can confirm I will migrate this to the new
package manager.
msg1321 (view) Author: Chelmite Date: 2008-03-10.17:27:45
In Smart Package Manager 0.51 on SuSE 10.0 I get the following when I tried to
update packages.

Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/smart/interfaces/gtk/interactive.py",
line 180, in callback
    exec code in globals

  File "<callback>", line 1, in ?

  File "/usr/lib/python2.4/site-packages/smart/interfaces/gtk/interactive.py",
line 424, in applyChanges
    if self._ctrl.commitTransaction(transaction, confirm=confirm):

  File "/usr/lib/python2.4/site-packages/smart/control.py", line 498, in
commitTransaction
    return self.commitChangeSet(trans.getChangeSet(), caching, confirm)

  File "/usr/lib/python2.4/site-packages/smart/control.py", line 556, in
commitChangeSet
    pmclass().commit(pmcs, pkgpaths)

  File "/usr/lib/python2.4/site-packages/smart/backends/rpm/pm.py", line 217, in
commit
    loader = [x for x in pkg.loaders if x.getInstalled()][0]

IndexError: list index out of range
History
Date User Action Args
2008-06-29 15:44:00raskersetstatus: unread -> done-review
assignedto: rasker
messages: + msg1360
nosy: + rasker
2008-03-10 17:27:49Chelmitecreate