#7330: notebook download to a file broken
------------------------+---------------------------------------------------
   Reporter:  robertwb  |       Owner:  boothby   
       Type:  defect    |      Status:  new       
   Priority:  major     |   Milestone:  sage-4.2.1
  Component:  notebook  |    Keywords:            
Work_issues:            |      Author:            
   Reviewer:            |      Merged:            
------------------------+---------------------------------------------------
 This is with a pre-4.1.2 notebook, upgraded to 4.1.2

 {{{
 2009-10-28 02:17:46-0700 [HTTPChannel,3,127.0.0.1] Exception rendering:
 2009-10-28 02:17:46-0700 [HTTPChannel,3,127.0.0.1] Unhandled Error
         Traceback (most recent call last):
           File "/Users/robertwb/sage/sage-4.0/local/lib/python2.6/site-
 packages/twisted/internet/defer.py", line 328, in _runCallbacks
             self.result = callback(self.result, *args, **kw)
           File "/Users/robertwb/sage/sage-4.0/local/lib/python2.6/site-
 packages/twisted/web2/server.py", line 324, in _getChild
             return result.addCallback(self._handleSegment, res, path,
 updatepaths)
           File "/Users/robertwb/sage/sage-4.0/local/lib/python2.6/site-
 packages/twisted/internet/defer.py", line 195, in addCallback
             callbackKeywords=kw)
           File "/Users/robertwb/sage/sage-4.0/local/lib/python2.6/site-
 packages/twisted/internet/defer.py", line 186, in addCallbacks
             self._runCallbacks()
         --- <exception caught here> ---
           File "/Users/robertwb/sage/sage-4.0/local/lib/python2.6/site-
 packages/twisted/internet/defer.py", line 328, in _runCallbacks
             self.result = callback(self.result, *args, **kw)
           File "/Users/robertwb/sage/sage-4.0/local/lib/python2.6/site-
 packages/twisted/web2/server.py", line 367, in _handleSegment
             child = self._getChild(None, newres, newpath,
 updatepaths=updatepaths)
           File "/Users/robertwb/sage/sage-4.0/local/lib/python2.6/site-
 packages/twisted/web2/server.py", line 326, in _getChild
             return self._handleSegment(result, res, path, updatepaths)
           File "/Users/robertwb/sage/sage-4.0/local/lib/python2.6/site-
 packages/twisted/web2/server.py", line 367, in _handleSegment
             child = self._getChild(None, newres, newpath,
 updatepaths=updatepaths)
           File "/Users/robertwb/sage/sage-4.0/local/lib/python2.6/site-
 packages/twisted/web2/server.py", line 326, in _getChild
             return self._handleSegment(result, res, path, updatepaths)
           File "/Users/robertwb/sage/sage-4.0/local/lib/python2.6/site-
 packages/twisted/web2/server.py", line 367, in _handleSegment
             child = self._getChild(None, newres, newpath,
 updatepaths=updatepaths)
           File "/Users/robertwb/sage/sage-4.0/local/lib/python2.6/site-
 packages/twisted/web2/server.py", line 326, in _getChild
             return self._handleSegment(result, res, path, updatepaths)
           File "/Users/robertwb/sage/sage-4.0/local/lib/python2.6/site-
 packages/twisted/web2/server.py", line 367, in _handleSegment
             child = self._getChild(None, newres, newpath,
 updatepaths=updatepaths)
           File "/Users/robertwb/sage/sage-4.0/local/lib/python2.6/site-
 packages/twisted/web2/server.py", line 326, in _getChild
             return self._handleSegment(result, res, path, updatepaths)
           File "/Users/robertwb/sage/sage-4.0/local/lib/python2.6/site-
 packages/twisted/web2/server.py", line 367, in _handleSegment
             child = self._getChild(None, newres, newpath,
 updatepaths=updatepaths)
           File "/Users/robertwb/sage/sage-4.0/local/lib/python2.6/site-
 packages/twisted/web2/server.py", line 322, in _getChild
             result = res.locateChild(self, path)
           File "/Users/robertwb/sage/sage-4.0/local/lib/python2.6/site-
 packages/twisted/web2/resource.py", line 167, in locateChild
             r = factory(request, segments[0])
           File "/Users/robertwb/sage/sage-4.0/local/lib/python2.6/site-
 packages/sage/server/notebook/twist.py", line 1312, in childFactory
             notebook.export_worksheet(worksheet_name, filename)
           File "/Users/robertwb/sage/sage-4.0/local/lib/python2.6/site-
 packages/sage/server/notebook/notebook.py", line 951, in export_worksheet
             W.save()
           File "/Users/robertwb/sage/sage-4.0/local/lib/python2.6/site-
 packages/sage/server/notebook/worksheet.py", line 1842, in save
             save(self.conf(), path + '/conf.sobj')
           File "/Users/robertwb/sage/sage-4.0/local/lib/python2.6/site-
 packages/sage/server/notebook/worksheet.py", line 400, in conf
             C = load(file)
           File "sage_object.pyx", line 529, in
 sage.structure.sage_object.load (sage/structure/sage_object.c:6480)

           File "sage_object.pyx", line 727, in
 sage.structure.sage_object.loads (sage/structure/sage_object.c:8076)

         exceptions.EOFError:
 }}}

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