recover worksheets from the sage_notebook.sagenb directory?

asked 2013-03-05 06:09:24 -0500

andresfelipeordonez gravatar image

Hi, I used to have sage installed in an old computer and when I got a new one I only copied the .sage directory. Now I need access to the worksheets that I had in my old computer through the old .sage directory. I already installed sage in the new computer and renamed the old .sage directory .sage_old

notebook(".sage_old/sage_notebook.sagenb") doesn't work, so, is there anyway to force the new sage to use the data from the old sage notebook?

edit retag flag offensive close merge delete



did you try replacing the .sage/ from new computer by that from the old computer?

ebs gravatar imageebs ( 2013-03-05 06:17:13 -0500 )edit

sage: notebook(directory="/home/sage/.sage2/sage_notebook.sagenb/") - this works fine for me.

ndomes gravatar imagendomes ( 2013-03-06 01:54:45 -0500 )edit

ebs I tried replacing the .sage/ from the new computer by that from the old computer and it didn't work, and now that I renamed the directories as they were before I can't start the notebook :(

andresfelipeordonez gravatar imageandresfelipeordonez ( 2013-03-09 04:05:19 -0500 )edit

How old is "old"? What version of sage were you running earlier?

ppurka gravatar imageppurka ( 2013-03-09 04:52:51 -0500 )edit