China-Spiner / ibus-sogoupycc

Automatically exported from code.google.com/p/ibus-sogoupycc
1 stars 1 forks source link

不能显示输入内容 #29

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
ibus version:1.3
ibus-sogoupycc version:0.2.5
debian sid
不能显示输入内容

Original issue reported on code.google.com by wendao...@gmail.com on 15 Apr 2010 at 9:52

GoogleCodeExporter commented 9 years ago
能提供一个截图吗?另外如果关闭 “Embed preedit text in 
application window” 选项,会怎
么样?

参考 http://code.google.com/p/ibus-sogoupycc/issues/detail?id=28 的图片。

Original comment by arcpp.zju@gmail.com on 15 Apr 2010 at 10:42

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
关闭选项:

Original comment by wendao...@gmail.com on 15 Apr 2010 at 11:04

Attachments:

GoogleCodeExporter commented 9 years ago
sunpinyin正常。

Original comment by wendao...@gmail.com on 15 Apr 2010 at 11:05

GoogleCodeExporter commented 9 years ago
如果输入一些内容之后,按下 Tab,会有反应吗?

Original comment by arcpp.zju@gmail.com on 15 Apr 2010 at 11:15

GoogleCodeExporter commented 9 years ago
会:
如图:

Original comment by wendao...@gmail.com on 15 Apr 2010 at 11:18

Attachments:

GoogleCodeExporter commented 9 years ago
自己编译安装和安装deb包一样。

Original comment by wendao...@gmail.com on 15 Apr 2010 at 11:24

GoogleCodeExporter commented 9 years ago
关闭输入法,然后从终端运行下列命令:

pkill ibus-sogoupycc; /usr/share/ibus-sogoupycc/engine/ibus-sogoupycc

然后再切换到输入法,输入一些拼音。

会不会有任何的 Gtk/Glib/Ibus Warning 出现? 

如果有的话,使用 

pkill ibus-sogoupycc; /usr/share/ibus-sogoupycc/engine/ibus-sogoupycc -d

运行输入法,然后把包含 Gtk/Glib/ibus Warning 
的几行以及附近的程序输出贴上来看看?

Original comment by arcpp.zju@gmail.com on 15 Apr 2010 at 11:31

GoogleCodeExporter commented 9 years ago
ibus 1.3.0 是不能用 Download 页提供的 deb 包的。

如果是自行编译的,检查一下 ibus-dev 
之类的包版本是不是正确,亦即
/usr/include/ibus-1.0/ibusversion.h 是否写有正确的版本。

Original comment by arcpp.zju@gmail.com on 15 Apr 2010 at 11:34

GoogleCodeExporter commented 9 years ago
kde:/home/net/110/hai# pkill ibus-sogoupycc;
/usr/share/ibus-sogoupycc/engine/ibus-sogoupycc -d
[DEBUG] (1271331157.507) L130 (thread 0xb686f730): [LUABIND] Init
[DEBUG] (1271331157.508) L429 (thread 0xb686f730): [LUABIND] setValue(string):
ime.VERSION = '0.2.5'
[DEBUG] (1271331157.508) L429 (thread 0xb686f730): [LUABIND] setValue(string):
ime.PKGDATADIR = '/usr/share/ibus-sogoupycc'
[DEBUG] (1271331157.508) L429 (thread 0xb686f730): [LUABIND] setValue(string):
ime.USERCONFIGDIR = '/root/.config/ibus/sogoupycc'
[DEBUG] (1271331157.508) L429 (thread 0xb686f730): [LUABIND] setValue(string):
ime.USERCACHEDIR = '/root/.cache/ibus/sogoupycc'
[DEBUG] (1271331157.508) L429 (thread 0xb686f730): [LUABIND] setValue(string):
ime.USERDATADIR = '/root/.local/share/ibus/sogoupycc'
[DEBUG] (1271331157.508) L429 (thread 0xb686f730): [LUABIND] setValue(string):
ime.DIRSEPARATOR = '/'
[DEBUG] (1271331157.508) L190 (thread 0xb686f730): [LUABIND] doString(key={}
request_cache={})
[DEBUG] (1271331157.508) L415 (thread 0xb686f730): [LUABIND] setValue(int):
key.CONTROL_MASK = 4
[DEBUG] (1271331157.508) L415 (thread 0xb686f730): [LUABIND] setValue(int):
key.SHIFT_MASK = 1
[DEBUG] (1271331157.508) L415 (thread 0xb686f730): [LUABIND] setValue(int):
key.LOCK_MASK = 2
[DEBUG] (1271331157.508) L415 (thread 0xb686f730): [LUABIND] setValue(int):
key.MOD1_MASK = 8
[DEBUG] (1271331157.508) L415 (thread 0xb686f730): [LUABIND] setValue(int):
key.MOD4_MASK = 64
[DEBUG] (1271331157.508) L415 (thread 0xb686f730): [LUABIND] setValue(int):
key.SUPER_MASK = 67108864
[DEBUG] (1271331157.508) L415 (thread 0xb686f730): [LUABIND] setValue(int):
key.META_MASK = 268435456
[DEBUG] (1271331157.508) L415 (thread 0xb686f730): [LUABIND] setValue(int):
key.Shift_L = 65505
[DEBUG] (1271331157.508) L415 (thread 0xb686f730): [LUABIND] setValue(int):
key.Shift_R = 65506
[DEBUG] (1271331157.508) L415 (thread 0xb686f730): [LUABIND] setValue(int):
key.Control_L = 65507
[DEBUG] (1271331157.508) L415 (thread 0xb686f730): [LUABIND] setValue(int):
key.Control_R = 65508
[DEBUG] (1271331157.508) L415 (thread 0xb686f730): [LUABIND] setValue(int): 
key.Alt_L
= 65513
[DEBUG] (1271331157.508) L415 (thread 0xb686f730): [LUABIND] setValue(int): 
key.Alt_R
= 65514
[DEBUG] (1271331157.508) L415 (thread 0xb686f730): [LUABIND] setValue(int): 
key.Tab =
65289
[DEBUG] (1271331157.508) L415 (thread 0xb686f730): [LUABIND] setValue(int): 
key.space
= 32
[DEBUG] (1271331157.508) L415 (thread 0xb686f730): [LUABIND] setValue(int):
key.Return = 65293
[DEBUG] (1271331157.508) L415 (thread 0xb686f730): [LUABIND] setValue(int):
key.BackSpace = 65288
[DEBUG] (1271331157.508) L415 (thread 0xb686f730): [LUABIND] setValue(int):
key.Escape = 65307
[DEBUG] (1271331157.508) L415 (thread 0xb686f730): [LUABIND] setValue(int):
key.Delete = 65535
[DEBUG] (1271331157.508) L415 (thread 0xb686f730): [LUABIND] setValue(int):
key.Page_Down = 65366
[DEBUG] (1271331157.508) L415 (thread 0xb686f730): [LUABIND] setValue(int):
key.Page_Up = 65365
[DEBUG] (1271331157.508) L415 (thread 0xb686f730): [LUABIND] setValue(int): 
key.None
= 16777215
[DEBUG] (1271331157.508) L415 (thread 0xb686f730): [LUABIND] setValue(int):
ime.COLOR_NOCHANGE = -1
[DEBUG] (1271331157.508) L292 (thread 0xb686f730): [LUABIND] addFunction: 
set_debug_level
[DEBUG] (1271331157.508) L292 (thread 0xb686f730): [LUABIND] addFunction: commit
[DEBUG] (1271331157.508) L292 (thread 0xb686f730): [LUABIND] addFunction: 
request
[DEBUG] (1271331157.508) L292 (thread 0xb686f730): [LUABIND] addFunction:
register_command
[DEBUG] (1271331157.508) L292 (thread 0xb686f730): [LUABIND] addFunction: 
apply_settings
[DEBUG] (1271331157.508) L292 (thread 0xb686f730): [LUABIND] addFunction: notify
[DEBUG] (1271331157.508) L292 (thread 0xb686f730): [LUABIND] addFunction: 
get_selection
[DEBUG] (1271331157.509) L292 (thread 0xb686f730): [LUABIND] addFunction:
set_double_pinyin_scheme
[DEBUG] (1271331157.509) L292 (thread 0xb686f730): [LUABIND] addFunction:
double_to_full_pinyin
[DEBUG] (1271331157.509) L292 (thread 0xb686f730): [LUABIND] addFunction:
is_valid_double_pinyin
[DEBUG] (1271331157.509) L292 (thread 0xb686f730): [LUABIND] addFunction: 
load_database
[DEBUG] (1271331157.509) L292 (thread 0xb686f730): [LUABIND] addFunction: 
database_count
[DEBUG] (1271331157.509) L292 (thread 0xb686f730): [LUABIND] addFunction: 
chars_to_pinyin
[DEBUG] (1271331157.509) L292 (thread 0xb686f730): [LUABIND] addFunction: 
is_valid_pinyin
[DEBUG] (1271331157.509) L254 (thread 0xb686f730): [CONF] staticInit
**
IBUS:ERROR:ibusfactory.c:96:ibus_factory_new: assertion failed: 
(IBUS_IS_CONNECTION
(connection))
已放弃

Original comment by wendao...@gmail.com on 15 Apr 2010 at 11:34

GoogleCodeExporter commented 9 years ago
/usr/include/ibus-1.0/ibusversion.h文件:
#ifndef __IBUS_VERSION_H_
#define __IBUS_VERSION_H_
/* compile time version
 */
/**
 * IBUS_MAJOR_VERSION:
 *
 * IBus major version.
 */
#define IBUS_MAJOR_VERSION                              (1)

/**
 * IBUS_MINOR_VERSION:
 *
 * IBus minor version.
 */
#define IBUS_MINOR_VERSION                              (3)

/**
 * IBUS_MICRO_VERSION:
 *
 * IBus micro version.
 */
#define IBUS_MICRO_VERSION                              (1)

/**
 * IBUS_CHECK_VERSION:
 * @major: Major version of ibus.
 * @minor: Minor version of ibus.
 * @micro: Micro version of ibus.
 *
 * Check whether the current IBus version is equal to or greater than
 * given major.minor.micro.
 */
#define IBUS_CHECK_VERSION(major,minor,micro)   \
    (IBUS_MAJOR_VERSION > (major) || \
     (IBUS_MAJOR_VERSION == (major) && IBUS_MINOR_VERSION > (minor)) || \
     (IBUS_MAJOR_VERSION == (major) && IBUS_MINOR_VERSION == (minor) && \
      IBUS_MICRO_VERSION >= (micro)))

#endif

                       70,0-1       底端

Original comment by wendao...@gmail.com on 15 Apr 2010 at 11:37

GoogleCodeExporter commented 9 years ago
出现 ibusfactory.c:96:ibus_factory_new: assertion failed: (IBUS_IS_CONNECTION
(connection)) 的原因是 ibus 垮掉了,或者是重复运行了 
ibus-sogoupycc,不是这个 Issue
的问题…… 如果系统中没有 pkill 
的话,上面的命令会失败,请使用各种方法 kill 掉
ibus-sogoupycc 并保证 ibus 在运行(可以简单地从 ibus 
属性中删除掉本输入法并重启ibus),
然后再从命令行运行查看输出。

Original comment by arcpp.zju@gmail.com on 15 Apr 2010 at 11:40

GoogleCodeExporter commented 9 years ago
ibus-daemon:21012): IBUS-CRITICAL **: ibus_engine_desc_deserialize: assertion
`retval' failed

(ibus-daemon:21012): IBUS-CRITICAL **: file ibusserializable.c: line 573
(ibus_serializable_deserialize): should not be reached

(ibus-daemon:21012): IBUS-CRITICAL **: ibus_component_deserialize: assertion 
`retval'
failed

(ibus-daemon:21012): IBUS-CRITICAL **: file ibusserializable.c: line 573
(ibus_serializable_deserialize): should not be reached

(ibus-sogoupycc:21038): IBUS-WARNING **: org.freedesktop.DBus.Error.InvalidArgs 
: 1st
Argument must be IBusComponent: The argument 0 is not IBusComponent

Original comment by wendao...@gmail.com on 15 Apr 2010 at 11:45

GoogleCodeExporter commented 9 years ago
看不出来是程序运行到哪里出了问题,由于加了 -d 
输出可能很长,可以用 

ibus-sogoupycc -d 2>&1 | grep  'IBUS-' -A 8 -B 8

仅输出相关的上下文。

Original comment by arcpp.zju@gmail.com on 15 Apr 2010 at 11:49

GoogleCodeExporter commented 9 years ago
(ibus-sogoupycc:21555): IBUS-WARNING **: org.freedesktop.DBus.Error.Failed : 
Name
org.freedesktop.IBus.sgpycc has owner

(ibus-sogoupycc:21555): IBUS-WARNING **: org.freedesktop.DBus.Error.InvalidArgs 
: 1st
Argument must be IBusComponent: The argument 0 is not IBusComponent
这是加-d的

Original comment by wendao...@gmail.com on 15 Apr 2010 at 11:57

GoogleCodeExporter commented 9 years ago
上面的 WARNING 
是刚运行程序输出的吧。要先把正在运行的ibus-sogoupycc 
kill掉再运行,运
行后使用输入法输入一段拼音(虽然看不见),观察终端输出。

Original comment by arcpp.zju@gmail.com on 15 Apr 2010 at 12:06

GoogleCodeExporter commented 9 years ago
process 22871: arguments to dbus_connection_send() were incorrect, assertion
"connection != NULL" failed in file dbus-connection.c line 3146.

Original comment by wendao...@gmail.com on 15 Apr 2010 at 12:36

GoogleCodeExporter commented 9 years ago
这些错误都没有什么帮助的样子。

*如果有其他 debian sid 用户看到这里,请留言说明这个 Issue 
是否能重现,谢谢合作*

Original comment by arcpp.zju@gmail.com on 15 Apr 2010 at 12:43

GoogleCodeExporter commented 9 years ago
我的也是这个样子,输入时没有任何拼音或者候选词框,按��
�格可以上词,按Tab可以出候选
词条
UBUNTU10.04  Ibus1.3

输入时没有任何提示,有时还假死

Original comment by yuzh...@gmail.com on 26 Apr 2010 at 12:05

Attachments:

GoogleCodeExporter commented 9 years ago
ubuntu 10.04 的 ibus 1.3 是从哪里装的?我记得自带的是 1.2

Original comment by arcpp.zju@gmail.com on 26 Apr 2010 at 5:14

GoogleCodeExporter commented 9 years ago
ibus好像是从官方下载安装的,今天回滚到1.2,搜狗云表现堪称
完美。

Original comment by yuzh...@gmail.com on 27 Apr 2010 at 2:44

GoogleCodeExporter commented 9 years ago
@yuzh496 下载页的版本不能和 ibus 1.3 一起用的,如果要和 ibus 
1.3 一起用,目前需要从源
代码编译。这一点在 wiki 页中强调过。

Original comment by arcpp.zju@gmail.com on 27 Apr 2010 at 5:29

GoogleCodeExporter commented 9 years ago
ibus 1.3,自行编译后:
偶尔输入法在输入时自行关闭
从来不出现选词提示

Original comment by gianluca...@gmail.com on 8 May 2010 at 6:34