[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#907196: gi.repository.IBus fails to Import



Package: gir1.2-ibus-1.0
Version: 1.5.18-1
Severity: serious

In a fresh sid amd64 chroot, I did:

# dpkg --add-architecture i386
# apt-get update
# apt-get install gir1.2-ibus-1.0:i386 python3-gi

I then tried to use ibus:

$ python3
Python 3.6.6+ (default, Aug 20 2018, 16:21:04)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gi.repository.IBus
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 888, in _find_spec
AttributeError: 'DynamicImporter' object has no attribute 'find_spec'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/gi/importer.py", line 127, in find_module
    'introspection typelib not found' % namespace)
ImportError: cannot import name IBus, introspection typelib not found
>>>
$

This is not how it is supposed to work. I guess some kind of dependency
is missing here.

Helmut


Reply to: