On Jan 27, 3:00 am, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Jan 26, 2008 11:46 AM, Jaap Spies <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > mabshoff wrote:
> > > On Jan 26, 12:31 pm, mabshoff <[EMAIL PROTECTED]
> > > dortmund.de> wrote:
> > >> 2.10.1.alpha2 turned out to be a disaster to put it mildly. Check out
> > >> the rc0 que at
>
> > >>http://sage.math.washington.edu/home/mabshoff/release-cycles-2.10.1/rc0/
>
> > >> rc0 should be out sooner rather than later. If you want to build
> > >> yourself you need the new r.spkg (p12 to be exact) and Sage-2.10.1.rc0-
> > >> ecmlib-deps.patch  to fix build ecm before the sagelib. My guess for
> > >> the arrival of rc0 is about two to three hours after this message.
>
> > >> Cheers,
>
> > >> Michael
>
> > > Here we go [200MB]:
>
> > >http://sage.math.washington.edu/home/mabshoff/release-cycles-2.10.1/s...
>
> > Builds ok on Fedora 7, but
> > ----------------------------------------------------------------------
> > The following tests failed:
>
> >          sage -t  devel/sage-main/sage/interfaces/sage0.py
> > Total time for all tests: 2788.0 seconds
> > Please see /home/jaap/downloads/sage-2.10.1.rc0/tmp/test.log for the 
> > complete log from this test.
> > [EMAIL PROTECTED] sage-2.10.1.rc0]$ ./sage -t  
> > devel/sage-main/sage/interfaces/sage0.py
> > sage -t  devel/sage-main/sage/interfaces/sage0.py           
> > **********************************************************************
> > File "sage0.py", line 143:
> >      sage: _= sage0.cputime()     # random output
> > Exception raised:
> >      Traceback (most recent call last):
> >        File 
> > "/home/jaap/downloads/sage-2.10.1.rc0/local/lib/python2.5/doctest.py", line 
> > 1212, in __run
> >          compileflags, 1) in test.globs
> >        File "<doctest __main__.example_2[0]>", line 1, in <module>
> >          _= sage0.cputime()     # random output###line 143:
> >      sage: _= sage0.cputime()     # random output
> >        File 
> > "/home/jaap/downloads/sage-2.10.1.rc0/local/lib/python2.5/site-packages/sage/interfaces/sage0.py",
> >  line 150, in cputime
> >          return eval(self.eval('cputime(%s)'%t))
> >        File "<string>", line 1
> >            1.3517939999999999
> >           ^
> >       SyntaxError: invalid syntax

By the way: The ticket for this is #1942

> Could you try changing that line 150 of sage/interfaces/sage0.py to
>           return eval(self.eval('cputime(%s)'%t).strip())
> then do "sage -br" and retry the test and see if it works on your machine?
> Let me know.
>
> Also, could you try replacing the line 150 by
>           s = self.eval('cputime(%s)'%t)
>           print "'%s'"%s
>           return 0
> in case my above suggestion doesn't work, and report what gets printed.
>
> Thanks for reporting this!!

Yep, I remember now that somebody else reported this a week or so ago
in sage-support or sage-newbie, but I cannot recall details at the
moment.

> William

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to