Bug 442154 - yum info afflib halts with traceback.
Summary: yum info afflib halts with traceback.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-12 03:52 UTC by archimerged Ark submedes
Modified: 2014-01-21 23:02 UTC (History)
5 users (show)

Fixed In Version: 3.2.16-2.fc9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-30 16:57:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description archimerged Ark submedes 2008-04-12 03:52:08 UTC
Description of problem:
yum info afflib halts with traceback.

Version-Release number of selected component (if applicable):
yum-3.2.14-2.fc9.noarch

How reproducible:
every time

Steps to Reproduce:
1. yum info afflib
2.
3.
  
Actual results:

yum halts with traceback just before printing a line containing a Unicode
registered trademark sign.

Expected results:

yum-3.2.12-4.fc9.noarch gets this result:
Description: AFF® is an open and extensible file format designed to store disk
images and associated metadata. afflib is
           : library for support of the Advanced Forensic Format (AFF).

Additional info:

[alpha@alpha ~]$ yum info afflib
Loaded plugins: refresh-packagekit
Available Packages
Name       : afflib
Arch       : i386
Version    : 3.1.3
Release    : 4.fc9
Size       : 156 k
Repo       : rawhide
Summary    : Library to support the Advanced Forensic Format
URL        : http://www.afflib.org
License    : BSD with advertising
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 236, 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 214, in doCommand
    rap = base.listPkgs(ypl.available, _('Available Packages'), basecmd)
  File "/usr/share/yum-cli/output.py", line 337, in listPkgs
    self.infoOutput(pkg)
  File "/usr/share/yum-cli/output.py", line 308, in infoOutput
    print self.fmtKeyValFill(_("Description: "), enc(pkg.description))
  File "/usr/share/yum-cli/output.py", line 256, in fmtKeyValFill
    val = str(val)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xae' in position 3:
ordinal not in range(128)
[alpha@alpha ~]$ rpm -q yum
yum-3.2.14-2.fc9.noarch
[alpha@alpha ~]$ rpm -qf /usr/share/yum-cli/yummain.py
yum-3.2.14-2.fc9.noarch
[alpha@alpha ~]$

Comment 1 Seth Vidal 2008-04-14 20:35:53 UTC
could you please test this package

http://koji.fedoraproject.org/packages/yum/3.2.14/7.fc9/noarch/yum-3.2.14-7.fc9.noarch.rpm

thanks


Comment 2 archimerged Ark submedes 2008-04-14 23:46:13 UTC
Works for me.


Comment 3 Bug Zapper 2008-05-14 09:20:47 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


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