Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 1574 by [email protected]: TypeError: in
method 'anthy_context__set_encoding', argument 1 of type 'struct
anthy_context *'
http://code.google.com/p/ibus/issues/detail?id=1574
What version of the product are you using? On what operating system?
OS (Linux distributions, UNIX or ...): Ubuntu 12.04 LTS
Architecture (i386, x86_64): x86_64
IBus version: 1.4.1
Input method name and version: anthy 9100h
Python version:2.7.3
dbus version:1.4.18
dbus-python version: 1.0.0
gtk version (if bug is about gtk applications): 3.4.2 (?)
qt version (if bug is about qt applications):N/A
What steps will reproduce the problem?
1. start ibus
2. try to active anthy input method (ctrl+space)
What is the expected output? What do you see instead?
Expected output: change input method to anthy
Actual output:
input method remains deactivated and ibus-deamon produces the following
error:
(ibus-daemon:24851): IBUS-WARNING **: 12:04:34.329736: Set context engine
failed: GDBus.Error:org.freedesktop.DBus.Python.TypeError: Traceback (most
recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 707, in
_message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/lib/python2.7/dist-packages/ibus/factory.py", line 69, in
CreateEngine
engine = self.__factory.create_engine(engine_name)
File "/usr/share/ibus-anthy/engine/factory.py", line 55, in create_engine
return engine.Engine(self.__bus, "%s/%d" % (self.ENGINE_PATH,
self.__id))
File "/usr/share/ibus-anthy/engine/engine.py", line 113, in __init__
self.__context._set_encoding(anthy.ANTHY_UTF8_ENCODING)
File "/usr/lib/python2.7/dist-packages/anthy.py", line 246, in
_set_encoding
def _set_encoding(self, *args): return
_anthy.anthy_context__set_encoding(self, *args)
TypeError: in method 'anthy_context__set_encoding', argument 1 of
type 'struct anthy_context *'
Please provide any additional information below.
The same error has been mentioned in issue 222. The solution was to install
package "anthy" in addition to "libanthy". But on my system both packages
are already installed. Though packages might be missing as I have tried to
reinstall ibus and anthy in order to fix this issue.
--
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