I don't know if it is the right place to ask this. I have asked in
sage-notebook list but got no response.

The problem is that i am running a server with sage 5.2 version. Now i
want to upgrade to sage 5.6, but the notebook directory seems to be
incompatible somehow.

When i try to run it, and access to the server with a browser, i get
the following message:

sage@sage-server:~$ sage56 -notebook
directory="sage_notebook_fis.sagenb"
----------------------------------------------------------------------
| Sage Version 5.6, Release Date: 2013-01-21                         |
| Type "notebook()" for the browser-based notebook interface.        |
| Type "help()" for help.                                            |
----------------------------------------------------------------------

Please wait while the Sage Notebook server starts...
notebook(directory=r'''sage_notebook_fis.sagenb''')
The notebook files are stored in: sage_notebook_fis.sagenb
**************************************************
*                                                *
* Open your web browser to http://localhost:8080 *
*                                                *
**************************************************
Executing twistd  --pidfile="sage_notebook_fis.sagenb/sagenb.pid" -ny
"sage_notebook_fis.sagenb/twistedconf.tac"
2013-01-30 12:50:41+0100 [-] Log opened.
2013-01-30 12:50:41+0100 [-] twistd 12.1.0 (/usr/local/sage-5.6/local/
bin/python 2.7.3) starting up.
2013-01-30 12:50:41+0100 [-] reactor class:
twisted.internet.epollreactor.EPollReactor.
2013-01-30 12:50:41+0100 [-] QuietSite starting on 8080
2013-01-30 12:50:41+0100 [-] Starting factory <__builtin__.QuietSite
instance at 0x4428bd8>
No protocol specified
xprop:  unable to open display ':0.0'
No protocol specified

(chromium-browser:14962): Gtk-WARNING **: cannot open display: :0.0
2013-01-30 12:50:51+0100 [-] WSGI application error
        Traceback (most recent call last):
          File "/usr/local/sage-5.6/local/lib/python2.7/site-packages/
Twisted-12.1.0-py2.7-linux-x86_64.egg/twisted/python/threadpool.py",
line 167, in _worker
            result = context.call(ctx, function, *args, **kwargs)
          File "/usr/local/sage-5.6/local/lib/python2.7/site-packages/
Twisted-12.1.0-py2.7-linux-x86_64.egg/twisted/python/context.py", line
118, in callWithContext
            return self.currentContext().callWithContext(ctx, func, *args,
**kw)
          File "/usr/local/sage-5.6/local/lib/python2.7/site-packages/
Twisted-12.1.0-py2.7-linux-x86_64.egg/twisted/python/context.py", line
81, in callWithContext
            return func(*args,**kw)
          File "/usr/local/sage-5.6/local/lib/python2.7/site-packages/
Twisted-12.1.0-py2.7-linux-x86_64.egg/twisted/web/wsgi.py", line 332,
in run
            self.reactor.callFromThread(wsgiError, self.started, *exc_info())
        --- <exception caught here> ---
          File "/usr/local/sage-5.6/local/lib/python2.7/site-packages/
Twisted-12.1.0-py2.7-linux-x86_64.egg/twisted/web/wsgi.py", line 315,
in run
            appIterator = self.application(self.environ, self.startResponse)
          File "/usr/local/sage-5.6/local/lib/python2.7/site-packages/
Flask-0.9-py2.7.egg/flask/app.py", line 1701, in __call__
            return self.wsgi_app(environ, start_response)
          File "/usr/local/sage-5.6/local/lib/python2.7/site-packages/
Flask-0.9-py2.7.egg/flask/app.py", line 1689, in wsgi_app
            response = self.make_response(self.handle_exception(e))
          File "/usr/local/sage-5.6/local/lib/python2.7/site-packages/
Flask-0.9-py2.7.egg/flask/app.py", line 1687, in wsgi_app
            response = self.full_dispatch_request()
          File "/usr/local/sage-5.6/local/lib/python2.7/site-packages/
Flask-0.9-py2.7.egg/flask/app.py", line 1360, in full_dispatch_request
            rv = self.handle_user_exception(e)
          File "/usr/local/sage-5.6/local/lib/python2.7/site-packages/
Flask-0.9-py2.7.egg/flask/app.py", line 1358, in full_dispatch_request
            rv = self.dispatch_request()
          File "/usr/local/sage-5.6/local/lib/python2.7/site-packages/
Flask-0.9-py2.7.egg/flask/app.py", line 1344, in dispatch_request
            return self.view_functions[rule.endpoint](**req.view_args)
          File "/usr/local/sage-5.6/devel/sagenb/flask_version/base.py", line
117, in index
            return login()
          File "/usr/local/sage-5.6/devel/sagenb/flask_version/
authentication.py", line 24, in login
            'default_user': g.notebook.user_manager().default_user(),
        exceptions.AttributeError: 'OpenIDUserManager' object has no
attribute 'default_user'


And nothing shows in the bowser.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to