Bug 247255 - UnicodeDecodeError: 'ascii' codec can't decode byte...
UnicodeDecodeError: 'ascii' codec can't decode byte...
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Jeremy Katz
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-07-06 08:18 EDT by Harald Hoyer
Modified: 2014-01-21 17:58 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-07-06 08:53:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Harald Hoyer 2007-07-06 08:18:10 EDT
Description of problem:
$ echo $LANG

$ 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>
  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,
  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
  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:
Actual results:

Expected results:

Additional info:
Comment 1 Jeremy Katz 2007-07-06 08:53:35 EDT
Should be fixed up in upstream CVS already

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