Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

Printer setup: system-config-printer fails with error

Started by c.monty, September 18, 2018, 12:46:23 PM

Previous topic - Next topic

c.monty

Hi,
I have setup and configured my printer with Cups.
This worked w/o issues.

However, in a multi-user environment the default settings defined in Cups are not applied to non-admin users.

Therefore I tried to run system-config-printer as user with unprivileged permissions.
But this commend demands sudo and therefore I granted this permission.

Now system-config-printer reports this error:
manfred@pc5-desktop:~$ sudo system-config-printer
(system-config-printer.py:1823): dbind-WARNING **: 11:30:13.955: 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


How can I fix this?

THX

View the most recent posts on the forum