On 9/11/07, William Stein <[EMAIL PROTECTED]> wrote: > > On 9/9/07, Dan Christensen <[EMAIL PROTECTED]> wrote: > > But "sage -t" reports lots of errors, and spent an hour or two in > > > > sage -t devel/doc-2.8.4.1/ref/sage.misc.trace.tex > > > > before I killed it. If these errors are surprising, let me know and > > From "sage -help" > > -t <files|dir>-- test examples in .py, .pyx, .sage or .tex files > options to '-t': --verbose, --gdb, --long, --optional, > --valgrind, --memcheck, --massif, --cachegrind > > Basically if you do "sage -t" with no arguments in SAGE_ROOT, you're > doctesting > every single py, tex, etc., file that is included in the entire SAGE > distribution. For most of these doctesting doesn't make any > sense. > > I will change "sage -t" so that it gives an error if run with no arguments to > prevent future confusion like this (you were the second person confused > by this in the last week!). > > [...] Done. If you want the change, do > sage: hg_scripts.pull() > > Then you get: > [EMAIL PROTECTED]:~$ sage -t > Usage: sage -t <files or directories>. > For more information, type 'sage -help'. > [EMAIL PROTECTED]:~$ > > Thanks again for reporting this bug. > > > > I'll include some of the output. These tests also popped up lots of > > Preview windows containing images, which was a little disruptive since I > > was trying to do something else while they ran. > > > > Also, the change to allow a root account wasn't here. The patch is > > below. Now I can claim to have contributed -3 lines of code to sage! > > :-) With this change, I can access my old worksheets. > > Thanks. That was in the official repo but I neglected to pull it into > the version of SAGE that I built the release from. Thanks for the > reminder. > > -- William > > > > > Dan > > > > --- notebook.py.orig 2007-08-27 20:28:41.000000000 -0400 > > +++ notebook.py 2007-09-09 21:23:51.000000000 -0400 > > @@ -186,9 +186,6 @@ > > email -- the email address > > account_type -- one of 'user', 'admin', or 'guest' > > """ > > - if username == 'root': > > - raise ValueError, "The 'root'' account is banned." > > - > > if not self.get_accounts() and not force: > > raise ValueError, "creating new accounts disabled." > > > > > > > > > > > > > > -- > William Stein > Associate Professor of Mathematics > University of Washington > http://wstein.org > > > >
--~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com 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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---