#14414: runsnake command broken
---------------------------+------------------------------------------------
   Reporter:  nbruin       |             Owner:  tbd     
       Type:  defect       |            Status:  new     
   Priority:  major        |         Milestone:  sage-5.9
  Component:  performance  |          Keywords:          
Work issues:               |   Report Upstream:  N/A     
  Reviewers:               |           Authors:          
  Merged in:               |      Dependencies:          
   Stopgaps:               |  
---------------------------+------------------------------------------------
 #11287 introduced a `runsnake` command that tries to execute `runsnake`
 using the system python. However, it does so without `sage-native-execute`
 and without clearing `PYTHONHOME` and `PYTHONPATH`, so it has very little
 chance of ever working. It already comes a little closer by doing
 {{{#!diff
 -   os.system("/usr/bin/python -E `which runsnake` %s &"%tmpfile)
 +   os.system("unset PYTHONHOME; unset PYTHONPATH; sage-native-execute
 runsnake %s &"%tmpfile)
 }}}
 in `sage/misc/dev_tools.py` (that makes the command `runsnake` work on my
 computer).

 You can't really expect the system python to work properly when the
 environment variables point to libraries for other python installs. See
 also #9386, #10286.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14414>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to