Bug 325711 - yum info crashes on any package
Summary: yum info crashes on any package
Status: CLOSED DUPLICATE of bug 252136
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 7
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2007-10-09 23:15 UTC by Milos Jakubicek
Modified: 2014-01-21 22:59 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-10-10 01:31:10 UTC

Attachments (Terms of Use)

Description Milos Jakubicek 2007-10-09 23:15:24 UTC
Description of problem: Yum info crashes and gives following traceback on any

Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
  File "/usr/share/yum-cli/yummain.py", line 102, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 282, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd,
  File "/usr/share/yum-cli/yumcommands.py", line 168, in doCommand
    rip = base.listPkgs(ypl.installed, 'Installed Packages', basecmd)
  File "/usr/share/yum-cli/output.py", line 129, in listPkgs
  File "/usr/share/yum-cli/output.py", line 99, in infoOutput
    print _("Summary: %s") % enc(pkg.summary)
  File "/usr/share/yum-cli/output.py", line 86, in enc
    t = gettext.dgettext(d, s)
  File "/usr/lib64/python2.5/gettext.py", line 530, in dgettext
  File "/usr/lib64/python2.5/gettext.py", line 478, in translation
    t = _translations.setdefault(key, class_(open(mofile, 'rb')))
  File "/usr/lib64/python2.5/gettext.py", line 180, in __init__
  File "/usr/lib64/python2.5/gettext.py", line 313, in _parse
    v = v.split(';')
AttributeError: 'list' object has no attribute 'split'

Version-Release number of selected component (if applicable):

How reproducible:
yum info [any_package]
Actual results:

Crashes with traceback.

Expected results:

Should output package information.

Comment 1 Seth Vidal 2007-10-09 23:29:52 UTC
what's your locale set to so I can test this?

Comment 2 Jeremy Katz 2007-10-10 01:31:10 UTC

*** This bug has been marked as a duplicate of 252136 ***

Comment 3 Milos Jakubicek 2007-10-10 10:26:05 UTC
My locale is cs_CZ.UTF-8. With en_US.UTF-8 everything works fine, so it really
seems to be duplicate as marked (sorry for that, I only searched for bugs in the
"yum" component before filing the bug).

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