Ask Your Question
0

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

asked 2016-10-14 10:29:56 +0200

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
0

answered 2016-10-14 11:12:11 +0200

Eugene gravatar image

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

edit flag offensive delete link more

Comments

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 12:10:22 +0200 )edit
1

answered 2016-10-17 11:46:14 +0200

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

Comments

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-18 03:31:39 +0200 )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

Stats

Asked: 2016-10-14 10:29:56 +0200

Seen: 288 times

Last updated: Oct 17 '16