Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 1740 by [email protected]: Unable to add input method without
en_US.UTF-8 locale on ibus 1.5.8
https://code.google.com/p/ibus/issues/detail?id=1740
Please *DO NOT* ask question here! Please use
https://groups.google.com/group/ibus-user
请不要在这里提问,请使用ibus用户讨论组
https://groups.google.com/group/ibus-user
What version of the product are you using? On what operating system?
OS (Linux distributions, UNIX or ...): ArchLinux, ArchLinuxARM
Architecture (i386, x86_64): ARMv7, x86_64
IBus version: 1.5.8
Input method name and version: ibus-libpinyin, ibus-anthy, ibus-rime...
Python version: 3.4.1
dbus version: 1.8.6-1
dbus-python version: 1.2.0-3
gtk version (if bug is about gtk applications):
qt version (if bug is about qt applications):
What steps will reproduce the problem?
1. Install a fresh system without en_US.UTF-8 (tried with fr_FR.UTF-8, but
should occur with any non en_US encoding) (can be done in 30min with
Antergos (arch variant) on x86* Virtualbox VM with a 4~8GB virtual HD)
2. Install an input method (for example, ibus-libpinyin)
3. in a terminal, launch ibus-setup
What is the expected output? What do you see instead?
Unable to add input-method a window with an error message appear, in the
term you can see:
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
Please provide any additional information below.
Adding en_US.UTF-8 locale the following way resolve the issue, but this
should be a problem for most user on earth that doesn't use en_US:
localedef -i en_US -c -f UTF-8 en_US.UTF-8
A bug is opened on arch tracker too, it was answered the bug was upstream:
https://bugs.archlinux.org/task/41707
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en
---
You received this message because you are subscribed to the Google Groups "ibus-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.