Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: kyum does not properly deal with UTF-8 characters in descriptions (such as kdepim in rawhide of 20080215) and does not get a complete list of packages when descriptions are enabled. Version-Release number of selected component (if applicable): kyum-0.7.5-11 yum-3.2.11-1 How reproducible: always Steps to Reproduce: 1. run kyum 2. 3. Actual results: kyum fails to collect complete package list unless descriptions are disabled Expected results: normal operation Additional info:
Tahk you for your bug report. If you can get a traceback it will be nice, if you can post it.
*** Traceback (most recent call last): *** File "/usr/bin/yum", line 29, in <module> *** yummain.user_main(sys.argv[1:], exit_code=True) *** File "/usr/share/yum-cli/yummain.py", line 237, in user_main *** errcode = main(args) *** File "/usr/share/yum-cli/yummain.py", line 111, in main *** result, resultmsgs = base.doCommands() *** File "/usr/share/yum-cli/cli.py", line 309, in doCommands *** return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds) *** File "/usr/share/yum-cli/yumcommands.py", line 213, in doCommand *** rap = base.listPkgs(ypl.available, _('Available Packages'), basecmd) *** File "/usr/share/yum-cli/output.py", line 316, in listPkgs *** self.infoOutput(pkg) *** File "/usr/share/yum-cli/output.py", line 287, in infoOutput *** print self._outKeyValFill(_("Description: "), enc(pkg.description)) *** File "/usr/lib/python2.5/codecs.py", line 303, in write *** data, consumed = self.encode(object, self.errors) *** UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 855: ordinal not in range(128) Process exited normally with code 1.
What locale are you running in?
Created attachment 295467 [details] dump of bash environment (login shell) root env is the same w/o GDM_LANG var set also LC_COLLATE is not set for root
LANG=en_US.UTF-8 is in both user and root environment. kyum is usually run from a persistent root shell in a gnome-terminal window. Not: pup, pirut and direct yum invocations do _not_ trigger the bug, only running from kyum causes the problem. This is a second go-round for this complaint, and the kyum maintainer ducked the last time too.
YUMBUGDAY
closing due to lack of response. Disgusting.