system-config-printer once again cannot find cupshelpers

  • Open
  • quality assurance status badge
Details
2 participants
  • Wamm_KD_Schmelingski
  • Athena Martin
Owner
unassigned
Submitted by
Athena Martin
Severity
normal
A
A
Athena Martin wrote on 21 Apr 2024 02:41
(address . bug-guix@gnu.org)
20240420204139.7045cb07@alm.website
$ 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'
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEELAGoSzc6nHIdbhP+S8DcQuG8sXMFAmYkYMMACgkQS8DcQuG8
sXN2dQgAuc84QNVNUtgWHFWSGgB7Elu33cfNZAKygZ7gowBqLTXp0WjFTuTn/dzr
Kx4ztcTfei46joX+X0shT+AV4N7Zgq6GY4F+0jd4xwaR2Pnz1p1NuoBKHjbf51AZ
zVDafg29NMLokyGam7/xiY4KWhCGMDaQROjXaeCwH85VCZIyl9qgGPrJ0q2G09Sw
T3hNboBNoCzwkGb8isLrm1+Aj3u/tFFB2M5sTjtwJkYCtu7fUwLGxktxB22pIH+z
hVnYZ7HI50WGj53ZpiVXF6UiWxtmtYTIXliT1KrUUv6yxzBP9hKBTDFAZ4gU2RMR
itKAjODhcIZrI/oOSzJ78fSvPu2Nag==
=VwA5
-----END PGP SIGNATURE-----


W
W
Wamm_KD_Schmelingski wrote on 4 Sep 2024 23:02
(address . 70491@debbugs.gnu.org)(address . guix@alm.website)
875xrbnncs.wl-Wamm_KD_Schmelingski@yahoo.com
(based mostly off of this forum post:
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:
Toggle quote (8 lines)
>
> $ 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'
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 70491@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 70491
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch