[issue125] Find / Search for description ONLY crashes.

Firewing1 at Labix Tracker tracker at labix.org
Mon Feb 20 15:23:47 PST 2006


New submission from Firewing1 <compustew at hotmail.com>:

Hello,
I'm using SmartPM 0.41, I've tried both Dag's and ATRPMS packages for Fedora
Core 4. When I try to search packages for description, the GUI window closes, no
error. From the terminal, I find:
[code]
[admin at DellLin ~]$ smart search example
Loading cache...
Updating cache...               ######################################## [100%]

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
[admin at DellLin ~]$
[/code] It seems the search function has a bug.
Firewing1

----------
messages: 407
nosy: Firewing1
priority: critical
project: smart
status: unread
title: Find / Search for description ONLY crashes.

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



More information about the Smart mailing list