Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#818068: ImportError: cannot import name Gtk, introspection typelib not found

206 views
Skip to first unread message

Martin Furter

unread,
Mar 13, 2016, 6:00:03 AM3/13/16
to
Package: lios
Version: 2.1-1
Severity: normal

Dear Maintainer,

starting lios leads to the following output in the terminal:
------------------------------------
~$ lios
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 890, 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 "/usr/bin/lios", line 3, in <module>
from lios.main import *
File "/usr/lib/python3/dist-packages/lios/main.py", line 26, in <module>
from lios import scanner, editor, cam, ocr, preferences, speech
File "/usr/lib/python3/dist-packages/lios/editor.py", line 20, in <module>
from lios.ui.gtk import text_view, widget, dialog, file_chooser,
containers, window
File "/usr/lib/python3/dist-packages/lios/ui/gtk/text_view.py", line 21, in
<module>
from gi.repository import Gtk
File "/usr/lib/python3/dist-packages/gi/importer.py", line 100, in
find_module
'introspection typelib not found' % namespace)
ImportError: cannot import name Gtk, introspection typelib not found
------------------------------------

I tried to update python3, python-gtk2, python3-enchant, python3-sane,
python3-speechd and tesseract-ocr but I already had the latest version. Maybe
an other package is missing?

Thank you and greets.
- Martin



-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lios depends on:
ii aspell-en 7.1-0-1.1
ii espeak 1.48.04+dfsg-2
ii imagemagick 8:6.8.9.9-7
ii poppler-utils 0.38.0-2
ii python3-enchant 1.6.6-2
ii python3-sane 2.8.2-1+b2
ii python3-speechd 0.8-7
pn python3:any <none>
ii tesseract-ocr 3.04.01-4

lios recommends no packages.

Versions of packages lios suggests:
ii cuneiform 1.1.0+dfsg-5+b2

-- no debconf information

Samuel Thibault

unread,
Mar 13, 2016, 6:00:03 PM3/13/16
to
Control: tags -1 + pending

Hello,

Martin Furter, on Sun 13 Mar 2016 10:47:08 +0100, wrote:
> ImportError: cannot import name Gtk, introspection typelib not found

Ah, the package is missing the python3-gi, gir1.2-gtk-3.0,
gir1.2-gst-plugins-base-1.0 dependencies, indeed.

Thanks for the report,
Samuel
0 new messages