[sage-devel] Re: Test failures in sage-3.4.1.rc0

2009-04-06 Thread John Cremona

2009/4/6 Jaap Spies j.sp...@hccnet.nl:

 Michael Abshoff wrote:
 [...]

 So if the ext repo is uptodate I would recommend deleting
 devel/sage/build and doing a -ba - if the problem does not go away
 something very strange is happening.


 This made the failures go away.


You forgot Cremona's first rule:  never upgrade, it will cost you time
in the long run!

John

 Thanks,

 Jaap


 


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[sage-devel] Re: Test failures in sage-3.4.1.rc0

2009-04-06 Thread Jaap Spies

Michael Abshoff wrote:
[...]
 
 So if the ext repo is uptodate I would recommend deleting
 devel/sage/build and doing a -ba - if the problem does not go away
 something very strange is happening.
 

This made the failures go away.

Thanks,

Jaap


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[sage-devel] Re: Test failures in sage-3.4.1.rc0

2009-04-05 Thread John Cremona

Built ok and all tests passed on 32-bit ubuntu.

On Suse 64-bit, built ok and one failure:
The following tests failed:


sage -t  devel/sage/sage/graphs/graph_bundle.py

--retesting (several times) it passed ok.  The relevant pasrt of the
test log is this:

sage -t  devel/sage/sage/graphs/graph_bundle.py
libpng error: Image width or height is zero in IHDR
**
File /home/jec/sage-3.4.1.rc0/devel/sage/sage/graphs/graph_bundle.py,
line 163:
sage: B.plot()
Exception raised:
Traceback (most recent call last):
  File /home/jec/sage-3.4.1.rc0/local/bin/ncadoctest.py, line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
  File /home/jec/sage-3.4.1.rc0/local/bin/sagedoctest.py, line
38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example,
filename, compileflags)
  File /home/jec/sage-3.4.1.rc0/local/bin/ncadoctest.py, line
1172, in run_one_example
compileflags, 1) in test.globs
  File doctest __main__.example_5[5], line 1, in module
B.plot()###line 163:
sage: B.plot()
  File sage_object.pyx, line 98, in
sage.structure.sage_object.SageObject.__repr__
(sage/structure/sage_object.c:1342)
  File 
/home/jec/sage-3.4.1.rc0/local/lib/python2.5/site-packages/sage/plot/plot.py,
line 861, in _repr_
self.show()
  File 
/home/jec/sage-3.4.1.rc0/local/lib/python2.5/site-packages/sage/plot/plot.py,
line 1278, in show
hgridlinesstyle=hgridlinesstyle)
  File 
/home/jec/sage-3.4.1.rc0/local/lib/python2.5/site-packages/sage/plot/plot.py,
line 1597, in save
canvas.print_figure(filename, dpi=dpi)
  File 
/home/jec/sage-3.4.1.rc0/local/lib/python2.5/site-packages/matplotlib/backend_bases.py,
line 1453, in print_figure
**kwargs)
  File 
/home/jec/sage-3.4.1.rc0/local/lib/python2.5/site-packages/matplotlib/backends/backend_agg.py,
line 334, in print_png
filename_or_obj, self.figure.dpi)
RuntimeError: Error building image
**
1 items had failures:
   1 of   6 in __main__.example_5


John

2009/4/5 Jaap Spies j.sp...@hccnet.nl:

 On Fedora 9, 32 bit, upgraded from 3.4.1.alpha0:

 The following tests failed:


        sage -t  devel/sage/sage/structure/sage_object.pyx
        sage -t  devel/sage/sage/algebras/quaternion_algebra_element.py
 Total time for all tests: 9109.8 seconds
 Please see /home/jaap/downloads/sage-3.4.1.alpha0/tmp/test.log for the 
 complete log from this test.

 [j...@paix sage-3.4.1.alpha0]$ ./sage -t  
 devel/sage/sage/structure/sage_object.pyx
 sage -t  devel/sage/sage/structure/sage_object.pyx
 **
 File 
 /home/jaap/downloads/sage-3.4.1.alpha0/devel/sage/sage/structure/sage_object.pyx,
  line 715:
     sage: sage.structure.sage_object.unpickle_all(std)
 Expected:
     doctest:...: DeprecationWarning: RQDF is deprecated; use RealField(212) 
 instead.
     Successfully unpickled 487 objects.
     Failed to unpickle 0 objects.
 Got:
     ** failed:  
 _type__sage_algebras_quaternion_algebra_element_QuaternionAlgebraElement_generic__.sobj
     ** failed:  
 _type__sage_algebras_quaternion_algebra_element_QuaternionAlgebraElement_number_field__.sobj
     ** failed:  
 _type__sage_algebras_quaternion_algebra_element_QuaternionAlgebraElement_rational_field__.sobj
     doctest:1172: DeprecationWarning: RQDF is deprecated; use RealField(212) 
 instead.
     Failed:
     
 _type__sage_algebras_quaternion_algebra_element_QuaternionAlgebraElement_generic__.sobj
     
 _type__sage_algebras_quaternion_algebra_element_QuaternionAlgebraElement_number_field__.sobj
     
 _type__sage_algebras_quaternion_algebra_element_QuaternionAlgebraElement_rational_field__.sobj
     Successfully unpickled 484 objects.
     Failed to unpickle 3 objects.
 **
 1 items had failures:
    1 of   7 in __main__.example_16
 ***Test Failed*** 1 failures.
 For whitespace errors, see the file 
 /home/jaap/downloads/sage-3.4.1.alpha0/tmp/.doctest_sage_object.py
         [9.8 s]
 exit code: 1024

 --
 The following tests failed:


        sage -t  devel/sage/sage/structure/sage_object.pyx
 Total time for all tests: 9.8 seconds

 sage -t  devel/sage/sage/algebras/quaternion_algebra_element.py
 **
 File 
 /home/jaap/downloads/sage-3.4.1.alpha0/devel/sage/sage/algebras/quaternion_algebra_element.py,
  line 16:
     sage: import sage.algebras.quaternion_algebra_element
 Exception raised:
     Traceback (most recent call last):
       File /home/jaap/downloads/sage-3.4.1.alpha0/local/bin/ncadoctest.py, 
 line 1231, in run_one_test
         self.run_one_example(test, example, 

[sage-devel] Re: Test failures in sage-3.4.1.rc0

2009-04-05 Thread mabshoff



On Apr 5, 8:03 am, Jaap Spies j.sp...@hccnet.nl wrote:
 On Fedora 9, 32 bit, upgraded from 3.4.1.alpha0:

 The following tests failed:

         sage -t  devel/sage/sage/structure/sage_object.pyx
         sage -t  devel/sage/sage/algebras/quaternion_algebra_element.py
 Total time for all tests: 9109.8 seconds
 Please see /home/jaap/downloads/sage-3.4.1.alpha0/tmp/test.log for the 
 complete log from this test.

Hmm, two possibilities:

 (a) This is a 32 bit issue, but since William tested that code on OSX
I doubt it.
 (b) You have multiple heads, so please check. Maybe otherwise there
is also junk laying around for you somewhere that is getting in the
way.

Cheers,

Michael
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[sage-devel] Re: Test failures in sage-3.4.1.rc0

2009-04-05 Thread mabshoff



On Apr 5, 2:31 pm, John Cremona john.crem...@gmail.com wrote:

Hi John,

 Built ok and all tests passed on 32-bit ubuntu.

 On Suse 64-bit, built ok and one failure:
 The following tests failed:

         sage -t  devel/sage/sage/graphs/graph_bundle.py

 --retesting (several times) it passed ok.  The relevant pasrt of the
 test log is this:

 sage -t  devel/sage/sage/graphs/graph_bundle.py
 libpng error: Image width or height is zero in IHDR
 **

I have seen this buglet before, but it isn't reproducible for me, i.e.
ever couple dozen test runs something like that pops up. I would guess
it has to do with randomized plotting, but that is merely a guess.

Cheers,

Michael
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[sage-devel] Re: Test failures in sage-3.4.1.rc0

2009-04-05 Thread Jaap Spies

mabshoff wrote:
 
 
 On Apr 5, 8:03 am, Jaap Spies j.sp...@hccnet.nl wrote:
 On Fedora 9, 32 bit, upgraded from 3.4.1.alpha0:

 The following tests failed:

 sage -t  devel/sage/sage/structure/sage_object.pyx
 sage -t  devel/sage/sage/algebras/quaternion_algebra_element.py
 Total time for all tests: 9109.8 seconds
 Please see /home/jaap/downloads/sage-3.4.1.alpha0/tmp/test.log for the 
 complete log from this test.
 
 Hmm, two possibilities:
 
  (a) This is a 32 bit issue, but since William tested that code on OSX
 I doubt it.
  (b) You have multiple heads, so please check. Maybe otherwise there
 is also junk laying around for you somewhere that is getting in the
 way.
 

Nothing of the kind.
sage: hg_sage.head()
cd /home/jaap/downloads/sage-3.4.1.alpha0/devel/sage  hg head
changeset:   11919:722183dc1884
tag: tip
user:mabsh...@sage.math.washington.edu
date:Sat Apr 04 19:16:01 2009 -0700
summary: 3.4.1.rc0


Upgraded from a clean alpha0

Jaap


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[sage-devel] Re: Test failures in sage-3.4.1.rc0

2009-04-05 Thread Michael Abshoff

On Sun, Apr 5, 2009 at 3:33 PM, Jaap Spies j.sp...@hccnet.nl wrote:

SNIP

 Hmm, two possibilities:

  (a) This is a 32 bit issue, but since William tested that code on OSX
 I doubt it.
  (b) You have multiple heads, so please check. Maybe otherwise there
 is also junk laying around for you somewhere that is getting in the
 way.


 Nothing of the kind.
 sage: hg_sage.head()
 cd /home/jaap/downloads/sage-3.4.1.alpha0/devel/sage  hg head
 changeset:   11919:722183dc1884
 tag:         tip
 user:        mabsh...@sage.math.washington.edu
 date:        Sat Apr 04 19:16:01 2009 -0700
 summary:     3.4.1.rc0

Ok. Can you check if the extrepo was updated cleanly, too?

 Upgraded from a clean alpha0

Mhh, the Brandt module patch moved the quaternions, so maybe your
build tree contains left over pyc files that interfere here. I did
test the build with the Brandt module patch applied with and without
nuking the build directory.

So if the ext repo is uptodate I would recommend deleting
devel/sage/build and doing a -ba - if the problem does not go away
something very strange is happening.

 Jaap

Cheers,

Michael

 


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[sage-devel] Re: Test failures in sage-3.4.1.rc0

2009-04-05 Thread Jaap Spies

Michael Abshoff wrote:
 On Sun, Apr 5, 2009 at 3:33 PM, Jaap Spies j.sp...@hccnet.nl wrote:
 
 SNIP
 
 Hmm, two possibilities:

  (a) This is a 32 bit issue, but since William tested that code on OSX
 I doubt it.
  (b) You have multiple heads, so please check. Maybe otherwise there
 is also junk laying around for you somewhere that is getting in the
 way.

 Nothing of the kind.
 sage: hg_sage.head()
 cd /home/jaap/downloads/sage-3.4.1.alpha0/devel/sage  hg head
 changeset:   11919:722183dc1884
 tag: tip
 user:mabsh...@sage.math.washington.edu
 date:Sat Apr 04 19:16:01 2009 -0700
 summary: 3.4.1.rc0
 
 Ok. Can you check if the extrepo was updated cleanly, too?
 
 Upgraded from a clean alpha0
 
 Mhh, the Brandt module patch moved the quaternions, so maybe your
 build tree contains left over pyc files that interfere here. I did
 test the build with the Brandt module patch applied with and without
 nuking the build directory.
 
 So if the ext repo is uptodate I would recommend deleting
 devel/sage/build and doing a -ba - if the problem does not go away
 something very strange is happening.
 

Just doing this. I'll report back.

Jaap


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---