The setup UI (installed at /usr/share/ibus-pinyin/setup/main.py) of ibus-pinyin-1.4.0 depends on pygtk (a python2 module). The current ebuild missed this dependency. In addition, the wrapper script to this setup UI (installed at /usr/libexec/ibus-setup-pinyin) invokes that python file by "python". It probably needs to be fixed to "python2" since pygtk does not (and probably will not) have gtk3 support. Reproducible: Always Steps to Reproduce: 1. Set global python version to 3 2. Install ibus-pinyin 3. start ibus-setup from console, choose pinyin, click setup Actual Results: you get a python error saying module "gtk" is not found Expected Results: you get a setup window ibus-pinyin 1.5.0 seems to be in a more complex situation. I have not looked at what's wrong there but it doesn't work out of box for me either, and the error messages seem to be different. So be careful if you plan to apply the fix to this problem to 1.5.0.
thanks for your reporting, will look this as soon as I get to my computer.. for the python2 problem, we can re-generate the shebang to force it stick to python2, so it works even you set default python to version 3.x for ibus-pinyin-1.5.0, could you open another bug? so we better tracking there
OK, I will open a new one for 1.5.0. Actually I describe the 1.5.0 here only because I want to warn that the 1.4.0 patch should probably not propagate to 1.5.0.
+*ibus-pinyin-1.5.0-r1 (19 Jun 2014) +*ibus-pinyin-1.4.0-r1 (19 Jun 2014) + + 19 Jun 2014; Yixun Lan <dlan@gentoo.org> +ibus-pinyin-1.4.0-r1.ebuild, + +ibus-pinyin-1.5.0-r1.ebuild: + add pygtk dep, fix python shebang, bug 511922. thanks @Yi Yang we should really bump EAPI, and convert to python-r1..