Issue 1545 in ibus: [Invalid UTF-8] is displayed whenever characters are entered using IBus-Pinyin

101 views
Skip to first unread message

ib...@googlecode.com

unread,
Nov 13, 2012, 6:38:38 PM11/13/12
to ibus-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1545 by kerr...@kerrickstaley.com: [Invalid UTF-8] is displayed
whenever characters are entered using IBus-Pinyin
http://code.google.com/p/ibus/issues/detail?id=1545

Action taken:
Attempt to enter Chinese characters using IBus-Pinyin

Result:
The character input widget appears as usual, and the typed characters
appear inline as usual. However, when the characters are confirmed (by
pressing the space bar), the string "[Invalid UTF-8]" is inserted into the
text field instead of the entered characters.

Software versions:
Operating System: Arch Linux
Architecture: x86_64
IBus version: 1.4.99.20121109-1
Input method name and version: IBus-Pinyin 1.4.99.20120808-1
Python version: 2.7.3
dbus version: 1.6.8
dbus-python version: 1.1.1
GTK version: 3.6.2

Other info:
I reinstalled IBus and IBus-Pinyin, and this fixed the issue for about 3
minutes, but then the issue started happening again, and further reinstalls
have had no effect.

ib...@googlecode.com

unread,
Nov 13, 2012, 6:40:29 PM11/13/12
to ibus-...@googlegroups.com

Comment #1 on issue 1545 by m...@kerrickstaley.com: [Invalid UTF-8] is
displayed whenever characters are entered using IBus-Pinyin
http://code.google.com/p/ibus/issues/detail?id=1545

I ran ibus-daemon -rvx, and attempted to enter the string "中文". Here is
the output:

IBUS-Message: 17:39:37.390941: Engine xkb:us:altgr-intl:eng is already
registered by other component
cannot open ../lua/base.lua: No such file or directory
cannot open /home/kerrick/.config/.ibus/pinyin/base.lua: No such file or
directory
TODO: ime_register_trigger unimplemented when called with GetCurrentTime (显
示时间).

1:时间
TODO: ime_register_trigger unimplemented when called with GetToday (显示日期
).

1:日期

(ibus-engine-pinyin:1655): GLib-CRITICAL **: g_variant_new_string:
assertion `g_utf8_validate (string, -1, NULL)' failed

ib...@googlecode.com

unread,
Nov 13, 2012, 7:11:28 PM11/13/12
to ibus-...@googlegroups.com
Updates:
Cc: Shawn.P....@gmail.com
Labels: Component-ibus-pinyin

Comment #2 on issue 1545 by damage3...@gmail.com: [Invalid UTF-8] is
displayed whenever characters are entered using IBus-Pinyin
http://code.google.com/p/ibus/issues/detail?id=1545

Thanks for reporting.

Reply all
Reply to author
Forward
0 new messages