Ask Your Question
1

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

asked 2012-10-31 11:46:53 -0500

SLOtoSF gravatar image

updated 2012-11-01 10:49:05 -0500

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 14:44:21 -0500 )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 15:38:33 -0500 )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 04:52:26 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2012-10-31 16:21:48 -0500

Jason Grout gravatar image

updated 2012-10-31 16:22:44 -0500

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-11 17:26:19 -0500 )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 11:46:53 -0500

Seen: 898 times

Last updated: Nov 01 '12