public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-science] [sage-on-gentoo] gdmodule-0.56-r1
@ 2010-12-03 21:49 Steven Trogdon
  2010-12-04 14:34 ` Christopher Schwan
  0 siblings, 1 reply; 2+ messages in thread
From: Steven Trogdon @ 2010-12-03 21:49 UTC (permalink / raw
  To: gentoo-science

[-- Attachment #1: Type: text/plain, Size: 1485 bytes --]

Hello,

With the upgrade from gdmodule-0.56 -> gdmodule-0.56-r1 the following  
sage test now fails

	sage -t  -long -force_lib "devel/sage/sage/matrix/matrix2.pyx"

as

**********************************************************************
File "/usr/share/sage/devel/sage/sage/matrix/matrix2.pyx", line 5463:
     sage: M.visualize_structure(SAGE_TMP + "matrix.png")
Exception raised:
     Traceback (most recent call last):
       File "/usr/bin/ncadoctest.py", line 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/usr/bin/sagedoctest.py", line 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example,  
filename, compileflags)
       File "/usr/bin/ncadoctest.py", line 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_83[3]>", line 1, in <module>
         M.visualize_structure(SAGE_TMP + "matrix.png")###line 5463:
     sage: M.visualize_structure(SAGE_TMP + "matrix.png")
       File "matrix2.pyx", line 5520, in  
sage.matrix.matrix2.Matrix.visualize_structure  
(sage/matrix/matrix2.c:31006)
     NotImplementedError: PNG Support Not Available
**********************************************************************

The 0.56-libs.patch that's the reason for the upgrade (which appears to  
be the thing to do) actually prevents Sage from finding PNG support.  
The older version still works.

Steve

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-science] [sage-on-gentoo] gdmodule-0.56-r1
  2010-12-03 21:49 [gentoo-science] [sage-on-gentoo] gdmodule-0.56-r1 Steven Trogdon
@ 2010-12-04 14:34 ` Christopher Schwan
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Schwan @ 2010-12-04 14:34 UTC (permalink / raw
  To: gentoo-science

Hi Steven,

thank you for reporting! I have investigated on this and filed a bug for it: 

https://bugs.gentoo.org/show_bug.cgi?id=347722

On Friday 03 December 2010 22:49:37 Steven Trogdon wrote:
> Hello,
> 
> With the upgrade from gdmodule-0.56 -> gdmodule-0.56-r1 the following
> sage test now fails
> 
> 	sage -t  -long -force_lib "devel/sage/sage/matrix/matrix2.pyx"
> 
> as
> 
> **********************************************************************
> File "/usr/share/sage/devel/sage/sage/matrix/matrix2.pyx", line 5463:
>      sage: M.visualize_structure(SAGE_TMP + "matrix.png")
> Exception raised:
>      Traceback (most recent call last):
>        File "/usr/bin/ncadoctest.py", line 1231, in run_one_test
>          self.run_one_example(test, example, filename, compileflags)
>        File "/usr/bin/sagedoctest.py", line 38, in run_one_example
>          OrigDocTestRunner.run_one_example(self, test, example,
> filename, compileflags)
>        File "/usr/bin/ncadoctest.py", line 1172, in run_one_example
>          compileflags, 1) in test.globs
>        File "<doctest __main__.example_83[3]>", line 1, in <module>
>          M.visualize_structure(SAGE_TMP + "matrix.png")###line 5463:
>      sage: M.visualize_structure(SAGE_TMP + "matrix.png")
>        File "matrix2.pyx", line 5520, in
> sage.matrix.matrix2.Matrix.visualize_structure
> (sage/matrix/matrix2.c:31006)
>      NotImplementedError: PNG Support Not Available
> **********************************************************************
> 
> The 0.56-libs.patch that's the reason for the upgrade (which appears to
> be the thing to do) actually prevents Sage from finding PNG support.
> The older version still works.
> 
> Steve

Cheers,

Christopher



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-04 14:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-03 21:49 [gentoo-science] [sage-on-gentoo] gdmodule-0.56-r1 Steven Trogdon
2010-12-04 14:34 ` Christopher Schwan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox