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 member of Desktop
Packages, which is subscribed to ibus in Ubuntu.
https://bugs.launchpad.net/bugs/1611523

Title:
  ibus-setup fails with local python3

Status in ibus package in Ubuntu:
  Invalid

Bug description:
  If a user has installed a local python3 (e.g. Anaconda) ibus-setup may
  fail to run because of a missing library:

  Traceback (most recent call last):
    File "/usr/share/ibus/setup/main.py", line 31, in <module>
      from gi.repository import GLib
  ImportError: No module named 'gi'

  This error can be avoided if ibus-setup explicitly executes the system
  python3 rather than the first python3 found in $PATH, by changing:

    exec python3 /usr/share/ibus/setup/main.py $@

  to:

    exec /usr/bin/python3 /usr/share/ibus/setup/main.py $@

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: ibus 1.5.11-1ubuntu2
  ProcVersionSignature: Ubuntu 4.4.0-24.43-generic 4.4.10
  Uname: Linux 4.4.0-24-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Tue Aug  9 14:17:20 2016
  InstallationDate: Installed on 2016-06-24 (45 days ago)
  InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Release amd64 
(20160420.3)
  SourcePackage: ibus
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/1611523/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to