another x86_64 StopIteration crashie; package upgrade

Martin A. Brown martin at linux-ip.net
Wed Jul 19 22:41:54 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello again (hi Gustavo et alia),

I didn't say as much in my earlier message, but I'm using smart, 
because I like it a great deal.  Thank you for your work.  I believe 
I have found another related bug (related to something I identified 
earlier today [0]).

In this case, I was going through some regular iterations of 
developing a package, installing it ("smart install $PATH/$RPM") and 
then bumping a revision and installing again.  Always on the upgrade 
(not the initial installation), I would get a traceback very similar 
to the one below.

Are there any pieces of diagnostic information which would be handy 
for you?

Thanks for the software and the support,

- -Martin

 [0] http://lists.labix.org/pipermail/smart-labix.org/2006-July/001259.html


Upgrading packages (1):
  boa-0.94.14rc21-7 at x86_64  

Traceback (most recent call last):
  File "/usr/bin/smart", line 194, in ?
    main(sys.argv[1:])
  File "/usr/bin/smart", line 167, in main
    exitcode = iface.run(opts.command, opts.argv)
  File "/usr/lib64/python2.3/site-packages/smart/interface.py", line 53, in run
    result = _command.main(self._ctrl, opts)
  File "/usr/lib64/python2.3/site-packages/smart/commands/install.py", line 173,
 in main
    ctrl.commitTransaction(trans, confirm=confirm)
  File "/usr/lib64/python2.3/site-packages/smart/control.py", line 480, in commi
tTransaction
    return self.commitChangeSet(trans.getChangeSet(), caching, confirm)
  File "/usr/lib64/python2.3/site-packages/smart/control.py", line 483, in commi
tChangeSet
    if confirm and not iface.confirmChangeSet(changeset):
  File "/usr/lib64/python2.3/site-packages/smart/interfaces/text/interface.py", 
line 107, in confirmChangeSet
    return self.showChangeSet(changeset, confirm=True)
  File "/usr/lib64/python2.3/site-packages/smart/interfaces/text/interface.py", 
line 223, in showChangeSet
    size = report.getInstallSize() - report.getRemoveSize()
  File "/usr/lib64/python2.3/site-packages/smart/report.py", line 200, in getRem
oveSize
    size = info.getInstalledSize()
  File "/usr/lib64/python2.3/site-packages/smart/backends/rpm/header.py", line 8
7, in getInstalledSize
    return self._h[rpm.RPMTAG_SIZE]
  File "/usr/lib64/python2.3/site-packages/smart/backends/rpm/header.py", line 5
8, in __get__
    obj._h = obj._loader.getHeader(obj._package)
  File "/usr/lib64/python2.3/site-packages/smart/backends/rpm/header.py", line 5
81, in getHeader
    return mi.next()
StopIteration


- -- 
Martin A. Brown
http://linux-ip.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: pgf-0.71 (http://linux-ip.net/sw/pine-gpg-filter/)

iD8DBQFEvxewHEoZD1iZ+YcRAkjSAKCe+5nKN1EjgYRNsXlYWOrK2cpfkgCfcQz1
QRgEMcxFC37FQx5UkTmCxdI=
=c/n9
-----END PGP SIGNATURE-----



More information about the Smart mailing list