Bug 957222

Summary: [abrt] ibus-anthy-1.5.0-1.fc17: engine.py:1854:_mk_key:ValueError: unichr() arg not in range(0x110000) (wide Python build)
Product: [Fedora] Fedora Reporter: troomps01
Component: ibus-anthyAssignee: fujiwara <tfujiwar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: i18n-bugs, shawn.p.huang, tagoh, tfujiwar
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:f2085c43cbaf1929718dc3f919262c2f880374e1
Fixed In Version: ibus-anthy-1.5.3-1.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-24 20:24:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: environ
none
File: smolt_data none

Description troomps01 2013-04-26 16:29:00 UTC
Description of problem:
I set up the Japanese keyboard layout by following the steps provided here:
http://www.localizingjapan.com/blog/2012/06/08/japanese-input-on-fedora-17-linux-beefy-miracle-gnome-3/

And rebooted my system. The error appeared after I logged back in.

Version-Release number of selected component:
ibus-anthy-1.5.0-1.fc17

Additional info:
cmdline:        /usr/bin/python /usr/share/ibus-anthy/engine/main.py --ibus
executable:     /usr/share/ibus-anthy/engine/main.py
kernel:         3.8.4-102.fc17.i686
uid:            1000
ureports_counter: 1

Truncated backtrace:
engine.py:1854:_mk_key:ValueError: unichr() arg not in range(0x110000) (wide Python build)

Traceback (most recent call last):
  File "/usr/share/ibus-anthy/engine/factory.py", line 68, in __config_value_changed_cb
    engine.Engine.CONFIG_VALUE_CHANGED(self.__bus, section, name, value)
  File "/usr/share/ibus-anthy/engine/engine.py", line 1633, in CONFIG_VALUE_CHANGED
    cls.__keybind.setdefault(cls._s_to_key(s), []).append(cmd)
  File "/usr/share/ibus-anthy/engine/engine.py", line 1683, in _s_to_key
    return cls._mk_key(keyval, state)
  File "/usr/share/ibus-anthy/engine/engine.py", line 1854, in _mk_key
    if unichr(keyval) in u'!"#$%^\'()*+,-./:;<=>?@[\]^_`{|}~':
ValueError: unichr() arg not in range(0x110000) (wide Python build)

Local variables in innermost frame:
state: 4
keyval: 16777215L

Comment 1 troomps01 2013-04-26 16:29:03 UTC
Created attachment 740503 [details]
File: backtrace

Comment 2 troomps01 2013-04-26 16:29:05 UTC
Created attachment 740504 [details]
File: core_backtrace

Comment 3 troomps01 2013-04-26 16:29:07 UTC
Created attachment 740505 [details]
File: environ

Comment 4 troomps01 2013-04-26 16:29:09 UTC
Created attachment 740506 [details]
File: smolt_data

Comment 5 fujiwara 2013-05-07 03:19:53 UTC
Thanks for the report.
I fixed the bug in the devel repository:
https://github.com/fujiwarat/ibus-anthy/commit/71fa48c6aeae129297a1c430d6187735c61828d6

Comment 6 Fedora Update System 2013-05-13 06:31:56 UTC
ibus-anthy-1.5.3-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/FEDORA-2013-7928/ibus-anthy-1.5.3-1.fc19

Comment 7 Fedora Update System 2013-05-13 06:33:19 UTC
ibus-anthy-1.5.3-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/FEDORA-2013-7953/ibus-anthy-1.5.3-1.fc18

Comment 8 Fedora Update System 2013-05-13 06:35:31 UTC
ibus-anthy-1.5.3-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/FEDORA-2013-7956/ibus-anthy-1.5.3-1.fc17

Comment 9 Fedora Update System 2013-05-13 15:01:53 UTC
Package ibus-anthy-1.5.3-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ibus-anthy-1.5.3-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-7928/ibus-anthy-1.5.3-1.fc19
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2013-05-24 20:24:07 UTC
ibus-anthy-1.5.3-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2013-06-01 02:31:33 UTC
ibus-anthy-1.5.3-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2013-06-01 02:31:52 UTC
ibus-anthy-1.5.3-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.