GNU bug report logs - #77785
[PATCH] gnu: cura: prevent importing outside of store

Previous Next

Package: guix-patches;

Reported by: Jakob Kirsch <jakob.kirsch <at> web.de>

Date: Sun, 13 Apr 2025 16:30:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Jakob Kirsch <jakob.kirsch <at> web.de>
To: 77785 <at> debbugs.gnu.org
Subject: [bug#77785] [PATCH] gnu: cura: prevent importing outside of store
Date: Sun, 13 Apr 2025 18:29:31 +0200
[Message part 1 (text/plain, inline)]
I've recently tried to run cura but it kept crashing because it couldn't find shared libraries.
As it turns out, python adds directories in the home directory to the search path and a pyqt5 installed by pip managed to be loaded, which obviously won't work.
This patch addresses this by adding a small snippet of code to the top of bin/cura that clears out all paths from sys.path that don't start with /gnu.
[0001-gnu-cura-prevent-importing-outside-of-store.patch (text/plain, attachment)]

This bug report was last modified 7 days ago.

Previous Next


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