Red Hat Bugzilla – Bug 115751
Missing language definition in Defaults.py
Last modified: 2007-04-18 13:03:06 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040126
Description of problem:
Traceback (most recent call last):
File "/var/mailman/scripts/driver", line 87, in run_main
File "/var/mailman/Mailman/Cgi/listinfo.py", line 61, in main
File "/var/mailman/Mailman/Cgi/listinfo.py", line 159, in list_listinfo
replacements = mlist.GetStandardReplacements(lang)
File "/var/mailman/Mailman/HTMLFormatter.py", line 379, in
listlangs = self.GetLangSelectBox(lang).Format()
File "/var/mailman/Mailman/HTMLFormatter.py", line 424, in
legend = map(_, map(Utils.GetLanguageDescr, values))
File "/var/mailman/Mailman/Utils.py", line 589, in GetLanguageDescr
The problem turned out to be that Polish is not defined under
LC_DESCRIPTIONS in Defaults.py . Adding
add_language('pl', _('Polish'), 'iso-8859-2')
there solved it.
You won't run into this as long as Polish is not enabled.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Enable Polish for any mailing list.
2. Try to access that list's membersship management pages or try
3. bin/config_list -o outfile listname
I checked. The problem is still there in mailman-2.1.1-5 (released as
a RH9 update last week), but has been fixed in mailman-2.1.2-2 in FC1.
I am closing this bug report since this item is fixed in the newest
rpm and we will not create further RHL9 update rpms.
Thanks for this bug-report,
Florian La Roche