Bug 247255

Summary: UnicodeDecodeError: 'ascii' codec can't decode byte...
Product: [Fedora] Fedora Reporter: Harald Hoyer <harald>
Component: yumAssignee: Jeremy Katz <katzj>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: james.antill
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-07-06 12:53:35 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:

Description Harald Hoyer 2007-07-06 12:18:10 UTC
Description of problem:
$ echo $LANG
de_DE.UTF-8

$ yum info eclipse-cdt
Loading "installonlyn" plugin
Loading "skip-broken" plugin
Loading "fastestmirror" plugin
Loading "dellsysidplugin" plugin
Loading mirror speeds from cached hostfile
Installed Packages
Name   : eclipse-cdt
Arch   : x86_64
Epoch  : 1
Version: 3.1.2
Release: 3.fc7
Size   : 47 M
Repo   : installed
Summary: Eclipse C/C++ Development Tools (CDT) plugin

Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.main(sys.argv[1:])
  File "/usr/share/yum-cli/yummain.py", line 94, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 266, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd,
self.extcmds)
  File "/usr/share/yum-cli/yumcommands.py", line 164, in doCommand
    base.listPkgs(ypl.installed, 'Installed Packages', basecmd)
  File "/usr/share/yum-cli/output.py", line 102, in listPkgs
    self.infoOutput(pkg)
  File "/usr/share/yum-cli/output.py", line 73, in infoOutput
    print _("Description:\n%s") % pkg.description.encode("UTF-8")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 26: ordinal
not in range(128)

Version-Release number of selected component (if applicable):
]$ yum list 'yum*'
Installed Packages
yum.noarch                               3.2.1-1.fc8            installed       
yum-fastestmirror.noarch                 1.1.5-1.fc8            installed       
yum-fastestmirror.noarch                 1.1.5-1.fc7            installed       
yum-metadata-parser.x86_64               1.1.0-2.fc7            installed       
yum-skip-broken.noarch                   1.1.5-1.fc8            installed       
yum-updateonboot.noarch                  1.1.5-1.fc8            installed       
yum-updatesd.noarch                      3.2.1-1.fc8            installed       
yum-utils.noarch                         1.1.5-1.fc8            installed       


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jeremy Katz 2007-07-06 12:53:35 UTC
Should be fixed up in upstream CVS already