On Aug 31, 2010, at 7:37 PM, Jason Grout wrote: > When I click "stop server", and then "start server", I see this error message > in the log: > > Setting environment variables > Warning: Attempted to overwrite SAGE_ROOT environment variable > Checking install location > Traceback (most recent call last): > File "./local/bin/sage-location", line 5, in <module> > SAGE_ROOT = os.environ['SAGE_ROOT'] > File "/Users/grout/sage-4.5.2//local/lib/python/UserDict.py", line 22, in > __getitem__ > raise KeyError(key) > KeyError: 'SAGE_ROOT' > Starting Notebook > ---------------------------------------------------------------------- > | Sage Version 4.5.2, Release Date: 2010-08-05 | > | Type notebook() for the GUI, and license() for information. | > ---------------------------------------------------------------------- > > Please wait while the Sage Notebook server starts... > 2010-08-31 12:36:19-0500 [-] Log opened. > 2010-08-31 12:36:19-0500 [-] twistd 9.0.0 (/Users/grout/sage/local/bin/python > 2.6.4) starting up. > 2010-08-31 12:36:19-0500 [-] reactor class: > twisted.internet.selectreactor.SelectReactor. > 2010-08-31 12:36:19-0500 [-] twisted.web2.channel.http.HTTPFactory starting > on 8000 > 2010-08-31 12:36:19-0500 [-] Starting factory > <twisted.web2.channel.http.HTTPFactory instance at 0x10a299440>
Ah, I wasn't exporting SAGE_ROOT, so sage-location didn't have it. Thanks for catching that. I've fixed it, but won't put a new version up tonight (it's time for me to go home). Thanks, Ivan -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org