#7627: Settings page (for converted notebook?) gives errors
------------------------+---------------------------------------------------
   Reporter:  jason     |       Owner:  was     
       Type:  defect    |      Status:  new     
   Priority:  major     |   Milestone:  sage-4.3
  Component:  notebook  |    Keywords:          
Work_issues:            |      Author:          
   Upstream:  N/A       |    Reviewer:          
     Merged:            |  
------------------------+---------------------------------------------------
 I started sage 4.2.1 and did:
 {{{
 % sage
 ----------------------------------------------------------------------
 | Sage Version 4.2.1, Release Date: 2009-11-14                       |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------
 sage: notebook()
 The notebook files are stored in: sage_notebook.sagenb
 **************************************************
 *                                                *
 * Open your web browser to http://localhost:8000 *
 *                                                *
 **************************************************
 2009-12-08 13:27:27-0600 [-] Log opened.
 2009-12-08 13:27:27-0600 [-] twistd 8.2.0
 (/home/jason/sage/local/bin/python 2.6.2) starting up.
 2009-12-08 13:27:27-0600 [-] reactor class:
 twisted.internet.selectreactor.SelectReactor.
 2009-12-08 13:27:27-0600 [-] twisted.web2.channel.http.HTTPFactory
 starting on 8000
 2009-12-08 13:27:27-0600 [-] Starting factory
 <twisted.web2.channel.http.HTTPFactory instance at 0xb5f3dcc>
 }}}

 Then I clicked on "Settings", and then "Notebook Settings", and I got the
 following webpage:

 {{{
  Internal Server Error

 An error occurred rendering the requested page. More information is
 available in the server log.
 }}}
 and the following error in the log:
 {{{
 2009-12-08 13:27:51-0600 [HTTPChannel,1,127.0.0.1] Exception rendering:
 2009-12-08 13:27:51-0600 [HTTPChannel,1,127.0.0.1] Unhandled Error
    Traceback (most recent call last):
      File "/home/jason/sage/local/lib/python2.6/site-
 packages/twisted/internet/defer.py", line 186, in addCallbacks
        self._runCallbacks()
      File "/home/jason/sage/local/lib/python2.6/site-
 packages/twisted/internet/defer.py", line 328, in _runCallbacks
        self.result = callback(self.result, *args, **kw)
      File "/home/jason/sage/local/lib/python2.6/site-
 packages/twisted/internet/defer.py", line 289, in _continue
        self.unpause()
      File "/home/jason/sage/local/lib/python2.6/site-
 packages/twisted/internet/defer.py", line 285, in unpause
        self._runCallbacks()
    --- <exception caught here> ---
      File "/home/jason/sage/local/lib/python2.6/site-
 packages/twisted/internet/defer.py", line 328, in _runCallbacks
        self.result = callback(self.result, *args, **kw)
      File "/home/jason/sage/local/lib/python2.6/site-
 packages/twisted/web2/server.py", line 296, in <lambda>
        d.addCallback(lambda res, req: res.renderHTTP(req), self)
      File "/home/jason/sage/local/lib/python2.6/site-
 packages/twisted/web2/resource.py", line 85, in renderHTTP
        return method(request)
      File "/home/jason/sage/local/lib/python2.6/site-
 packages/twisted/web2/resource.py", line 202, in http_GET
        return super(Resource, self).http_GET(request)
      File "/home/jason/sage/local/lib/python2.6/site-
 packages/twisted/web2/resource.py", line 128, in http_GET
        return self.render(request)
      File "/home/jason/sage/local/lib/python2.6/site-
 packages/sagenb/notebook/twist.py", line 978, in render
        template_dict['auto_table'] = notebook.conf().html_table(updated)
      File "/home/jason/sage/local/lib/python2.6/site-
 packages/sagenb/notebook/conf.py", line 123, in html_table
        G[DS[key][GROUP]] = [key]
    exceptions.KeyError: 'number_of_backups'

 }}}
 I believe this was a notebook that was automatically converted from the
 old format.

 {{{



 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7627>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--

You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.


Reply via email to