Bug 394841 - AttributeError: 'list' object has no attribute 'split'
Summary: AttributeError: 'list' object has no attribute 'split'
Status: CLOSED DUPLICATE of bug 252136
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 7
Hardware: i386
OS: 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-11-21 20:10 UTC by Juergen Wieczorek
Modified: 2014-01-21 23:00 UTC (History)
4 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2007-11-21 20:37:55 UTC


Attachments (Terms of Use)

Description Juergen Wieczorek 2007-11-21 20:10:52 UTC
Description of problem:

'yum info anypackage' calls traceback


How reproducible:

'yum info yum' yieldS below output:

yum info yum
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
Excluding Packages in global exclude list
Finished
Installed Packages
Name   : yum
Arch   : noarch
Version: 3.2.7
Release: 1.fc7
Size   : 2.2 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/lib/python2.5/gettext.py", line 530, in dgettext
    codeset=_localecodesets.get(domain))
  File "/usr/lib/python2.5/gettext.py", line 478, in translation
    t = _translations.setdefault(key, class_(open(mofile, 'rb')))
  File "/usr/lib/python2.5/gettext.py", line 180, in __init__
    self._parse(fp)
  File "/usr/lib/python2.5/gettext.py", line 313, in _parse
    v = v.split(';')
AttributeError: 'list' object has no attribute 'split'

Comment 1 James Antill 2007-11-21 20:37:55 UTC

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


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