#8234: Data file deletion in notebook throws errors
------------------------+---------------------------------------------------
   Reporter:  rbeezer   |       Owner:  was       
       Type:  defect    |      Status:  new       
   Priority:  major     |   Milestone:  sage-4.3.3
  Component:  notebook  |    Keywords:            
     Author:            |    Upstream:  N/A       
   Reviewer:            |      Merged:            
Work_issues:            |  
------------------------+---------------------------------------------------
 Delete a file in the data directory of the notebook and you get a page
 back about an "Internal Server Error"  (by selecting the file in the drop-
 down box, and clicking on the "delete" hyperlink).  File is actually
 deleted, though.

 Trace back from Sage command-line invocation of {{{notebook()}}} below.

 This does not happen on 4.3.2rc0, but does happen on 4.3.2.  Some
 discussion, but not much that isn't here already:
 http://groups.google.com/group/sage-
 notebook/browse_thread/thread/dd2e03d2af01f852

 {{{
 2010-02-10 09:22:48-0800 [HTTPChannel,10,127.0.0.1] Exception rendering:
 2010-02-10 09:22:48-0800 [HTTPChannel,10,127.0.0.1] Unhandled Error
         Traceback (most recent call last):
           File "/sage/dev/local/lib/python2.6/site-
 packages/twisted/internet/defer.py", line 186, in addCallbacks
             self._runCallbacks()
           File "/sage/dev/local/lib/python2.6/site-
 packages/twisted/internet/defer.py", line 328, in _runCallbacks
             self.result = callback(self.result, *args, **kw)
           File "/sage/dev/local/lib/python2.6/site-
 packages/twisted/internet/defer.py", line 289, in _continue
             self.unpause()
           File "/sage/dev/local/lib/python2.6/site-
 packages/twisted/internet/defer.py", line 285, in unpause
             self._runCallbacks()
         --- <exception caught here> ---
           File "/sage/dev/local/lib/python2.6/site-
 packages/twisted/internet/defer.py", line 328, in _runCallbacks
             self.result = callback(self.result, *args, **kw)
           File "/sage/dev/local/lib/python2.6/site-
 packages/twisted/web2/server.py", line 296, in <lambda>
             d.addCallback(lambda res, req: res.renderHTTP(req), self)
           File "/sage/dev/local/lib/python2.6/site-
 packages/twisted/web2/resource.py", line 85, in renderHTTP
             return method(request)
           File "/sage/dev/local/lib/python2.6/site-
 packages/twisted/web2/resource.py", line 202, in http_GET
             return super(Resource, self).http_GET(request)
           File "/sage/dev/local/lib/python2.6/site-
 packages/twisted/web2/resource.py", line 128, in http_GET
             return self.render(request)
           File "/sage/dev/local/lib/python2.6/site-
 packages/sagenb-0.7.4-py2.6.egg/sagenb/notebook/twist.py", line 671, in
 render
             title=u'%s delete successful' % filename))
         exceptions.TypeError: message() got an unexpected keyword argument
 'title'
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8234>
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