Control: tags -1 + moreinfo Am 20.04.2018 um 22:01 schrieb Helmut Grohne: > Package: python3-slip-dbus > Version: 0.6.5-2 > Severity: serious > User: helm...@debian.org > Usertags: python-import > > After installing python3-slip-dbus importing the module slip.dbus > into a python interpreter fails with the following error: > > Traceback (most recent call last): > File "/usr/lib/python3/dist-packages/slip/_wrappers/_glib.py", line 46, in > <module>
Hm, but this file is shipped by python3-slip, not python3-slip-dbus. > import glib > ModuleNotFoundError: No module named 'glib' > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "<string>", line 1, in <module> > File "/usr/lib/python3/dist-packages/slip/dbus/__init__.py", line 8, in > <module> > from . import service > File "/usr/lib/python3/dist-packages/slip/dbus/service.py", line 32, in > <module> > from .._wrappers import _glib as GLib > File "/usr/lib/python3/dist-packages/slip/_wrappers/_glib.py", line 48, in > <module> > import gi.repository.GLib > ModuleNotFoundError: No module named 'gi' > Afaiu, the idea behind this wrapper is, that it's up to the actual application to decide which implementation it wants, i.e. glib (python-gobject-2) or the gi based Glib (python3-gi + gir1.2-glib-2.0) , and the application should declare the proper dependency. If I add a dependency to python3-slip-dbus (assuming that would be the correct package and not python3-slip), I wouldn't know if I should add python-gobject-2 or python3-gi, gir1.2-glib-2.0 Both feels wrong somehow. -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature