Bug#860468: system-config-printer needs libnotify4

Stephen Thomas flabdablet+debian at fastmail.fm
Mon Apr 17 12:02:56 UTC 2017


Package: system-config-printer
Version: 1.5.7-3
Severity: normal

Dear Maintainer,

After using apt configured to avoid Recommends to install package system-
config-printer package into a Testing installation that did not already have
libnotify4 installed, attempting to launch Print Settings via LXQt's
Preferences menu did nothing. Invoking system-config-printer in a terminal
produced the following output:

/usr/share/system-config-printer/system-config-printer.py:35: PyGIWarning:
GdkPixbuf was imported without specifying a version first. Use
gi.require_version('GdkPixbuf', '2.0') before import to ensure that the right
version gets loaded.
  from gi.repository import GdkPixbuf
/usr/share/system-config-printer/system-config-printer.py:37: PyGIWarning: Gdk
was imported without specifying a version first. Use gi.require_version('Gdk',
'3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gdk

** (system-config-printer.py:4185): WARNING **: Error retrieving accessibility
bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus
was not provided by any .service files
/usr/share/system-config-printer/system-config-printer.py:38: 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
/usr/share/system-config-printer/jobviewer.py:28: PyGIWarning: Notify was
imported without specifying a version first. Use gi.require_version('Notify',
'0.7') before import to ensure that the right version gets loaded.
  from gi.repository import Notify

** (system-config-printer.py:4185): WARNING **: Failed to load shared library
'libnotify.so.4' referenced by the typelib: libnotify.so.4: cannot open shared
object file: No such file or directory
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 78, in
<module>
    import jobviewer
  File "/usr/share/system-config-printer/jobviewer.py", line 71, in <module>
    Notify.init('System Config Printer Notification')
GLib.Error: g-invoke-error-quark: Could not locate notify_init: libnotify.so.4:
cannot open shared object file: No such file or directory (1)

Installing package libnotify4 then made it work as expected.

Near as I can tell, libnotify4 is not currently a Depends for system-config-
printer or any of its own Depends; it probably needs to be.



-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages system-config-printer depends on:
ii  gir1.2-gdkpixbuf-2.0          2.36.5-2
ii  gir1.2-glib-2.0               1.50.0-1+b1
ii  gir1.2-gtk-3.0                3.22.11-1
ii  gir1.2-notify-0.7             0.7.7-1+b1
ii  gir1.2-packagekitglib-1.0     1.1.5-2
ii  gir1.2-pango-1.0              1.40.4-1
ii  python3-cups                  1.9.73-1
ii  python3-cupshelpers           1.5.7-3
ii  python3-dbus                  1.2.4-1+b1
ii  python3-gi                    3.22.0-2
pn  python3:any                   <none>
ii  system-config-printer-common  1.5.7-3

Versions of packages system-config-printer recommends:
pn  cups-pk-helper              <none>
pn  python3-smbc                <none>
ii  system-config-printer-udev  1.5.7-3+b1

Versions of packages system-config-printer suggests:
pn  gnome-software  <none>

-- no debconf information



More information about the pkg-gnome-maintainers mailing list