Package: smart-notifier
Version: 0.28-6
Severity: important

Dear Maintainer,

smart-notifier does not depend on python3-gi.
When running smart-notifier, it fails:

$ smart-notifier
Traceback (most recent call last):
  File "/usr/bin/smart-notifier", line 13, in <module>
    import smart_notifier.gui
  File "/usr/share/smart-notifier/smart_notifier/gui.py", line 23, in <module>
    from gi.repository import Gtk
ModuleNotFoundError: No module named 'gi'


After installing python3-gi, smart-notifier runs fine and is able to show
notifications.

So I think smart-notifier should depend on python3-gi as it seems to be required
for proper GUI operation.
The failing import is made here:
https://sources.debian.org/src/smart-notifier/0.28-6/src/smart_notifier/gui.py/#L23

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (950, 'unstable'), (500, 'unstable-debug'), (500, 'testing'), 
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.9.0-1-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages smart-notifier depends on:
ii  dbus            1.12.20-1
ii  gir1.2-gtk-3.0  3.24.24-3
ii  python3         3.9.2-2
ii  python3-dbus    1.2.16-4
ii  smartmontools   7.2-1

smart-notifier recommends no packages.

smart-notifier suggests no packages.

-- no debconf information

Reply via email to