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: pgp3u7ZsyNAxI.pgp
Description: PGP signature

Reply via email to