On Apr 20, 12:17 am, mabshoff <mabsh...@googlemail.com> wrote:
> Hello folks,
>
> here goes rc4, only slightly later than planned :)
>
> Anyway, we fixed nearly every blocker and postponed the the fixing of
> the failing doc doctests, i.e. #5806 for now.
>
> Aside from that we had the update to the latest MPIR 1.1, downgrade of
> GAP to 4.4.10 and the update of clisp 2.47/maxima with a special no-
> readline mode. This will not fix all observed strange Maxima hangs,
> but at least some of the rather strange random ones. Gentoo users
> should rejoice since this clisp release should build on more Gentoo
> boxen, but it is broken on SLES 10/Itanium. Since the previous clisp
> release was broken on RHEL 5.2/Itanium it seems to be business as
> usual. Oh well, clisp's presence in Sage should be short lived at this
> stage anyway since Sage 4.0 is supposed to work on Solaris/Sparc and
> that mandates the ecl switch. Couple that with pynac being default for
> Symbolics and a lot of the calls to Maxima should disappear
> shortly :).
>
> Another long standing problem were some issues with ATLAS, i.e.
> building on Atom would take forever (this is now fixed) and Sage
> binaries would require SSE3. Now we have the infrastructure in place
> to create SSE2 only binaries, but the penalty for that is a decrease
> in speed for certain LA problems for example. We have not done any
> benchmarking, but it would be nice to do so before release.
>
> As usual sources, the update bits and a sage.math binary can be found
> at
>
>    http://sage.math.washington.edu/home/mabshoff/release-cycles-3.4.1/
>
> Please build, test and report any issues. Unless something goes
> terribly wrong this should be identical with the final 3.4.1 release
> aside from two tickets affecting only the -bdist code and potential
> last minute doctest fixes.

I have the same problem I reported with 3.4.1.rc3: on an ubuntu box
(perhaps ubuntu 8.04?), Sage() seems broken, leading to failures in
randstate.pyx and sage0.py.

$ uname -a
Linux jpalmieri538 2.6.24-23-generic #1 SMP Wed Apr 1 21:47:28 UTC
2009 i686 GNU/Linux

I'm appending logs from the failures, plus a sample sage session
displaying some problems. What other information would help to track
this down?

  John


sage -t  "devel/sage/sage/misc/randstate.pyx"
**********************************************************************
File "/home/palmieri/Documents/sage-3.4.1.rc4-upgrade/devel/sage/sage/
misc/randstate.pyx", line 124:
    : s = ZZ(subsage('initial_seed()'))
Exception raised:
    Traceback (most recent call last):
      File "/home/palmieri/Documents/sage-3.4.1.rc3/local/bin/
ncadoctest.py", line 1231, in run_one_test
        self.run_one_example(test, example, filename, compileflags)
      File "/home/palmieri/Documents/sage-3.4.1.rc3/local/bin/
sagedoctest.py", line 38, in run_one_example
        OrigDocTestRunner.run_one_example(self, test, example,
filename, compileflags)
      File "/home/palmieri/Documents/sage-3.4.1.rc3/local/bin/
ncadoctest.py", line 1172, in run_one_example
        compileflags, 1) in test.globs
      File "<doctest __main__.example_0[32]>", line 1, in <module>
        s = ZZ(subsage('initial_seed()'))###line 124:
    : s = ZZ(subsage('initial_seed()'))
      File "parent.pyx", line 288, in
sage.structure.parent.Parent.__call__ (sage/structure/parent.c:4320)
      File "coerce_maps.pyx", line 155, in
sage.structure.coerce_maps.NamedConvertMap._call_ (sage/structure/
coerce_maps.c:4225)
      File "/home/palmieri/Documents/sage-3.4.1.rc4-upgrade/local/lib/
python2.5/site-packages/sage/interfaces/expect.py", line 1648, in
_integer_
        return sage.rings.all.Integer(repr(self))
      File "integer.pyx", line 517, in
sage.rings.integer.Integer.__init__ (sage/rings/integer.c:6446)
    TypeError: unable to convert x
(=---------------------------------------------------------------------------
    AttributeError                            Traceback (most recent
call last)

    /home/palmieri/.sage/temp/jpalmieri538/15614/
_home_palmieri__sage_init_sage_0.py in <module>()

    /home/palmieri/Documents/sage-3.4.1.rc4-upgrade/local/lib/
python2.5/site-packages/sage/misc/functional.pyc in gen(x)
        353     Return the generator of x.
        354     """
    --> 355     return x.gen()
        356
        357 def gens(x):

    AttributeError: 'int' object has no attribute 'gen') to an integer
**********************************************************************
File "/home/palmieri/Documents/sage-3.4.1.rc4-upgrade/devel/sage/sage/
misc/randstate.pyx", line 131:
    : r == ZZ.random_element(2^200)
Expected:
    True
Got:
    False
**********************************************************************
1 items had failures:
   2 of  62 in __main__.example_0
***Test Failed*** 2 failures.


sage -t  "devel/sage/sage/interfaces/sage0.py"
**********************************************************************
File "/home/palmieri/Documents/sage-3.4.1.rc4-upgrade/devel/sage/sage/
interfaces/sage0.py", line 55:
    sage: a^3
Expected:
    8
Got:
    <BLANKLINE>
**********************************************************************
File "/home/palmieri/Documents/sage-3.4.1.rc4-upgrade/devel/sage/sage/
interfaces/sage0.py", line 62:
    sage: V.gens()
Expected:
    ((1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (0, 0, 0, 1))
Got:
    <BLANKLINE>

(and this one goes on for a while longer).

Here's an excerpt from a sage session, showing some similar problems.

sage: subsage = Sage()
sage: subsage
(2)

sage: subsage
('2')
2
sage: a = subsage
('2')
sage:
a^3

sage:
a

sage: subsage('initial_seed
()')
2
sage: subsage('initial_seed
()')
112766853689368064777514174538283835612
sage: ZZ(subsage('initial_seed
()'))
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call
last)

/home/palmieri/.sage/temp/jpalmieri538/10361/
_home_palmieri__sage_init_sage_0.py in <module>()

/usr/local/share/sage/local/lib/python2.5/site-packages/sage/structure/
parent.so in sage.structure.parent.Parent.__call__ (sage/structure/
parent.c:4320)()

/usr/local/share/sage/local/lib/python2.5/site-packages/sage/structure/
coerce_maps.so in sage.structure.coerce_maps.NamedConvertMap._call_
(sage/structure/coerce_maps.c:4225)()

/usr/local/share/sage/local/lib/python2.5/site-packages/sage/
interfaces/expect.pyc in _integer_(self, ZZ)
   1646         """
   1647         import sage.rings.all
-> 1648         return sage.rings.all.Integer(repr(self))
   1649
   1650     def _rational_(self):

/usr/local/share/sage/local/lib/python2.5/site-packages/sage/rings/
integer.so in sage.rings.integer.Integer.__init__ (sage/rings/
integer.c:6446)()

TypeError: unable to convert x
(=---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call
last)

/home/palmieri/.sage/temp/jpalmieri538/10420/
_home_palmieri__sage_init_sage_0.py in <module>()

/usr/local/share/sage/local/lib/python2.5/site-packages/sage/misc/
functional.pyc in gen(x)
    353     Return the generator of x.
    354     """
--> 355     return x.gen()
    356
    357 def gens(x):

AttributeError: 'int' object has no attribute 'gen') to an integer


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to