On Fri, Feb 13, 2009 at 10:46 AM, Jason Grout <[email protected]> wrote: > > On 3.3alpha5 (sagenb.org) and on my 3.3rc0, when I click on the "Log" > link in the notebook, I get an error page and the following traceback on > the server. This is now #5257. Anyone know off the top of their head > when this stopped working?
Thanks for reporting this. I noticed exactly the same problem yesterday *during my big Sun online talk*, but didn't report it since I forgot. This is a major bug. > +1 again to automated notebook testing! +1 for *any* automatic notebook testing at all, compared to the complete and total lack of any _external_ testing we have right now. E.g., even a little urllib script that would query an existing working notebook install using a given login/password combo would have caught the above. It could simply try to download from a list of all the links in a worksheet, and see if any give a server error. But it's not like testing web apps is some new problem. I think Mike Hansen had some pretty cool demo of nontrivial testing of the notebook. We should start doing something, even if it isn't integrated into "sage -t", since something is way better than nothing. OK, back to doing nothing to fix this problem... (i.e., preparing to teach). william > > Jason > > > 2009-02-13 12:39:32-0600 [HTTPChannel,101,127.0.0.1] Exception rendering: > 2009-02-13 12:39:32-0600 [HTTPChannel,101,127.0.0.1] Unhandled Error > Traceback (most recent call last): > File > "/home/grout/sage/local/lib/python2.5/site-packages/Twisted-8.1.0-py2.5-linux-i686.egg/twisted/internet/defer.py", > line 186, in addCallbacks > self._runCallbacks() > File > "/home/grout/sage/local/lib/python2.5/site-packages/Twisted-8.1.0-py2.5-linux-i686.egg/twisted/internet/defer.py", > line 328, in _runCallbacks > self.result = callback(self.result, *args, **kw) > File > "/home/grout/sage/local/lib/python2.5/site-packages/Twisted-8.1.0-py2.5-linux-i686.egg/twisted/internet/defer.py", > line 289, in _continue > self.unpause() > File > "/home/grout/sage/local/lib/python2.5/site-packages/Twisted-8.1.0-py2.5-linux-i686.egg/twisted/internet/defer.py", > line 285, in unpause > self._runCallbacks() > --- <exception caught here> --- > File > "/home/grout/sage/local/lib/python2.5/site-packages/Twisted-8.1.0-py2.5-linux-i686.egg/twisted/internet/defer.py", > line 328, in _runCallbacks > self.result = callback(self.result, *args, **kw) > File > "/home/grout/sage/local/lib/python2.5/site-packages/Twisted-8.1.0-py2.5-linux-i686.egg/twisted/web2/server.py", > line 296, in <lambda> > d.addCallback(lambda res, req: res.renderHTTP(req), self) > File > "/home/grout/sage/local/lib/python2.5/site-packages/Twisted-8.1.0-py2.5-linux-i686.egg/twisted/web2/resource.py", > line 85, in renderHTTP > return method(request) > File > "/home/grout/sage/local/lib/python2.5/site-packages/Twisted-8.1.0-py2.5-linux-i686.egg/twisted/web2/resource.py", > line 202, in http_GET > return super(Resource, self).http_GET(request) > File > "/home/grout/sage/local/lib/python2.5/site-packages/Twisted-8.1.0-py2.5-linux-i686.egg/twisted/web2/resource.py", > line 128, in http_GET > return self.render(request) > File > "/home/grout/sage/local/lib/python2.5/site-packages/sage/server/notebook/twist.py", > line 1633, in render > s = notebook.user_history_html(self.username) > File > "/home/grout/sage/local/lib/python2.5/site-packages/sage/server/notebook/notebook.py", > line 842, in user_history_html > """%(username, self.html_worksheet_list_top(username, > actions=False), t) > File > "/home/grout/sage/local/lib/python2.5/site-packages/sage/server/notebook/notebook.py", > line 1318, in html_worksheet_list_top > s += self.html_new_or_upload() > exceptions.AttributeError: 'Notebook' object has no attribute > 'html_new_or_upload' > > > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ 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-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
