Red Hat Bugzilla – Bug 964445
[abrt] pyroom-0.4.1-5.fc17: locale.py:358:normalize:AttributeError: 'list' object has no attribute 'translate'
Last modified: 2013-08-01 00:55:56 EDT
Description of problem:
I tried to start pyroom.
[Related: I then tried to authenticate to use abrt but it wants a password for a keyring I've never heard of and keeps saying Secret Service is not available!]
Version-Release number of selected component:
cmdline: /usr/bin/python /usr/bin/pyroom
locale.py:358:normalize:AttributeError: 'list' object has no attribute 'translate'
Traceback (most recent call last):
File "/usr/bin/pyroom", line 35, in <module>
import sys, PyRoom.cmdline
File "/usr/lib/python2.7/site-packages/PyRoom/__init__.py", line 34, in <module>
File "/usr/lib64/python2.7/gettext.py", line 467, in translation
mofiles = find(domain, localedir, languages, all=1)
File "/usr/lib64/python2.7/gettext.py", line 439, in find
for nelang in _expand_lang(lang):
File "/usr/lib64/python2.7/gettext.py", line 132, in _expand_lang
locale = normalize(locale)
File "/usr/lib64/python2.7/locale.py", line 358, in normalize
fullname = localename.translate(_ascii_lower_map)
AttributeError: 'list' object has no attribute 'translate'
Local variables in innermost frame:
Created attachment 749656 [details]
Created attachment 749657 [details]
Created attachment 749658 [details]
Created attachment 749659 [details]
Output from locale:
Output from echo $LANGUAGE:
Setting LANGUAGE to an empty string in a subshell lets pyroom start.
On Arch Linux, pyroom runs fine without the work around even though LANGUAGE is set to the same value as on Fedora and my locale settings are all identical.
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '17'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 17's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 17 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged change the
'version' to a later Fedora version prior to Fedora 17's end of life.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.