Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: while running application in Assamese, it showing some traceback. ----- Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/firstboot/loader.py", line 87, in loadModules loaded = imputil.imp.load_module(module, found[0], found[1], found[2]) File "/usr/share/firstboot/modules/smolt.py", line 22, in <module> locale.setlocale(locale.LC_ALL, '') File "/usr/lib/python2.5/locale.py", line 476, in setlocale return _setlocale(category, locale) Error: unsupported locale setting Since there is a problem with the smolt module, firstboot will not load this module and will attempt to run the remaining modules. ------ Version-Release number of selected component (if applicable): firstboot-1.91-2.fc9 How reproducible: Steps to Reproduce: 1. run application with as_IN locale 2. 3. Actual results: showing traceback on screen Expected results: should work normally Additional info: ----- irstboot DEBUG: Successfully loaded module eula, adding firstboot DEBUG: Successfully loaded module welcome, adding firstboot INFO: skipping module additional_cds because shouldAppear returned false firstboot CRITICAL: Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/firstboot/loader.py", line 87, in loadModules loaded = imputil.imp.load_module(module, found[0], found[1], found[2]) File "/usr/share/firstboot/modules/smolt.py", line 22, in <module> locale.setlocale(locale.LC_ALL, '') File "/usr/lib/python2.5/locale.py", line 476, in setlocale return _setlocale(category, locale) Error: unsupported locale setting ---------
Sorry, Application run after crash, but it showing above "Unsupported Error"
I'm not sure why this is happening to Smolt, as I can duplicate the error at the Python command line: $ LANG=as_IN python Python 2.5.1 (r251:54863, Dec 21 2007, 13:12:08) [GCC 4.1.2 20070925 (Red Hat 4.1.2-33)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import locale >>> locale.setlocale(locale.LC_ALL, '') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.5/locale.py", line 476, in setlocale return _setlocale(category, locale) locale.Error: unsupported locale setting >>>
I'm pretty sure this is a python bug, I've put in a 'fix' for it in smolt, It's not a verh good fix but it'll work. Expect it on the mirrors in the next couple of days.