Sorry for my premature posting. I deleted the posting as soon as I found that reinstalling Sage from scratch brought everything back to normal. The application must have gotten corrupted, not the notebook.
Thanks anyway for the advice. Daniel Friedan On Jul 23, 8:11 pm, William Stein <wst...@gmail.com> wrote: > On Fri, Jul 23, 2010 at 4:53 AM, Daniel Friedan <dfrie...@gmail.com> wrote: > > I seem to have corrupted my notebook. I copied a worksheet, then > > renamed it. The new name contained the character '^'. Of course I > > can't be sure this was the cause, but I don't think I did anything > > else. > > You could: > > (1) post a zip of $HOME/.sage/sage_notebook.sagenb and see if > anybody can debug the problem, or > > (2) if you don't have very many worksheets, just look for them in > > $HOME/.sage/sage_notebook.sagenb/home/admin/ > > or at least their plain text versions. You can paste these into a new > worksheet by clicking "Edit" then save. This is tedious, but will > allow you to get your worksheets back. > > > > > > > Below is the Traceback when I try to start the notebook server. > > > I'd be grateful for any advice on how to recover my notebook. > > > Sage 4.4.4 under Mac OS X 10.6.4. > > > tgad35:~ daniel$ /Applications/sage/sage -notebook > > ---------------------------------------------------------------------- > > | Sage Version 4.4.4, Release Date: 2010-06-23 | > > | Type notebook() for the GUI, and license() for information. | > > ---------------------------------------------------------------------- > > > Please wait while the Sage Notebook server starts... > > Traceback (most recent call last): > > File "/Applications/sage/local/bin/sage-notebook", line 9, in > > <module> > > from sage.server.notebook.all import notebook > > File "/Applications/sage/local/lib/python2.6/site-packages/sage/ > > server/notebook/all.py", line 22, in <module> > > from sagenb.notebook.all import * > > File "/Applications/sage/local/lib/python2.6/site-packages/ > > sagenb-0.8-py2.6.egg/sagenb/notebook/all.py", line 16, in <module> > > from notebook_object import notebook, inotebook > > File "/Applications/sage/local/lib/python2.6/site-packages/ > > sagenb-0.8-py2.6.egg/sagenb/notebook/notebook_object.py", line 17, in > > <module> > > import notebook as _notebook > > File "/Applications/sage/local/lib/python2.6/site-packages/ > > sagenb-0.8-py2.6.egg/sagenb/notebook/notebook.py", line 35, in > > <module> > > from sagenb.misc.misc import (pad_zeros, cputime, tmp_dir, load, > > save, > > File "/Applications/sage/local/lib/python2.6/site-packages/ > > sagenb-0.8-py2.6.egg/sagenb/misc/misc.py", line 206, in <module> > > jsmath_macros = ',\n'.join(sage_jsmath_macros_easy) > > NameError: name 'sage_jsmath_macros_easy' is not defined > > tgad35:~ daniel$ > > > -- > > To post to this group, send email to sage-support@googlegroups.com > > To unsubscribe from this group, send email to > > sage-support+unsubscr...@googlegroups.com > > For more options, visit this group > > athttp://groups.google.com/group/sage-support > > URL:http://www.sagemath.org > > -- > William Stein > Professor of Mathematics > University of Washingtonhttp://wstein.org -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org