Red Hat Bugzilla – Bug 439606
Smolt crashes when locale is sv
Last modified: 2009-09-21 17:38:27 EDT
Description of problem:
Smolt (and firstboot) crashes when the locale is set to sv.
Traceback (most recent call last):
File "/usr/lib64/python2.5/site-packages/firstboot/loader.py", line 87, in
loaded = imputil.imp.load_module(module, found, found, found)
File "/usr/share/firstboot/modules/smolt.py", line 29, in <module>
t = gettext.translation('smolt', '/usr/share/locale', fallback = True)
File "/usr/lib64/python2.5/gettext.py", line 480, in translation
t = _translations.setdefault(key, class_(open(mofile, 'rb')))
File "/usr/lib64/python2.5/gettext.py", line 180, in __init__
File "/usr/lib64/python2.5/gettext.py", line 316, in _parse
plural = v.split('plural=')
IndexError: list index out of range
Version-Release number of selected component (if applicable):
Created attachment 299581 [details]
Fixes the broken po-file.
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
Created attachment 311883 [details]
message from computer
This bug exists in Fedora 10 as well.
This bug exists in Fedora 11 Alpha as well.
Ok, there's two bugs going on here, I think this one will be fixed with the next release (in the next week or two)
Bug caused by wrong plural forms should be fixed in next release of Smolt.
Can this bug report be closed now?
Could you please confirm that it is fixed in Fedora 12 Alpha?
Sorry for the delay. It seems like the package in F12 Alpha/rawhide (1.3-2.fc12.noarch) needs to be updated to the latest version (1.3.2) which contains the fix.
Can someone verify that 1.3-2 is throwing an error? I just tested in rawhide with no errors
LANG=sv smoltSendProfile -a
I'm planning on releasing 1.3.3 prior to F12, just giving the translators time to translate.
Using smolt 1.3-1.fc11 and running
$ LANG="sv_SE.UTF-8" python /usr/share/firstboot/modules/smolt.py
gives me the reported error.
1.3.2 is building for rawhide now.
Ok, just did a yum update, tested firstboot and everything seems to be working.
Can someone else please verify this and close the ticket?
I can verify that it's working with 1.3.2.