Bug 370861

Summary: AttributeError 'split' -- yum info <package> -- german
Product: [Fedora] Fedora Reporter: shrek-m <shrek-m>
Component: yumAssignee: Jeremy Katz <katzj>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 7CC: ffesti, james.antill, opensource, pmatilai, tim.lauridsen
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-11-09 14:14:58 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 shrek-m 2007-11-08 07:39:35 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.8.1.8) Gecko/20071019 Fedora/2.0.0.8-1.fc7 Firefox/2.0.0.8

Description of problem:
`LANG=C yum info <package`  is ok

`yum info <package>`
no summary, no description
==> AttributeError: 'list' object has no attribute 'split'


Version-Release number of selected component (if applicable):
yum-3.2.7-1.fc7

How reproducible:
Always


Steps to Reproduce:
1. yum info <package>

Actual Results:
# yum info kernel  (or other packages)
Installed Packages
Name   : kernel
Arch   : x86_64
Version: 2.6.23.1
Release: 10.fc7
Size   : 60 M
Repo   : installed
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 105, 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, self.extcmds)
  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
    self.infoOutput(pkg)
  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
    codeset=_localecodesets.get(domain))
  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__
    self._parse(fp)
  File "/usr/lib64/python2.5/gettext.py", line 313, in _parse
    v = v.split(';')
AttributeError: 'list' object has no attribute 'split'


Expected Results:


Additional info:
# cat /etc/sysconfig/i18n
LANG="de_DE.UTF-8"
SYSFONT="latarcyrheb-sun16"

was an dist-upgrade via yum fc6->f7

Comment 1 Till Maas 2007-11-08 21:58:30 UTC
same problem here on i386

Comment 2 Jeremy Katz 2007-11-09 14:14:58 UTC

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