Bug 504377
| Summary: | Special characters cause internal system error | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Christoph Wickert <christoph.wickert> |
| Component: | gnome-packagekit | Assignee: | Richard Hughes <richard> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 10 | CC: | kenda, rhughes, richard |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 0.4.9-1.fc11 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-06-07 09:05:10 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Excellent bug, thanks for reporting. I've fixed this upstream:
commit e7d7308b28d70aeb1af43cc9a7403c208eaa1778
Author: Richard Hughes <richard>
Date: Sat Jun 6 11:14:23 2009 +0100
Convert non-ASCII text to unicode for spawned backends. Fixes rh#504377
Searching for mü now finds the Münster Curry Compiler without an error.
Do you want me to push this for F11, or can it wait for 0.4.9 (three weeks time)?
(In reply to comment #1) > Excellent bug, thanks for reporting. I'm flattered. Thanks for the quick fix. > Searching for mü now finds the Münster Curry Compiler without an error. As a citizen of the town of Münster I appreciate this very much. ;) > Do you want me to push this for F11, or can it wait for 0.4.9 (three weeks > time)? 0.4.9 is fine for me. PackageKit-0.4.9-1.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/PackageKit-0.4.9-1.fc11 PackageKit-0.4.9-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: An internal system error appears when searching for a term with special characters such as German umlauts (ä, ö, ü, ...) Version-Release number of selected component (if applicable): gnome-packagekit-0.3.14-1.fc10.i386 (as well as later builds) How reproducible: always Steps to Reproduce: 1. Enter a search term with at least one special character in the search fild 2. Press "Find" Actual results: Error Type: <type 'exceptions.TypeError'> Error Value: 'in <string>' requires string as left operand File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2316, in <module> main() File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2313, in main backend.dispatcher(sys.argv[1:]) File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 600, in dispatcher self.dispatch_command(args[0], args[1:]) File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 567, in dispatch_command self.search_name(options, searchterms) File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 332, in search_name self._do_search(searchlist, filters, key) File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 293, in _do_search self._do_meta_package_search(fltlist, key) File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 270, in _do_meta_package_search if key in grpid: Expected results: Just works (TM)