Ask Your Question

How can I extract my notebooks from an old hard drive?

asked 2016-10-14 03:29:56 -0600

peter gravatar image

I recently had to switch from Ubuntu to Windows 7. Doing so, unfortunately I crashed my Linux installation. Is there any way I can extract SageMath notebooks from my home folder? I copied the ~/.sage directory but can't make sense of the folder structure. The goal would be to run my old notebooks in a SageAppliance.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2016-10-17 04:46:14 -0600

peter gravatar image

Found it: The html files hidden in multiple levels of subfolders are actually importable in sage. Still don't know about SageAppliance.

edit flag offensive delete link more


That's true. But I don't understand why you got those errors while just copying - maybe need right permissions?

kcrisman gravatar imagekcrisman ( 2016-10-17 20:31:39 -0600 )edit

answered 2016-10-14 04:12:11 -0600

Eugene gravatar image

Just copy ~/.sage directory to your new virtual machine and run Sage.

edit flag offensive delete link more


To which folder in SageAppliance?

I also tried installing Lubuntu+SageMath to a VirtualBox instead of using the precompiled SageApplicance machine. But here too, just copying .sage to its home folder doesn't do the trick. I can start the SageMath server but the browser window returns '500: internal server error'. In the terminal I get 'OSError: [Errno 39] Directory not empty'. It seems Sage stores extra data somewhere else...

peter gravatar imagepeter ( 2016-10-14 05:10:22 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2016-10-14 03:29:56 -0600

Seen: 59 times

Last updated: Oct 17 '16