[Fwd: python error on package select using gui]

Gavin Chester gavin.chester at gmail.com
Sat Sep 16 07:49:06 PDT 2006


FWIW, these error messages I reported before have disappeared after
upgrading the packages that were not giving error messages.  That is,
after upgrading I went back and selected the ones I couldn't before and
no error message appeared this time.  Very curious. 

-------- Forwarded Message --------
> From: Gavin Chester <gavin.chester at gmail.com>
> To: smart <smart at labix.org>
> Subject: python error on package select using gui
> Date: Sat, 16 Sep 2006 12:26:56 +0800
> 
> I have become a vocal advocate of smart on a few mailing lists that I
> frequent, but now I have found my first error using it!  Using the
> smart-gui, I updated my channels and went through my package lists
> filtering for upgrades.  Most were able to be selected for upgrade, but
> when trying to select certain ones it instantly caused an error dialogue
> to pop up and then the upgrade was not possible.  Out of my particular
> list, the packages affected were: kino, kaffeine, smb4k, mkinitrd, and
> udev.  150MB of other packages are upgrading as I type.  This is a
> typical error report I got, though the line number references were
> sometimes a little different for each:
> 
> -----------------------------
> Traceback (most recent call last):
> 
>   File
> "/usr/lib/python2.4/site-packages/smart/interfaces/gtk/interactive.py",
> line 515, in <lambda>
>     item.connect("activate", lambda x: self.actOnPackages(pkgs,
> INSTALL))
> 
>   File
> "/usr/lib/python2.4/site-packages/smart/interfaces/gtk/interactive.py",
> line 497, in actOnPackages
>     if self.confirmChange(self._changeset, changeset, expected):
> 
>   File
> "/usr/lib/python2.4/site-packages/smart/interfaces/gtk/interface.py",
> line 164, in confirmChange
>     return self._changes.showChangeSet(changeset, keep=keep,
> confirm=True)
> 
>   File
> "/usr/lib/python2.4/site-packages/smart/interfaces/gtk/changes.py", line
> 188, in showChangeSet
>     size = report.getInstallSize() - report.getRemoveSize()
> 
>   File "/usr/lib/python2.4/site-packages/smart/report.py", line 200, in
> getRemoveSize
>     size = info.getInstalledSize()
> 
>   File "/usr/lib/python2.4/site-packages/smart/backends/rpm/header.py",
> line 87, in getInstalledSize
>     return self._h[rpm.RPMTAG_SIZE]
> 
>   File "/usr/lib/python2.4/site-packages/smart/backends/rpm/header.py",
> line 58, in __get__
>     obj._h = obj._loader.getHeader(obj._package)
> 
>   File "/usr/lib/python2.4/site-packages/smart/backends/rpm/header.py",
> line 598, in getHeader
>     return mi.next()
> 
> StopIteration
> ----------------------------------
> 





More information about the Smart mailing list