I have a Sage server running on a Dell PowerEdge, launched using the screen 
command.  Some recent Sage event (that I haven't had a chance to 
investigate yet) filled the filesystem with log messages.  When I move the 
log file out of the way and attempt to restart Sage, I get the following 
traceback with no other error message:

$ sage-notebook
Traceback (most recent call last):
  File "/var/lib/sage/bin/sage-notebook", line 10, in <module>
    server_pool = 3 * ['sage@localhost'])
  File "lazy_import.pyx", line 358, in 
sage.misc.lazy_import.LazyImport.__call__ 
(build/cythonized/sage/misc/lazy_import.c:3000)
  File 
"/usr/local/sage-6.3/local/lib/python2.7/site-packages/sagenb-0.10.8.2-py2.7.egg/sagenb/notebook/notebook_object.py",
 
line 228, in __call__
    return self.notebook(*args, **kwds)
  File 
"/usr/local/sage-6.3/local/lib/python2.7/site-packages/sagenb-0.10.8.2-py2.7.egg/sagenb/notebook/run_notebook.py",
 
line 529, in notebook_run
    nb = notebook.load_notebook(directory)
  File 
"/usr/local/sage-6.3/local/lib/python2.7/site-packages/sagenb-0.10.8.2-py2.7.egg/sagenb/notebook/notebook.py",
 
line 1811, in load_notebook
    nb = Notebook(dir)
  File 
"/usr/local/sage-6.3/local/lib/python2.7/site-packages/sagenb-0.10.8.2-py2.7.egg/sagenb/notebook/notebook.py",
 
line 150, in __init__
    S.load_users(self._user_manager)
  File 
"/usr/local/sage-6.3/local/lib/python2.7/site-packages/sagenb-0.10.8.2-py2.7.egg/sagenb/storage/filesystem_storage.py",
 
line 267, in load_users
    for user in 
self._basic_to_users(self._load('users.pickle')).itervalues():
  File 
"/usr/local/sage-6.3/local/lib/python2.7/site-packages/sagenb-0.10.8.2-py2.7.egg/sagenb/storage/filesystem_storage.py",
 
line 167, in _load
    result = cPickle.load(f)
EOFError

The sage_notebook script I use to launch the Sage 6.3 server is:

#!/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'])

Can someone tell me what is failing and where to look to debug this?

TIA.

-- 
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 sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
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