Ask Your Question
0

[Sage-4.7]SageNB returns no result

asked 2011-06-20 07:06:57 -0500

riemann gravatar image

updated 2011-06-21 02:20:12 -0500

niles gravatar image

As a new sage user, I recently compiled Sage-4.7 from source and it runs smoothly in the command line. However, when I set up the sage notebook, the expression returns no result in browser For instance, if you enter 1+1, then click "Evaluate", the cell turns green but then it keeps running and never returns anything. The terminal displays the following:

sage: notebook(interface='', server_pool=['sage1@localhost'],                 
....: ulimit='-v 500000', secure=True, directory="/tmp/work", accounts=True)  
The notebook files are stored in: work.sagenb                                 
****************************************************                          
*                                                  *                          
* Open your web browser to https://localhost:8000  *                          
*                                                  *                          
****************************************************                          
There is an admin account.  If you do not remember the password,              
quit the notebook and type notebook(reset=True).                              
/tmp/work/sage-4.7/local/bin/sage-native-execute: line 8: firefox: command not
 found                                                                        
2011-06-20 13:50:09-0400 [-] Log opened.                                      
2011-06-20 13:50:09-0400 [-] twistd 9.0.0 (/tmp/work/sage-4.7/local/bin/python
 2.6.4) starting up.                                                          
2011-06-20 13:50:09-0400 [-] reactor class: twisted.internet.selectreactor.Sel
ectReactor.                                                                   
2011-06-20 13:50:09-0400 [-] twisted.web2.channel.http.HTTPFactory starting on
 8000                                                                         
2011-06-20 13:50:09-0400 [-] Starting factory <twisted.web2.channel.http.HTTPF
actory instance at 0x19ef35a8>

I tried checking the installation using make check and it is fine. Can someone give me some ideas on how to proceed?

Thanks so much!

Riemann

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2011-06-21 07:01:39 -0500

Mike Hansen gravatar image

From the sound of things, it seems like the problem is coming from the server_pool=['sage1@localhost'] option you're passing to notebook. For that to work, you need to have a sage1 user created on localhost as well as making it so that the user that runs the notebook can SSH into the sage1 account without a password.

You should try to see if the notebook works correctly for you without the server_pool option and then check to see that those two conditions I mentioned above are satisfied.

edit flag offensive delete link more

Comments

Yes, that works for me. Thank you for the pointer!! Interestingly, there is actually an account called sage1 which I never created on the server.

riemann gravatar imageriemann ( 2011-06-21 07:21:36 -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: 2011-06-20 07:06:57 -0500

Seen: 200 times

Last updated: Jun 21 '11