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> 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' The vast majority of import failures is attributed to missing dependencies. Often times that manifests as an ImportError or ModuleNotFoundError. Typically, dependencies should be inserted by dh-python via ${python:Depends} or ${python3:Depends}. Thus a missing dependency can be caused by incomplete install_requires in setup.py. Sometimes a missing dependency of a dependency is the cause, in such cases this bug should be reassigned. Helmut