Bug 674125 - smart "search description" fails, generates traceback
Summary: smart "search description" fails, generates traceback
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: smart
Version: 14
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Axel Thimm
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-31 17:48 UTC by Sean Sheedy
Modified: 2012-08-16 12:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-16 12:09:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Sean Sheedy 2011-01-31 17:48:10 UTC
Description of problem:
The "Search-Description" feature of smart doesn't work.  Attempting to use it produces the following traceback:

Traceback (most recent call last):

  File "/usr/lib64/python2.7/site-packages/smart/interfaces/gtk/interactive.py", line 328, in <lambda>
    self._searchname.connect("clicked", lambda x: self.refreshPackages())

  File "/usr/lib64/python2.7/site-packages/smart/interfaces/gtk/interactive.py", line 787, in refreshPackages
    searcher.addDescription(text)

  File "/usr/lib64/python2.7/site-packages/smart/searcher.py", line 206, in addDescription
    p = re.compile("\s+".join(s.split()), self.ignorecase and re.I or 0)

  File "/usr/lib64/python2.7/re.py", line 190, in compile
    return _compile(pattern, flags)

  File "/usr/lib64/python2.7/re.py", line 245, in _compile
    raise error, v # invalid expression

error: unexpected end of pattern


Version-Release number of selected component (if applicable):
smart-1.3.1-66.fc14.x86_64
smart-gui-1.3.1-66.fc14.x86_64

How reproducible:
Always

Steps to Reproduce:
1. In the smart gui, click the "Search" button.
2. Enter a search term.
3. Change the search button from "Automatic" to "Description".
  
Actual results:
The above traceback.

Expected results:
An actual search of the package descriptions.

Additional info:

Comment 1 Corey Welton 2011-03-29 23:57:44 UTC
I can reproduce this behavior in Fedora 14 x86_64

smart-1.3.1-66.fc14.x86_64
smart-gui-1.3.1-66.fc14.x86_64

Comment 2 Scott M. Sanders 2012-01-18 20:35:37 UTC
I get this still in a new install of F16 64-bit.

Comment 3 Fedora End Of Life 2012-08-16 12:10:00 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.