New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Snap launch of OpenSCAD #7182
Conversation
Patch provided by forums user 'lamikr'
env = os.environ.copy() | ||
try: | ||
env.pop('LD_LIBRARY_PATH') | ||
except KeyError: | ||
None | ||
def check_output2(*args, **kwargs): | ||
env = os.environ.copy() | ||
try: | ||
env.pop('LD_LIBRARY_PATH') | ||
except KeyError: | ||
None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aren't line 151-155 duplicate of 146-150? The commands are already run once?
Is this Snap as in the Snap packaging ? |
Also, is this something that we want for all distributions of FreeCAD? IMO this should be managed in the snap or at the very least be inside an if statement for the snap |
Looking at the previous discussion this was actually a fix for the appimage, is this relevant for the snap too as stated in the title? IMO this should preferably be a configurable option that is patched to default to true for the appimage/snap/flatpak? but defaults to false normally. |
Please advise |
There is another ongoing forums discussion with a related, though more comprehensive, fix: https://forum.freecadweb.org/viewtopic.php?f=10&t=70790 |
Is there TL;DR summary somewhere ? |
bump |
No, this just fell off my radar. I don't think the code in this PR is quite right, it probably makes the most sense to just close it. We could open an issue if there isn't one already. |
@chennes please advise what to name ticket to replace this PR ? |
I guess just something like "Snap launch of OpenSCAD broken" |
IIRC appimages had this problem too |
Patch provided by forums user 'lamikr': https://forum.freecadweb.org/viewtopic.php?f=10&t=40848
Note that I have not yet tested this patch, I am just submitting on behalf of its author.