GNU bug report logs - #70491
system-config-printer once again cannot find cupshelpers

Previous Next

Package: guix;

Reported by: Athena Martin <guix <at> alm.website>

Date: Sun, 21 Apr 2024 06:15:02 UTC

Severity: normal

To reply to this bug, email your comments to 70491 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#70491; Package guix. (Sun, 21 Apr 2024 06:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Athena Martin <guix <at> alm.website>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 21 Apr 2024 06:15:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Athena Martin <guix <at> alm.website>
To: bug-guix <at> gnu.org
Subject: system-config-printer once again cannot find cupshelpers
Date: Sat, 20 Apr 2024 20:41:39 -0400
[Message part 1 (text/plain, inline)]
$ guix shell system-config-printer -- system-config-printer
Traceback (most recent call last):
  File "/gnu/store/hk90zfj9gzx4axws9ymzqni2ka7b2pb1-system-config-printer-1.5.16/share/system-config-printer/system-config-printer.py", line 76, in <module>
    import cupshelpers
ModuleNotFoundError: No module named 'cupshelpers'
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#70491; Package guix. (Wed, 04 Sep 2024 21:05:02 GMT) Full text and rfc822 format available.

Message #8 received at 70491 <at> debbugs.gnu.org (full text, mbox):

From: Wamm_KD_Schmelingski <at> yahoo.com
To: 70491 <at> debbugs.gnu.org
Cc: guix <at> alm.website
Subject: Re: bug#70491: system-config-printer once again cannot find
 cupshelpers
Date: Wed, 04 Sep 2024 16:02:59 -0500
(based mostly off of this forum post:
https://forum.endeavouros.com/t/system-config-printer-wont-run/54621/2)
It looks like it's related to the module being placed within a
directory within the =site-packages= directory?

Python doesn't seem to like that the =cuphelpers= directory is within
the =cupshelpers-1.0-py3.12.egg= directory (it wants
=site-packages/cuphelpers= rather than
=site-packages/cupshelpers-1.0-py3.12.egg/cuphelpers=, like it's
currently ending up).

Not a solution Guix can just use, as is, but running ~sudo ln -sf
/usr/lib/python3.12/site-packages/cupshelpers-1.0-py3.12.egg/cupshelpers
/usr/lib/python3.12/site-packages/cupshelpers~ seemed to fix things, for them.

On Saturday (April 20, 2024) at 07:41:39 PM CDT, Athena Martin wrote:
> 
> $ guix shell system-config-printer -- system-config-printer
> Traceback (most recent call last):
>   File 
> "/gnu/store/hk90zfj9gzx4axws9ymzqni2ka7b2pb1-system-config-printer-1.5.16/share/system-config-printer/system-config-printer.py",
>  line 76, in <module>
>     import cupshelpers
> ModuleNotFoundError: No module named 'cupshelpers'




This bug report was last modified 287 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.