Skip to content
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

Closed
wants to merge 1 commit into from
Closed

Conversation

chennes
Copy link
Member

@chennes chennes commented Jul 13, 2022

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.

Patch provided by forums user 'lamikr'
@github-actions github-actions bot added the WB OpenSCAD Related to the OpenSCAD Workbench label Jul 13, 2022
@berndhahnebach
Copy link
Contributor

pipeline status for feature branch PR_7182. Pipeline 587078969 was triggered at 1a4d877. All CI branches and pipelines.

Comment on lines +145 to +155
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
Copy link
Contributor

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?

@luzpaz
Copy link
Contributor

luzpaz commented Jul 16, 2022

Is this Snap as in the Snap packaging ?

@adrianinsaval
Copy link
Member

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

@adrianinsaval
Copy link
Member

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.

@luzpaz
Copy link
Contributor

luzpaz commented Aug 4, 2022

Please advise

@chennes
Copy link
Member Author

chennes commented Aug 5, 2022

There is another ongoing forums discussion with a related, though more comprehensive, fix: https://forum.freecadweb.org/viewtopic.php?f=10&t=70790

@luzpaz
Copy link
Contributor

luzpaz commented Jan 7, 2023

Is there TL;DR summary somewhere ?

@luzpaz
Copy link
Contributor

luzpaz commented Jan 21, 2023

bump

@chennes
Copy link
Member Author

chennes commented Jan 22, 2023

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 chennes closed this Jan 22, 2023
@luzpaz
Copy link
Contributor

luzpaz commented Jan 22, 2023

@chennes please advise what to name ticket to replace this PR ?

@chennes
Copy link
Member Author

chennes commented Jan 22, 2023

I guess just something like "Snap launch of OpenSCAD broken"

@adrianinsaval
Copy link
Member

IIRC appimages had this problem too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WB OpenSCAD Related to the OpenSCAD Workbench
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants