Bug#860468: system-config-printer needs libnotify4

Emilio Pozuelo Monfort pochu at debian.org
Mon Apr 17 14:25:28 UTC 2017


Control: severity -1 grave
Control: reassign -1 gir1.2-notify-0.7
Control: found -1 0.7.7-1
Control: retitle -1 gir1.2-notify-0.7: missing dependency on ${gir:Depends}
Control: tags -1 pending

On 17/04/17 14:02, Stephen Thomas wrote:
> 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.

Thanks for your report. This is actually a bug in gir1.2-notify-0.7, which is
the package that needs to depend on libnotify4. Thus reassigning.

Looks like ${gir:Depends} is in Depends:, but we're missing the gir dh addon.
I'll fix this.

Cheers,
Emilio



More information about the pkg-gnome-maintainers mailing list