smart-r735: StopIteration on x86_64

Martin A. Brown martin at linux-ip.net
Wed Jul 19 14:47:13 PDT 2006


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

Hello,

I'm experiencing a bit of trouble with smart, as checked out of 
subversion (r735).  I resorted to subversion (as opposed to the 
official distribution, since I suspected that I had encountered an 
earlier bug [0].

It seems that issues 131, 64, 68 and 158 cover similar behaviour, 
but this one seems a bit different, since smart raises a 
StopIteration error.

Exact error is included below.  I'm not sure what other diagnostic 
information may be useful; please let me know and I'll furnish it.

The host in question is a CentOS x86_64 machine.

- -Martin

 [0] http://lists.labix.org/pipermail/smart-labix.org/2006-June/001078.html

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/query.py", line 279, in main
    if pattern.search(info.getSummary()):
  File "/usr/lib64/python2.3/site-packages/smart/backends/rpm/header.py", line 102, in getSummary
    s = self._h[rpm.RPMTAG_SUMMARY]
  File "/usr/lib64/python2.3/site-packages/smart/backends/rpm/header.py", line 58, in __get__
    obj._h = obj._loader.getHeader(obj._package)
  File "/usr/lib64/python2.3/site-packages/smart/backends/rpm/header.py", line 581, 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/)

iD8DBQFEvqhmHEoZD1iZ+YcRAnDsAJ4zoNse0kXKoAaZkUaGWAa4Q3w1/QCbBJ2T
V7E+r9PgNbQooYXTAJtV3Mw=
=ZeeW
-----END PGP SIGNATURE-----



More information about the Smart mailing list