recover worksheets from the sage_notebook.sagenb directory?

asked 2013-03-05 13:09:24 +0100

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

Comments

1

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

ebs gravatar imageebs ( 2013-03-05 13:17:13 +0100 )edit

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

ndomes gravatar imagendomes ( 2013-03-06 08:54:45 +0100 )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 11:05:19 +0100 )edit

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

ppurka gravatar imageppurka ( 2013-03-09 11:52:51 +0100 )edit