When using MATE desktop and in Control Center and click Print Settings, it doesn't open or do anything. Manual running of /usr/bin/python /usr/share/system-config-printer/system-config-printer.py shows problem, described in Actual Results. After merging additional packages its functional. I believe they are optional but would be good to fix this. Reproducible: Always Steps to Reproduce: 1. emerge system-config-printer 2. use steps in Description 3. emerge urllib3 requests cups-pk-helper 4. back to Description steps and notice that print settings are working Actual Results: error raised: [load_xbel_store: couldn't load bookmark file [NULL] ] Traceback (most recent call last): File "/usr/share/system-config-printer/system-config-printer.py", line 70, in <module> import cupshelpers File "/usr/lib64/python3.3/site-packages/cupshelpers/__init__.py", line 60, in <module> from . import openprinting File "/usr/lib64/python3.3/site-packages/cupshelpers/openprinting.py", line 22, in <module> import requests, urllib.request, urllib.parse, urllib.error, platform, threading, tempfile, traceback ImportError: No module named 'requests' Traceback (most recent call last): File "/usr/share/system-config-printer/system-config-printer.py", line 70, in <module> import cupshelpers File "/usr/lib64/python3.3/site-packages/cupshelpers/__init__.py", line 60, in <module> from . import openprinting File "/usr/lib64/python3.3/site-packages/cupshelpers/openprinting.py", line 22, in <module> import requests, urllib.request, urllib.parse, urllib.error, platform, threading, tempfile, traceback ImportError: No module named 'requests'
I had the same error with app-admin/system-config-printer-1.5.9. I installed dev-python/requests and now I have the following error: ---------- # system-config-printer 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 57, in <module> gi.require_version('GnomeKeyring', '1.0') File "/usr/lib64/python3.5/site-packages/gi/__init__.py", line 118, in require_version raise ValueError('Namespace %s not available' % namespace) ValueError: Namespace GnomeKeyring not available ----------
(In reply to Joonas Niilola from comment #1) > I had the same error with app-admin/system-config-printer-1.5.9. I installed > dev-python/requests and now I have the following error: > > ---------- > # system-config-printer > 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 57, in <module> > gi.require_version('GnomeKeyring', '1.0') > File "/usr/lib64/python3.5/site-packages/gi/__init__.py", line 118, in > require_version > raise ValueError('Namespace %s not available' % namespace) > ValueError: Namespace GnomeKeyring not available > ---------- I didnt realize that version was from dantrell's Gnome overlay. Emerged 1.4.8 which is in the main portage tree, and it seems to be working fine. Sorry.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb5aac044d88c8312e4c835890670e29c841656e commit fb5aac044d88c8312e4c835890670e29c841656e Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-11-02 13:13:15 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-11-02 13:24:33 +0000 app-admin/system-config-printer: Fix dependencies Closes: https://bugs.gentoo.org/574630 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 .../system-config-printer-1.5.11-r1.ebuild | 91 ++++++++++++++++++++++ 1 file changed, 91 insertions(+)