On Fri, May 18, 2012 at 2:08 PM, Jason Grout <jason-s...@creativetrax.com> wrote: > On 5/18/12 1:19 PM, Benjamin Jones wrote: >> >> When starting up the sage-5.0 notebook (with the new notebook from trac >> #11080 and the sagecell-0.9.0 spkg installed) with >> directory='/home/sageserver/sage_notebook.sagenb' pointing to a notebook >> directory containing many existing user accounts and worksheets from a >> previous sage-4.7.1 install, Sage crashes on me with: >> >> "RuntimeError: maximum recursion depth exceeded while calling a Python >> object" >> >> I've posted the traceback at >> http://sage.math.washington.edu/home/bjones/inf_recursion_error.log >> >> Has anyone else run into this problem? >> >> If I start the notebook with >> directory='/home/sageserver/sage_test.sagenb' (a non-existing directory) >> everything works fine, but I obviously don't have all my previously >> existing user accounts and worksheets. > > > > I've seen this before, I think, a long time ago. Here is one reference to > it: > > https://groups.google.com/forum/#!msg/sage-notebook/SB0AdxJT7AQ/EdRL31dPDesJ > > Is there any chance you could narrow down things a bit to diagnose it? Maybe > by inserting a little code in the save_worksheet function (in > /home/sageserver/sage/sage-5.0/devel/sagenb-main/sagenb/storage/filesystem_storage.py) > that prints out the username and worksheet it is working on, to try to > narrow down which worksheet it is? From the traceback, it looks like the > problem is the comparison 'worksheet._last_basic != basic'. > > Thanks, > > Jason >
Thanks for the reply, Jason. Here is the culprit worksheet which is owned by `pub`: http://sage.math.washington.edu/home/bjones/bad_worksheet/ There were a couple of identical, essentially empty, worksheets like this in `sage_notebook.sagenb/home/pub`. When I move them out of the way, the notebook loads without problems. ... now the notebook won't accept existing user's passwords, but that's for another thread. Thanks for the help, -- Benjamin Jones -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org