John,

This looks like it might be related to 
http://trac.sagemath.org/sage_trac/ticket/12161
If so what you can do is quit Terminal.app (not just close all the windows), 
then open it from the Finder (in /Applications/Utilities/Terminal.app) and 
_then_ run Sage.app.  This prevents some environment variable weirdness 
occurring.  I would love to hear whether this works or not.  If this is the 
problem it will be fixed in 5.0 (I can't wait for it to be released).

-Ivan

On Mar 7, 2012, at 12:24 PM, [email protected] wrote:

> I'm having problems getting the sage.app application to work. First
> problem was that the PATH variable was altered to make my existing
> python installation inaccessible. During loading the server failed
> because it could not find a dyld located in Users/student/... - I have
> no user student on my machine. I installed a newer version of python
> which resolved this problem.
> 
> Now I get
> 
> '/Applications/Sage-4.8-OSX_32bit-10.4-G4.app/Contents/Resources/sage'/
> sage --notebook
> Traceback (most recent call last):
>  File "/Applications/Sage-4.8-OSX_32bit-10.4-G4.app/Contents/
> Resources/sage/local/bin/sage-notebook", line 3, in <module>
>    import os, sys, socket
>  File "/Applications/Sage-4.8-OSX_32bit-10.4-G4.app/Contents/
> Resources/sage/local/lib/python/socket.py", line 46, in <module>
>    import _socket
> ImportError: No module named _socket
> 
> in the terminal listing and
> 
> Old SAGE_ROOT=/Applications/Sage-4.8-OSX_32bit-10.4-G4.app/Contents/
> Resources/sage/
> New SAGE_ROOT=/Applications/Sage-4.8-OSX_32bit-10.4-G4.app/Contents/
> Resources/sage
> Checking install location
> The Sage installation tree may have moved
> (from /Users/student/Desktop/sage-4.8 to /Applications/Sage-4.8-
> OSX_32bit-10.4-G4.app/Contents/Resources/sage).
> Changing various hardcoded paths...
> (Please wait at most a few minutes.)
> DO NOT INTERRUPT THIS.
> Done resetting paths.
> Checking existance of notebook directory
> Starting Notebook in Terminal
> Setting environment variables
> Warning: overwriting SAGE_ROOT environment variable:
> Old SAGE_ROOT=/Applications/Sage-4.8-OSX_32bit-10.4-G4.app/Contents/
> Resources/sage/
> New SAGE_ROOT=/Applications/Sage-4.8-OSX_32bit-10.4-G4.app/Contents/
> Resources/sage
> Checking install location
> Checking existance of notebook directory
> Starting Notebook in Terminal
> Setting environment variables
> Warning: overwriting SAGE_ROOT environment variable:
> Old SAGE_ROOT=/Applications/Sage-4.8-OSX_32bit-10.4-G4.app/Contents/
> Resources/sage/
> New SAGE_ROOT=/Applications/Sage-4.8-OSX_32bit-10.4-G4.app/Contents/
> Resources/sage
> Checking install location
> Checking existance of notebook directory
> Starting Notebook in Terminal
> 
> in the log
> 
> -- 
> 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-support
> URL: http://www.sagemath.org

-- 
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-support
URL: http://www.sagemath.org

Reply via email to