Bug 247255 - UnicodeDecodeError: 'ascii' codec can't decode byte...
Summary: UnicodeDecodeError: 'ascii' codec can't decode byte...
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: yum   
(Show other bugs)
Version: rawhide
Hardware: All Linux
low
low
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-07-06 12:18 UTC by Harald Hoyer
Modified: 2014-01-21 22:58 UTC (History)
1 user (show)

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: ---


Attachments (Terms of Use)

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


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