$ system-config-printer shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Traceback (most recent call last): File "/usr/share/system-config-printer/system-config-printer.py", line 76, in <module> import cupshelpers ModuleNotFoundError: No module named 'cupshelpers' The cupshelpers-1.0-py3.9.egg is copied in the file system but not installed $ equery f system-config-printer | grep cupshelpers /etc/cupshelpers /etc/cupshelpers/preferreddrivers.xml /usr/lib/python3.9/site-packages/cupshelpers-1.0-py3.9.egg Extracting this file the program work as it should. Reproducible: Always
Please test 1.5.16.
(In reply to Andreas Sturmlechner from comment #1) > Please test 1.5.16. Nothing same error. Adding python_domodule cupshelpers in src_install function the program works fine. src_install() { default python_domodule cupshelpers python_fix_shebang "${ED}" python_optimize }
*** Bug 834710 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdcd8b9b3b92d100f27da8433aec0b09bfbc4e5a commit bdcd8b9b3b92d100f27da8433aec0b09bfbc4e5a Author: Maciej Barć <xgqt@gentoo.org> AuthorDate: 2022-03-16 15:14:38 +0000 Commit: Maciej Barć <xgqt@gentoo.org> CommitDate: 2022-03-16 15:14:57 +0000 app-admin/system-config-printer: install cupshelpers module Closes: https://bugs.gentoo.org/833199 Signed-off-by: Maciej Barć <xgqt@gentoo.org> ...inter-1.5.16.ebuild => system-config-printer-1.5.16-r1.ebuild} | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=720e7ae0b7707eab37d1d7270de750a500052965 commit 720e7ae0b7707eab37d1d7270de750a500052965 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2022-03-16 15:26:05 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2022-03-16 15:26:16 +0000 app-admin/system-config-printer: Drop broken 1.5.15 Bug: https://bugs.gentoo.org/833199 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> app-admin/system-config-printer/Manifest | 1 - .../system-config-printer-1.5.15.ebuild | 76 ---------------------- 2 files changed, 77 deletions(-)