Ask Your Question
1

Do I have to restart the notebook everytime I build Sage?

asked 2012-10-31 17:46:53 +0100

SLOtoSF gravatar image

updated 2012-11-01 16:49:05 +0100

What I mean is, when I am developing changes that do not affect the notebook, and then I build sage, and I quit and restart a worksheet, the built changes seem to register. I wanted to know whether I could count on this.

Also, is it 'okay' to run sage in command line in another ssh session and keep the notebook running?

edit retag flag offensive close merge delete

Comments

Just want to clarify - every time you *build* or *run* Sage? In principle I guess the answer is yes regardless. Though any open Sage worksheets will start looking for a server if you stop the server, and if you open a new one with the same internet protocols I guess it would "find" that one so you wouldn't have to stop in that sense... ?

kcrisman gravatar imagekcrisman ( 2012-10-31 20:44:21 +0100 )edit

No question is self-explanatory. If you cannot state your question in a self-contained body post and put your situation in context, then it is probably not a very useful question. Remember that the main purpose of the question title is for browsing the question index and letting readers decide *whether* to open the page or not. Once they've committed to opening it, they should get a proper body text.

Doubtless Lee gravatar imageDoubtless Lee ( 2012-10-31 21:38:33 +0100 )edit

This is much clearer, thanks! And separate instances of Sage run pretty much independently, though opening two notebook servers at the same time can be a problem.

kcrisman gravatar imagekcrisman ( 2012-11-02 10:52:26 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-10-31 22:21:48 +0100

Jason Grout gravatar image

updated 2012-10-31 22:22:44 +0100

It depends. Are you making changes to the notebook, or changes that affect the notebook? If so, then yes. Are you just making changes to the Sage library? Then new worksheets will use the newly-built version without restarting. Are you installing a different version of Sage? Then you definitely need to restart. It's not clear from your question exactly what situation you are asking about.

edit flag offensive delete link more

Comments

If you make changes to the sage library then you don't need to close and reopen the currently open worksheet. You can simply go to "Action -> Restart worksheet" and it will pick up the latest changes in the sage library.

ppurka gravatar imageppurka ( 2012-11-12 00:26:19 +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

Stats

Asked: 2012-10-31 17:46:53 +0100

Seen: 1,161 times

Last updated: Nov 01 '12