Ask Your Question

[Sage-4.7]SageNB returns no result

asked 2011-06-20 14:06:57 +0200

riemann gravatar image

updated 2011-06-21 09:20:12 +0200

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
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
2011-06-20 13:50:09-0400 [-] starting on
2011-06-20 13:50:09-0400 [-] Starting factory <
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!


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-06-21 14:01:39 +0200

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


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 14:21:36 +0200 )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


Asked: 2011-06-20 14:06:57 +0200

Seen: 456 times

Last updated: Jun 21 '11