Bug 1321636

Summary: system-config-language doesn't work
Product: [Fedora] Fedora Reporter: andanari.p
Component: system-config-languageAssignee: Parag Nemade <pnemade>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 23CC: i18n-bugs, nav007, pnemade, psatpute
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-31 05:00:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description andanari.p 2016-03-28 17:31:13 UTC
User-Agent:       Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
Build Identifier: 

Traceback (most recent call last):
  File "/usr/share/system-config-language/language_gui.py", line 349, in do_activate
    win = ChildWindow(self)
  File "/usr/share/system-config-language/language_gui.py", line 61, in __init__
    self.fill_store()
  File "/usr/share/system-config-language/language_gui.py", line 126, in fill_store
    lines = self.lang_backend.read_table()
  File "/usr/share/system-config-language/language_backend.py", line 94, in read_table
    lines = fd.readlines()
  File "/usr/lib64/python3.4/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 1513: ordinal not in range(128)

Reproducible: Always

Steps to Reproduce:
1. Start system-config-language
2.
3.
Actual Results:  
Crashes

Expected Results:  
Doesn't crash

Comment 1 Parag Nemade 2016-03-29 03:51:16 UTC
Sorry unable to reproduce above traceback. Maybe provide more details like what you did? On fedora 23, you just start "system-config-language" as normal user from gnome-terminal?? 

What was your locale set when you ran "system-config-language"?

Comment 2 andanari.p 2016-03-29 10:49:10 UTC
I've fixed it by setting my locale using localectl. I think the problem was because I had LANG=C. Setting locale through KDE settings doesn't work on Fedora for some reason.

Comment 3 Parag Nemade 2016-03-31 05:00:51 UTC
Thanks. I assume then no issues here. If still see some issue, re-open this bugzilla.