Comment #9 on issue 1166 by [email protected]: ibus-anthy is broken? the
system freezes for a few seconds
http://code.google.com/p/ibus/issues/detail?id=1166
@[email protected]
Thanks for you input, your fix works and the Arch eric(4) package is still
operational and now no longer interferes with Ibus. IBus-Anthy is now
working as expected.
I took a look at "/usr/lib/python2.7/site.py" because I couldn't understand
why a "\n" vs ";" would make a difference.
The arguments to addpackage() are:
sitedir="/usr/lib/python2.7/site-packages"
name="eric4.pth"
known_paths=set(['/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/site-packages/PIL',
'/usr/lib/python2.7/site-packages/gtk-2.0', '/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-dynload', '/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode',
'/usr/lib/python2.7/site-packages', '/usr/lib/python2.7',
'/usr/lib/python2.7/site-packages/gst-0.10', '/home/lhumen'])
Any lines with "import" statements are executed, and lines starting with "#
(comments" are ignored, and all other lines are expected to be paths.
i.e. dir,dircase both
become "/usr/lib/python2.7/site-packages/sys.setappdefaultencoding =
sys.setdefaultencoding"
Also try in the python2.7 console
import sys
sys.setappdefaultencoding = sys.setdefaultencoding
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'setdefaultencoding'
Since the second line ("sys.setappdefaultencoding =
sys.setdefaultencoding") in the new eric4.pth file is neither a path nor
correct python syntax, I think it should be deleted from eric4.pth.
What do you think? Should I reopen the Arch eric(4) bug report?
@takao.fujiwara1:
Yes the "sys.setappdefaultencoding = sys.setdefaultencoding" line is called
by site.py, part of the Arch Linux python package, from
executing "/usr/lib/python2.7/site-packages/eric4.pth", part of the Arch
Linux eric(4) package.
Therefore the problem is not ibus specific, and probably could not be
avoided by ibus-anthy, as could any other similar problems?
--
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