On Dec 4, 2007 6:00 AM, mabshoff
<[EMAIL PROTECTED]> wrote:
>
>
>
> On Dec 4, 11:44 am, fwc <[EMAIL PROTECTED]> wrote:
> > I successfully upgraded 2.8.14 -> 2.8.15 [Mac OS X 10.4.11, 2 GHz
> > Intel Core 2 Duo, 1 GB].
> >
> > But my worksheets do not appear when I do  sage -notebook

Your worksheets are *not* being eaten.   In the new version of Sage
the default place the notebook commands looks for the sage_notebook
directory is $HOME/.sage/sage_notebook.    However,

  (1) You could tell Sage to use a notebook located anywhere.  E.g., if you
start Sage in your home directory and type
     sage -notebook sage_notebook
it will use the sage notebook in your home directory exactly as before.

  (2) You could copy (do that -- don't just move them -- for safety)
your notebook
files from your home directory to $HOME/.sage/sage_notebook, e.g., by doing
the following:
   (a) Make sure to stop all notebook processes
   (b) From Terminal type
      $ cd; cp -r sage_notebook .sage/
   (c) Then sage -notebook should show all your old notebook files.

  (3) General comment -- you never have to tediously download and upload
all your worksheets to migrate your notebooks -- they're all just in a directory
that you can move to another location. ]

  (4) You can browse $HOME/.sage in finder by typing
        $ cd; open .sage
  in the Terminal.


> >
> > I'm told that "The notebook files are stored in:  ~/.sage/
> > sage_notebook", but there's no trace there.  However they do seem to
> > be in  ~/sage_notebook .  I tried using the "upload" link in the sage
> > in SAGE:Worksheet List and browsing into  ~/sage_notebook, but the
> > only human readable files I could find (which do indeed contain the
> > old worksheet details I want) were, for example, ~/sage_notebook/
> > worksheets/admin/3/worksheet.txt .  However they all gave rise to
> >
> > Error uploading worksheet 'Error decompressing saved worksheet.'.
> >
>
> Ok, this is a serious upgrade issue that needs to be fixed.
>
> > I'm still not sure how to recover my old worksheets.  Should I be
> > looking elsewhere?
> >
> > ------
> >
> > If the files are now going to be in  ~/.sage/sage_notebook , browsing
> > there from a Mac is going to be problematic, because Finder windows
> > ignore .* files/directories
> >
>
> Well, we needed per-user notebook setups for certain scenarios, but it
> seems that we need to sort out some of the issues caused by this
> transition. Maybe instead of defaulting to "~/.sage" we could
> overwrite that optionally by $SAGE_HOME?
>
> > Francis
>
> Cheers,
>
> Michael
>
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to