[Bug 1611523] Re: ibus-setup fails with local python3

2019-01-18 Thread Yusuke Doi
I'd like to add big +1 to the proposed solution. As ibus is tool provided by the system, it SHOULD use the system python3 or anything wrong can happen. It's likely to have user's own python3 interpreter if you're seriously working on machine learning field (e.g. pyenv and virtualenv), and I

[Bug 1611523] Re: ibus-setup fails with local python3

2018-10-17 Thread Kal Sze
I agree that the full path to the system python3 should be specified. I use pyenv to install multiple local versions of python2 and python3. And this was breaking silently for me (couldn't open the preferences gui from the ibus menu). -- You received this bug notification because you are a

[Bug 1611523] Re: ibus-setup fails with local python3

2016-08-10 Thread Ronald L. Sprouse
Also, note that a user is likely to encounter this issue by clicking on IBus Preferences in the Settings Manager, which silently fails. There is no obvious indication that the failure has anything to do with Python at all, much less a specific dependency missing in the local Python. With the

[Bug 1611523] Re: ibus-setup fails with local python3

2016-08-10 Thread Ronald L. Sprouse
I disagree that this solution is definitely not the way to go. Other distros put it in their policy. See, for example, Debian's Python policy section 2.4.2 (https://www.debian.org/doc/packaging-manuals/python- policy/ch-python.html#s-interpreter_loc): "The preferred specification for the Python 3

Re: [Bug 1611523] Re: ibus-setup fails with local python3

2016-08-10 Thread Ryan Lovett
$ cd /usr/bin $ grep 'exec python' * 2>/dev/null ibus-setup:exec python3 /usr/share/ibus/setup/main.py $@ $ grep 'exec python' * 2>/dev/null | wc -l 1 $ grep 'exec /usr/bin' * 2>/dev/null | wc -l 70 Ryan On Tue, Aug 9, 2016 at 11:16 PM, Ryan Lovett wrote: > Things tend

Re: [Bug 1611523] Re: ibus-setup fails with local python3

2016-08-10 Thread Ryan Lovett
Things tend to not break because they explicitly use the full system path. This is breaking because it is not. Ryan On Tue, Aug 9, 2016 at 11:00 PM, Aron Xu <1611...@bugs.launchpad.net> wrote: > That would mean everything in the distro should run system python3 > explicitly, or different things

[Bug 1611523] Re: ibus-setup fails with local python3

2016-08-10 Thread Aron Xu
That would mean everything in the distro should run system python3 explicitly, or different things are tend to break from time to time, which is definitely not the way to go. You would need to install the missing python3 modules to make it work, in this specific case that would be Gobject