[Bug 306866] [NEW] semanage crashes when locale is FR_fr
Nebelmann
nebelmann at gmx.com
Wed Dec 10 14:03:12 UTC 2008
Public bug reported:
When running semanage on Ubuntu Intrepid Ibex, I get the following error
trace:
root at grnx:~# semanage
Traceback (most recent call last):
File "/usr/sbin/semanage", line 24, in <module>
import seobject
File "/var/lib/python-support/python2.5/seobject.py", line 32, in <module>
gettext.install(PROGNAME, localedir="/usr/share/locale", unicode=1)
File "/usr/lib/python2.5/gettext.py", line 508, in install
t = translation(domain, localedir, fallback=True, codeset=codeset)
File "/usr/lib/python2.5/gettext.py", line 493, 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 314, in _parse
plural = v[1].split('plural=')[1]
IndexError: list index out of range
A possible workaround is to modify
/usr/share/locale/fr/LC_MESSAGES/policycoreutils.mo (use msgunfmt to get
a readable version)
At line 12, change
"Plural-forms: \n"
to
"Plural-Forms: nplurals=2; plural=n>1;"
then "recompile" this file with msgfmt and copy the generated file to /usr/share/locale/fr/LC_MESSAGES/policycoreutils.mo
(this error could appear in other languages too)
** Affects: policycoreutils (Ubuntu)
Importance: Undecided
Status: New
--
semanage crashes when locale is FR_fr
https://bugs.launchpad.net/bugs/306866
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list