Re: Re: [obs submit-request 124320] M17N/ibus-anthy: accepted by hillwood

Fuminobu TAKEYAMA <[email protected]>
Newsgroups gmane.linux.suse.m17n
Message-ID <[email protected]>
Hi,

I installed 12.2 b2 cleanly on VirtualBox but ibus-anthy-1.3.99 does not 
work at all.


These bug reports are related:
[1] https://bugzilla.redhat.com/show_bug.cgi?id=802196
[2] http://comments.gmane.org/gmane.org.user-groups.freebsd.japan/6147

In [1], a IBus and Fedora maintainer said this version requires ibus-1.4.99.

geeko@linux-owro:~> ibus-daemon -v
/usr/lib/python2.7/site-packages/gi/overrides/Gtk.py:47: RuntimeWarning: 
You have imported the Gtk 2.0 module.  Because Gtk 2.0 was not designed 
for use with introspection some of the interfaces and API will fail.  As 
such this is not supported by the pygobject development team and we 
encourage you to port your app to Gtk 3 or greater. PyGTK is the 
recomended python module to use with Gtk 2.0
   warnings.warn(warn_msg, RuntimeWarning)

** (process:3792): WARNING **: Trying to register gtype 
'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** (process:3792): WARNING **: Trying to register gtype 
'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** (process:3792): WARNING **: Trying to register gtype 
'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
Traceback (most recent call last):
   File "/usr/share/ibus-anthy/engine/main.py", line 33, in <module>
     import factory
   File "/usr/share/ibus-anthy/engine/factory.py", line 29, in <module>
     import engine
   File "/usr/share/ibus-anthy/engine/engine.py", line 52, in <module>
     import jastring
   File "/usr/share/ibus-anthy/engine/jastring.py", line 26, in <module>
     import thumb
   File "/usr/share/ibus-anthy/engine/thumb.py", line 34, in <module>
     get_default_root_window = Gdk.get_default_root_window
   File "/usr/lib/python2.7/site-packages/gi/module.py", line 243, in 
__getattr__
     return getattr(self._introspection_module, name)
   File "/usr/lib/python2.7/site-packages/gi/module.py", line 105, in 
__getattr__
     self.__name__, name))
AttributeError: 'gi.repository.Gdk' object has no attribute 
'get_default_root_window'

ospection some of the interfaces and API will fail.  As such this is not 
supported by the pygobject development team and we encourage you to port 
your app to Gtk 3 or greater. PyGTK is the recomended python module to 
use with Gtk 2.0
   warnings.warn(warn_msg, RuntimeWarning)
Traceback (most recent call last):
   File "/usr/share/ibus-anthy/engine/main.py", line 33, in <module>
     import factory
   File "/usr/share/ibus-anthy/engine/factory.py", line 29, in <module>
     import engine
   File "/usr/share/ibus-anthy/engine/engine.py", line 52, in <module>
     import jastring
   File "/usr/share/ibus-anthy/engine/jastring.py", line 26, in <module>
     import thumb
   File "/usr/share/ibus-anthy/engine/thumb.py", line 34, in <module> 
 

     get_default_root_window = Gdk.get_default_root_window 
 

   File "/usr/lib/python2.7/site-packages/gi/module.py", line 243, in 
__getattr__ 

     return getattr(self._introspection_module, name) 
 

   File "/usr/lib/python2.7/site-packages/gi/module.py", line 105, in 
__getattr__ 

     self.__name__, name)) 
 

AttributeError: 'gi.repository.Gdk' object has no attribute 
'get_default_root_window' 

Traceback (most recent call last): 
 

   File "/usr/share/ibus/ui/gtk/panel.py", line 495, in 
__im_menu_item_activate_cb 

     self.__focus_ic.set_engine(engine) 
 

   File "/usr/lib/python2.7/site-packages/ibus/inputcontext.py", line 
286, in set_engine 

     return self.__context.SetEngine(engine.name) 
 

   File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145, in 
__call__ 

     **keywords) 
 

   File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, 
in call_blocking 

     message, timeout) 
 

dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Failed: 
Timeout was reached



Fuminobu TAKEYAMA
http://twitter.com/ftake


(2012/06/27 23:15), Takashi Iwai wrote:
> At Tue, 26 Jun 2012 15:31:14 +0200,
> Takashi Iwai wrote:
>>
>> At Tue, 26 Jun 2012 21:23:23 +0800,
>> 逍遥游 wrote:
>>>
>>> I have not tested ibus-anthy in openSUSE 12.1, but I have tested it in
>>> openSUSE 12.2 beta 2 and it works OK. I think we can keep it for openSUSE
>>> 12.2. Please do not update it if using openSUSE 12.1 !
>>
>> Well, the fact that it doesn't work for openSUSE 12.1 M17N repo
>> implies that something is really fishy in ibus-anthy code.
>
> BTW, now I see the same problem on a machine with 12.2b2, too.
> The likely difference is that I upgraded from 12.1.  So, my rough
> guess is that it's a migration problem from the older ibus-anthy to
> the newer version.
>
>
> Takashi
>

-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.