Ask Your Question
1

How do I save .sws files from notebook() on Safari?

asked 2011-12-05 07:04:32 +0100

GaryMak gravatar image

Hi

I am running SAGE 4.7.2 on a Mac OS X 10.6.8 (local compilation) and using notebook() from within SAGE. I also use SAGE on a Virtual Box installation on Windows 7 on a PC. On the latter I can save copies of my worksheets to my Dropbox etc and then upload them into SAGE on the Mac; however I am incapable of working out how to save them from the Mac so I can back them up/use them on the PC!!

I briefly had a binary version running on the Mac in which it WAS indeed possible to do all this; but I no longer have that option at the top of the notebook() Safari screen. I noticed a thread from earlier this year in which there seemed to be similar problems; but it seems to have fizzled out without resolution.

As a start, where are the .sws files saved locally (if at all)? I have done tons of searches of my local machine and have turned up nothing .... sorry!!

Thanks a lot for any help ...

Gary.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-08-26 09:28:34 +0100

doom gravatar image

I'm having the same problem on linux mint 18 and it's sage 7.3 and five years later. I have no idea where the save files are and save as does not appear to work. Moreover I always get errors if I try to save. I do still see my notebook though. This is really bad.

edit flag offensive delete link more
0

answered 2011-12-05 07:12:34 +0100

Jason Grout gravatar image

updated 2011-12-05 07:13:41 +0100

The worksheets are stored in $HOME/.sage/sage_notebook.sagenb/admin, but they aren't stored as .sws files, but as directories.

You should be able to "download" the .sws files from your mac notebook. Open the worksheet, go to the top, select File -> Save. Then save the .sws file wherever you want.

Are you saying that you no longer have a File dropdown at the top of the worksheet?

edit flag offensive delete link more

Comments

Hi - thank you - yes there is still a file dropdown - I'm not sure what's gone wrong - there used to be buttons (in the binary version and the Virtual Box version) for download/upload which are no longer there; but before I posted the qn I even had tried what you said re saving it but it just gives me a weird window, asks for the name, and disappears. When I look for a file with the name I chose anywhere on my computer, I find nothing ...

GaryMak gravatar imageGaryMak ( 2011-12-05 07:41:11 +0100 )edit

Jason, this is definitely a problem. I've had to use FF, in fact, IIRC. See http://code.google.com/p/sagenb/issues/detail?id=60

kcrisman gravatar imagekcrisman ( 2011-12-05 12:09:14 +0100 )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

1 follower

Stats

Asked: 2011-12-05 07:04:32 +0100

Seen: 1,736 times

Last updated: Dec 05 '11