I am using sage-4.8 in ubuntu 10.04. My requirement is very simple: I need 
to open the notebook interface, do some work, save my work and then sign 
out, close sage-4.8 application. So I use these commands sequentially:

1. ./sage (in the directory where sage is installed)
2. notebook() (at sage prompt; notebook opens in firefox;five comments 
appear in terminal: Log opened, twistd 9.0.0, ..., Starting factory)
3. save & quit the worksheet and sign out.
4. goto file->quit in firefox

The problem is I do not get back the sage prompt in the terminal. The same 
old five comments are still there. I am confused how to close sage 
appropriately. If I type exit or quit at the blinking prompt, nothing 
happens. If I use ctrl+Z, I get <[1]+  Stopped ./sage> which is probably 
not the appropriate way to close a running application. Indeed if I use ps 
-aux command, I notice, /home/xyz/sage-4.8/local/bin/sage-cleaner, 
/home/xyz/sage-4.8/local/bin/sage-ipython -i, sh -c twistd 
--pidfile="sage_notebook.sagenb/twistd.pid" -ny "sage_notebook processes 
are still active. At this stage if I try to close terminal by ctrl+D, I get 
the warning that "there are stopped jobs". So thre is something wrong with 
the way I am closing sage-4.8.

Please suggest how I should close sage-4.8 notebook.

some other information: 
result of uname -a: Linux xyz-desktop 2.6.32-40-generic #87-Ubuntu SMP Mon 
Mar 5 20:26:31 UTC 2012 i686 GNU/Linux
version of sage: 4.8



Thanks.
 AD

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to