On Mar 7, 6:24 am, "[email protected]" <[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.
This must have been a binary I made - congrats on still having a PPC machine! This is because we are still apparently hard-coding some links - so frustrating. You shouldn't need the user Python *at all*, and it's a bug that this should even affect it. Do you have the specific error message still? [Does anyone know if there is a way to systematically check for hard links like this after making a binary? We've had this problem in the past with Linux binaries at times as well.] The second problem you are having is fixed in http://trac.sagemath.org/sage_trac/ticket/12161. There should be links there to temporary workarounds. Naturally, another option is to build your own Sage from scratch, if you have/have access to Xcode for your machine. That is less desirable, of course. Sorry for the problems. We aim to fix any such issues which arise, and feedback like this is invaluable. - kcrisman > 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
