Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法启用 #24

Open
GoogleCodeExporter opened this issue Apr 29, 2015 · 2 comments
Open

无法启用 #24

GoogleCodeExporter opened this issue Apr 29, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

ERROR:dbus.connection:Unable to set arguments (dbus.Struct(('IBusComponent', 
dbus.Dictionary({}, signature=dbus.Signature('sv')), 
dbus.String(u'org.freedesktop.IBus.GooglePinyin'), dbus.String(u'GooglePinyin 
Component'), dbus.String(u'0.1.1'), dbus.String(u'GPL'), dbus.String(u'Jiahua 
Huang <[email protected]>'), dbus.String(u''), dbus.String(u''), 
dbus.String(u''), dbus.Array([], signature=dbus.Signature('v')), 
dbus.Array([dbus.Struct(('IBusEngineDesc', dbus.Dictionary({}, 
signature=dbus.Signature('sv')), dbus.String(u'googlepinyin'), 
dbus.String(u'googlepinyin'), dbus.String(u'GooglePinyin'), 
dbus.String(u'zh_CN'), dbus.String(u'GPL'), dbus.String(u'Jiahu Huang 
<[email protected]>'), dbus.String(u''), dbus.String(u'en'), 
dbus.UInt32(0L), dbus.String(u''), dbus.Array([], signature=None)), 
signature=None)], signature=dbus.Signature('v')), dbus.Array([], 
signature=None)), signature=None),) according to signature u'v': <type 
'exceptions.ValueError'>: Unable to guess signature from an empty list
Traceback (most recent call last):
  File "/usr/share/ibus-googlepinyin/main.py", line 97, in <module>
    main()
  File "/usr/share/ibus-googlepinyin/main.py", line 94, in main
    launch_engine(exec_by_ibus)
  File "/usr/share/ibus-googlepinyin/main.py", line 61, in launch_engine
    IMApp(exec_by_ibus).run()
  File "/usr/share/ibus-googlepinyin/main.py", line 51, in __init__
    self.__bus.register_component(self.__component)
  File "/usr/lib/python2.7/dist-packages/ibus/bus.py", line 132, in register_component
    return self.__ibus.RegisterComponent(component)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 143, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 620, in call_blocking
    message.append(signature=signature, *args)
ValueError: Unable to guess signature from an empty list
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/share/ibus-googlepinyin/engine.py", line 54, in <lambda>
    atexit.register(lambda *args: im_flush_cache())
  File "/usr/share/ibus-googlepinyin/googlepinyin.py", line 88, in im_flush_cache
    return ime_pinyin.im_flush_cache()
  File "/usr/lib/python2.7/ctypes/__init__.py", line 366, in __getattr__
    func = self.__getitem__(name)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 371, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/bin/python: undefined symbol: im_flush_cache
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/share/ibus-googlepinyin/engine.py", line 54, in <lambda>
    atexit.register(lambda *args: im_flush_cache())
  File "/usr/share/ibus-googlepinyin/googlepinyin.py", line 88, in im_flush_cache
    return ime_pinyin.im_flush_cache()
  File "/usr/lib/python2.7/ctypes/__init__.py", line 366, in __getattr__
    func = self.__getitem__(name)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 371, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/bin/python: undefined symbol: im_flush_cache


请问如何解决?

Original issue reported on code.google.com by [email protected] on 21 Oct 2011 at 10:09

@GoogleCodeExporter
Copy link
Author

我也是这种情况 无法启用

Original comment by [email protected] on 26 Apr 2012 at 9:24

@GoogleCodeExporter
Copy link
Author

不光要安装ibus-googlepinyin,还要安装libgooglepinyin

Original comment by [email protected] on 16 Mar 2013 at 5:24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant