Taking a look in error, I used apt-file to search about gst-1.5.typelib, as
described in this page[1], and found it in gir1.2-gstreamer-1.0 package.

So, was to install this package and Lios works again. IMHO, isn't a good
idea to add this package as dependency of Lios?

[1]
https://stackoverflow.com/questions/36296165/python-bindings-for-gstreamer-how-to-import-typelib?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa

Thank you by your time.

Regards,
Claudio Ferreira


2018-04-14 8:35 GMT-03:00 Claudio Ferreira Filho <filh...@gmail.com>:

> Package: lios
> Version: 2.7-1
> Severity: grave
> Tags: a11y
> Justification: renders package unusable
>
> Dear Maintainer,
>
> I installed lios again and when I tried to use, returned this error:
>
> $ lios
> /usr/lib/python3/dist-packages/lios/ui/gtk/text_view.py:21: PyGIWarning:
> Gtk
> was imported without specifying a version first. Use
> gi.require_version('Gtk',
> '3.0') before import to e
> nsure that the right version gets loaded.
>  from gi.repository import Gtk
> /usr/lib/python3/dist-packages/lios/ui/gtk/print_dialog.py:23:
> PyGIWarning:
> PangoCairo was imported without specifying a version first. Use
> gi.require_version('PangoCairo', '1.0') b
> efore import to ensure that the right version gets loaded.
>  from gi.repository import PangoCairo
> Traceback (most recent call last):
>  File "/usr/lib/python3/dist-packages/gi/importer.py", line 138, in
> load_module
>    introspection_module = get_introspection_module(namespace)
>  File "/usr/lib/python3/dist-packages/gi/module.py", line 274, in
> get_introspection_module
>    module = IntrospectionModule(namespace, version)
>  File "/usr/lib/python3/dist-packages/gi/module.py", line 120, in __init__
>    repository.require(namespace, version)
> gi.RepositoryError: Typelib file for namespace 'GstBase', version '1.0' not
> found
>
> 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 27, in <module>
>    from lios import scanner, editor, imageview, cam, ocr, preferences,
> speech,
> train_tesseract
>  File "/usr/lib/python3/dist-packages/lios/cam.py", line 19, in <module>
>    from gi.repository import GdkX11, GstVideo
>  File "/usr/lib/python3/dist-packages/gi/importer.py", line 140, in
> load_module
>    raise ImportError(e)
> ImportError: Typelib file for namespace 'GstBase', version '1.0' not found
>
>
>
> -- System Information:
> Debian Release: buster/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 4.15.0-2-amd64 (SMP w/4 CPU cores)
> Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8),
> LANGUAGE=pt_BR (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
>
> Versions of packages lios depends on:
> ii  aspell-en                        2017.08.24-0-0.1
> ii  espeak                           1.48.04+dfsg-5+b1
> ii  gir1.2-gst-plugins-base-1.0      1.14.0-dmo1
> ii  gir1.2-gtk-3.0                   3.22.29-3
> ii  gir1.2-vte-2.91                  0.52.1-1
> ii  imagemagick                      8:6.9.9.39+dfsg-1
> ii  imagemagick-6.q16 [imagemagick]  8:6.9.9.39+dfsg-1
> ii  poppler-utils                    0.62.0-2
> ii  python3                          3.6.5-3
> ii  python3-enchant                  2.0.0-1
> ii  python3-gi                       3.28.1-1
> ii  python3-sane                     2.8.3-1+b1
> ii  python3-speechd                  0.8.8-1
> ii  tesseract-ocr                    4.00~git2288-10f4998a-2
>
> lios recommends no packages.
>
> Versions of packages lios suggests:
> pn  cuneiform  <none>
>
> -- no debconf information
>

Reply via email to