On Tue, Mar 3, 2009 at 8:44 PM, William Stein <wst...@gmail.com> wrote:
> Here is the one interesting failure I saw on the vmware Fedora Core 32-bit 
> box:
>
> sage -t  "devel/sage/sage/graphs/graph_bundle.py"
> libpng error: Image width or height is zero in IHDR
> **********************************************************************
> File "/space/wstein/farm/sage-3.4.rc0/devel/sage/sage/graphs/graph_bundle.py",
> line 163:
>    sage: B.plot()
> Exception raised:
>    Traceback (most recent call last):
>      File "/space/wstein/farm/sage-3.4.rc0/local/bin/ncadoctest.py",
> line 1231, in run_one_test
>        self.run_one_example(test, example, filename, compileflags)
>      File "/space/wstein/farm/sage-3.4.rc0/local/bin/sagedoctest.py",
> line 38, in run_one_example
>        OrigDocTestRunner.run_one_example(self, test, example,
> filename, compileflags)
>      File "/space/wstein/farm/sage-3.4.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:1082)
>      File 
> "/space/wstein/farm/sage-3.4.rc0/local/lib/python2.5/site-packages/sage/plot/plot.py",
> line 861, in _repr_
>        self.show()
>      File 
> "/space/wstein/farm/sage-3.4.rc0/local/lib/python2.5/site-packages/sage/plot/plot.py",
> line 1278, in show
>        hgridlinesstyle=hgridlinesstyle)
>      File 
> "/space/wstein/farm/sage-3.4.rc0/local/lib/python2.5/site-packages/sage/plot/plot.py",
> line 1597, in save
>        canvas.print_figure(filename, dpi=dpi)
>      File 
> "/space/wstein/farm/sage-3.4.rc0/local/lib/python2.5/site-packages/matplotlib/backend_bases.py",
> line 1453, in print_figure
>        **kwargs)
>      File 
> "/space/wstein/farm/sage-3.4.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
> ***Test Failed*** 1 failures.
> For whitespace errors, see the file
> /space/wstein/farm/sage-3.4.rc0/tmp/.doctest_graph_bundle.py
>         [2.0 s]
>
> I re-ran the doctest a few hundred times and could *not* replicate this.

I looked at this; this means that libpng noticed some problem, but I
don't think you can tell what the problem is from this backtrace.
(More specifically, some code somewhere in libpng called png_error(),
but this could have been called from many places within libpng and we
can't tell which location actually called it.)

Carl

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