FS#41707 - [ibus] Can't select input methods in ibus-setup if en_US.utf-8 locale isn't defined

Attached to Project: Arch Linux
Opened by Popolon (Popolon) - Tuesday, 26 August 2014, 22:37 GMT
Last edited by Felix Yan (felixonmars) - Wednesday, 17 September 2014, 11:31 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Can't select input methods in ibus-setup if en_US.utf-8 locale isn't defined. The application then display bogus window. The following lines are displayed in terminal:


File "/usr/share/ibus/setup/main.py", line 322, in __button_engine_add_cb
dialog.set_engines(self.__engines)
File "/usr/share/ibus/setup/enginedialog.py", line 327, in set_engines
locale.setlocale(locale.LC_ALL, 'en_US.UTF-8')
File "/usr/lib/python3.4/locale.py", line 592, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting

This is a blocking issue for every non en_US.utf-8 user that want to use asian languages and don't have the knowledge to debug/create locale.

Additional info:
* package version(s) ibus-1.5.8-1 + (not sure that's needed) at least one ibus-<input-method> package
* config and/or log files etc.


Steps to reproduce:

* Install basic archlinux with a local different from en_US.UTF-8 (I installed it with fr_FR.UTF-8).
* pacman -S ibus ibus-libpinyin
* As user : ibus-setup, confirm that you want to launch ibus, go to Input Method tab (Méthode d'entrée in french, etc...),
* Click sur Add (ajouter in french, etc...), and the list will not display as, when en_US.UTF-8 is defined. The python error message described at the top of this bug report will be displayed if launched from a shell.



This task depends upon

Closed by  Felix Yan (felixonmars)
Wednesday, 17 September 2014, 11:31 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.5.9-1
Comment by Felix Yan (felixonmars) - Wednesday, 27 August 2014, 05:47 GMT
Looks like an upstream issue. Would be helpful if you could report to ibus upstream too.
Comment by Popolon (Popolon) - Friday, 29 August 2014, 11:03 GMT Comment by Popolon (Popolon) - Thursday, 04 September 2014, 20:04 GMT
Fixed upstream, still need a new release.
Comment by Felix Yan (felixonmars) - Wednesday, 17 September 2014, 08:56 GMT
ibus 1.5.9-1 has been updated to [extra], please try and see if this has been fixed :)
Comment by Popolon (Popolon) - Wednesday, 17 September 2014, 11:12 GMT
Works fine :).

Loading...