Bug#899187: system-config-printer: command system-config-printer fails
Ulyanich Michael
ulianich_mihail at ukr.net
Sun May 20 14:57:40 BST 2018
Package: system-config-printer
Version: 1.5.11-2
Severity: important
Dear Maintainer,
let's just run the command:
$ system-config-printer
(system-config-printer.py:4041): dbind-WARNING **: Error retrieving
accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name
org.a11y.Bus was not provided by any .service files
Traceback (most recent call last):
File "/usr/share/system-config-printer/system-config-printer.py", line 84, in
<module>
import jobviewer
File "/usr/share/system-config-printer/jobviewer.py", line 76, in <module>
NETWORK_PASSWORD = Secret.Schema.new("org.system.config.printer.store",
Secret.SchemaFlags.NONE,
NameError: name 'Secret' is not defined
$
-------
# /usr/share/system-config-printer/jobviewer.py:
# line 56:
try:
gi.require_version('Secret', '1')
from gi.repository import Secret
USE_SECRET=True
except ValueError:
USE_SECRET=False
# line 76:
NETWORK_PASSWORD = Secret.Schema.new("...", ...)
# unconditional use of Secret object causes a NameError
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'oldoldstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.14.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=ru_UA:ru (charmap=ANSI_X3.4-1968)
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.11-1
ii gir1.2-glib-2.0 1.54.1-4
ii gir1.2-gtk-3.0 3.22.28-1
ii gir1.2-notify-0.7 0.7.7-3
ii gir1.2-packagekitglib-1.0 1.1.9-1
ii gir1.2-pango-1.0 1.40.14-1
ii gir1.2-polkit-1.0 0.105-20
ii python3 3.6.4-1
ii python3-cups 1.9.73-2
ii python3-cupshelpers 1.5.11-2
ii python3-dbus 1.2.6-1
ii python3-gi 3.26.1-2
ii system-config-printer-common 1.5.11-2
Versions of packages system-config-printer recommends:
pn system-config-printer-udev <none>
Versions of packages system-config-printer suggests:
pn gnome-software <none>
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list