Bug 1321636 - system-config-language doesn't work
Summary: system-config-language doesn't work
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-language
Version: 23
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Parag Nemade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-28 17:31 UTC by andanari.p
Modified: 2016-03-31 05:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-31 05:00:51 UTC
Type: ---


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.