[issue126] smart search fails

Christian Metzen at Labix Tracker tracker at labix.org
Tue Feb 21 10:12:11 PST 2006


New submission from Christian Metzen <metzench at ccux-linux.de>:

Using "smart search" works fine, as long as you didn't execute any other action
like "smart update" or installing a package.

It's reproducable and everytime you already did something else the following
error occurs:

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/lib/python2.4/site-packages/smart/interface.py", line 53, in run
    result = _command.main(self._ctrl, opts)
  File "/usr/lib/python2.4/site-packages/smart/commands/query.py", line 283, in main
    if pattern.search(info.getDescription()):
TypeError: expected string or buffer

But searching in the GUI works fine, even when the command line doesn't work
anymore. Any ideas about that? Using the GUI is fine as long as the system isn't
a server! :-)

Thanks in advance for your help!

----------
messages: 411
nosy: BBlack
priority: bug
project: smart
status: unread
title: smart search fails

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



More information about the Smart mailing list