#10286: sage-native-execute does not unset path etc.
----------------------------+-----------------------------------------------
Reporter: vbraun | Owner: jason
Type: defect | Status: new
Priority: major | Milestone: sage-4.6.1
Component: misc | Keywords: sage-native-execute, jmol
Author: Volker Braun | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
----------------------------+-----------------------------------------------
Changes (by vbraun):
* cc: mhansen, nbruin, tbd (added)
Old description:
> The script unsets the LD_LIBRARY_PATH but not the PATH, and then
> executes the argument. So it essentially breaks execution of all
> programs that are shipped with sage since they can't find their
> libraries any more, unless you are lucky and the system libraries have
> the same version.
>
> 3d plots on the Sage command line call "sage-native-execute jmol",
> which is why 3d plotting in Fedora is broken since forever, see #9232.
>
> The goal of this ticket is to
> 1. fix `sage-native-execute` to revert more of the pre-Sage
> environment, in particular the PATH.
> 2. fix the sage library to not call `sage-native-execute` for Sage
> components like jmol.
New description:
The script unsets the LD_LIBRARY_PATH but not the PATH, and then
executes the argument. So it essentially breaks execution of all
programs that are shipped with sage since they can't find their
libraries any more, unless you are lucky and the system libraries have the
same version.
3d plots on the Sage command line call "sage-native-execute jmol",
which is why 3d plotting in Fedora is broken since forever, see #9232.
The goal of this ticket is to
1. fix `sage-native-execute` to revert more of the pre-Sage environment,
in particular the PATH.
2. fix the sage library to not call `sage-native-execute` for Sage
components like jmol.
Related tickets:
* #9386: sage-native-execute leaves traces of sage
--
Comment:
The two patches fix #9232 for me.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10286#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.