Bug#843725: accerciser: Missing dependency to gir1.2-rsvg-2.0
Michael Weghorn
m.weghorn at posteo.de
Wed Nov 9 07:03:16 UTC 2016
Package: accerciser
Version: 3.22.0-1
Severity: normal
Dear Maintainer,
when gir1.2-rsvg-2.0 is not installed and I try to start accerciser,
it crashes on start.
Console output:
~~~
$ accerciser
/usr/bin/accerciser:48: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk as gtk
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/accerciser", line 74, in <module>
accerciser.main()
File "/usr/lib/python3/dist-packages/accerciser/__init__.py", line 34, in main
from .accerciser import Main
File "/usr/lib/python3/dist-packages/accerciser/accerciser.py", line 27, in <module>
from .accessible_treeview import *
File "/usr/lib/python3/dist-packages/accerciser/accessible_treeview.py", line 26, in <module>
from .node import Node
File "/usr/lib/python3/dist-packages/accerciser/node.py", line 21, in <module>
from gi.repository import Rsvg as rsvg
File "/usr/lib/python3/dist-packages/gi/importer.py", line 127, in find_module
'introspection typelib not found' % namespace)
ImportError: cannot import name Rsvg, introspection typelib not found
~~~
It works after manually installing the package "gir1.2-rsvg-2.0", so I
think this should be declared as a dependency in the control file.
Regards,
Michael
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.8.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages accerciser depends on:
ii dconf-gsettings-backend [gsettings-backend] 0.26.0-2
ii gir1.2-atk-1.0 2.22.0-1
ii gir1.2-gdkpixbuf-2.0 2.36.0-1
ii gir1.2-gtk-3.0 3.22.3-1
ii gir1.2-pango-1.0 1.40.3-3
ii gir1.2-wnck-3.0 3.20.1-2
ii ipython3 5.1.0-2
ii python3-cairo 1.10.0+dfsg-5+b1
ii python3-pyatspi 2.20.2+dfsg-2
pn python3:any <none>
accerciser recommends no packages.
accerciser suggests no packages.
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list