Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

notebook server

Is there a coherent documentation about installing sage as notebook server?

click to hide/show revision 2
No.2 Revision

installing notebook server

Is there a coherent documentation about installing sage as notebook server?

click to hide/show revision 3
No.3 Revision

installing notebook server

Is there a coherent documentation about installing sage as notebook server?

Update: putting things from comments about specific error message this user found.

In this script

# by Dan Drake on wiki of Sage 
nbopts = {} # listen on port nbopts['port'] = '8000' # listen on all addresses 
nbopts['address'] = 'public IP' # use https, not http 
nbopts['secure'] = True # don't open a viewer 
nbopts['open_viewer'] = False # use this directory for nb files; must writeable by the nb? users
nbopts['directory'] = '/home/sageadm/sagenbfiles' # at most 500 MB memory, 100 MB files, 100 processes for nb? users 
nbopts['ulimit'] = '-v 500000 -f 100000 -u 100' # time or idel session after two hours
nbopts['timeout'] = 7200 # we can create new accounts 
#nbopts['accounts'] = True # a munkalapok 
# nbopts['server_pool'] = ['sagenb%s@localhost' % n for n in [0--9] ] 
nbopts['reset'] = True # Go ! 
notebook(**nbopts) 
Password changed for user 'admin'. Traceback (most recent call last): File "start_notebok.py", line 37, in <module> notebook(**nbopts) File "/usr/local/sage-4.6.1/devel/sagenb/sagenb/notebook/notebook_object.py", line 217, in __call__ return self.notebook(*args, **kwds) File "/usr/local/sage-4.6.1/devel/sagenb/sagenb/notebook/run_notebook.py", line 402, in notebook_twisted port = find_next_available_port(interface, port, port_tries) File "/usr/local/sage-4.6.1/devel/sagenb/sagenb/misc/misc.py", line 134, in find_next_available_port raise RuntimeError, "no available port." RuntimeError: no available port.

And if I use sage without this script, then http://localhost:8001/?startup_token=a1251d171024265d88245c40588a10ff: No such file or directory