Package: ibus
Version: 1.5.19-4

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/", line 31, in <module>
    from gi.repository import GLib
ImportError: No module named 'gi'

The fix for this error is found in the Debian Python policy (,
which requires the Debian Python interpreter to be specified in scripts.
The ibus-setup script should explicitly execute the system python3 rather
than the first python3 found in $PATH, by changing:

  exec python3 /usr/share/ibus/setup/ $@


  exec /usr/bin/python3 /usr/share/ibus/setup/ $@

Reply via email to