Description of problem: I've open yumex and try to find with non-Latin characters in search field. yumex crash with: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/yumexbackend/yum_server.py", line 1361, in dispatcher self.parse_command(args[0], args[1:]) File "/usr/lib/python2.7/site-packages/yumexbackend/yum_server.py", line 1321, in parse_command self.search(args) File "/usr/lib/python2.7/site-packages/yumexbackend/yum_server.py", line 1068, in search for found in self.searchGenerator(filters, keys, showdups=True, keys=True): File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 2482, in searchGenerator tmpres = self.searchPackageTags(real_crit_lower) File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 2550, in searchPackageTags res = self.pkgtags.search_tags(c) File "/usr/lib/python2.7/site-packages/yum/pkgtag_db.py", line 135, in search_tags for (name, taglist) in ptd.search_tags(tagname).items(): File "/usr/lib/python2.7/site-packages/yum/pkgtag_db.py", line 79, in search_tags rows = self._sql_exec(query, (tag,)) File "/usr/lib/python2.7/site-packages/yum/pkgtag_db.py", line 39, in newFunc raise PkgTagsError, unicode(e) PkgTagsError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings. Version-Release number of selected component (if applicable): yumex-3.0.4-1.fc15 How reproducible: Anytime Steps to Reproduce: 1. run yumex as LANG=ru_RU.UTF-8 yumex 2. in search field typing non-Latin characters (as Russian example: Пакет) 3. Enter Actual results: crash of yumex Expected results: yumex nothing to find, but don't fail Additional info: This bug is reproduced in Fedora 16 too.
does the following work: LANG=ru_RU.UTF-8 yum search "Пакет"
Yes, it works.
Created attachment 530844 [details] It works for me in F16
Yes for me works too in Fedora 16. But five days ago was not working. Very strange. Thanks.
(In reply to comment #4) > Yes for me works too in Fedora 16. > But five days ago was not working. Very strange. > Thanks. Have you check if yum has been updated recently yum history list yum
Yes Tim, yum was updated at 27 oct. ID | Login user | Date and time | Action(s) | Altered ------------------------------------------------------------------------------- 113 | System <unset> | 2011-09-27 16:03 | Update | 17 101 | root <root> | 2011-09-26 14:24 | D, I, O, U | 1221 EE 3 | Alexei <alex> | 2011-09-10 16:49 | I, U | 141 EE 1 | 1706 | 2011-08-08 21:22 | Install | 1140 history list
Look like that have solved the issue :)
not work for me in F14 and F15
(In reply to comment #8) > not work for me in F14 and F15 The yum update fixing the issues has properly not been released in F14 & F15 yet
yumex seems broken again in Fedora 16
Yes, Tim. It's broke again in Fedora 16. I can confirm it.