When I start the notebook server from a terminal in Sage, it starts fine.  
When I start from a script, it fails with the message

        Error, notebook must be one of default, ipython, sagenb but got None

The script contains 

        #!/usr/bin/env /usr/local/bin/sage
        #

        from sage.all import notebook

        notebook(interface = '', port = 34567, secure = True, accounts = 
True,
                 automatic_login = False,
                 timeout = 720000,
                 directory = '/var/www/sage/sage_notebook.sagenb',
                 server_pool = 3 * ['sage@localhost'])

The sage command I enter from the terminal is identical to that last 
notebook() command.

This all worked fine with the script in Sage 6.3, but fails when I switch 
to Sage 6.4.

The command to start Sage is /usr/local/bin/sage, which is a symlink to 
/usr/local/sage/sage.  In turn, /usr/local/sage is a symlink to either 
/usr/local/sage-6.3 or /usr/local/sage-6.4.1. 

Thanks for any help.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to