#9529: in graph_plot.py, sometimes get "libpng error: Image width or height is
zero in IHDR"
-----------------------+----------------------------------------------------
   Reporter:  rlm      |       Owner:  AlexGhitza
       Type:  defect   |      Status:  new       
   Priority:  major    |   Milestone:            
  Component:  algebra  |    Keywords:            
     Author:           |    Upstream:  N/A       
   Reviewer:           |      Merged:            
Work_issues:           |  
-----------------------+----------------------------------------------------

Comment(by rlm):

 {{{
 **********************************************************************
 File "/scratch/rlmill/sage-4.5.rc1/devel/sage-
 main/sage/graphs/graph_plot.py", line 267:
     sage: GP.plot()
 Exception raised:
     Traceback (most recent call last):
       File "/scratch/rlmill/sage-4.5.rc1/local/bin/ncadoctest.py", line
 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/scratch/rlmill/sage-4.5.rc1/local/bin/sagedoctest.py", line
 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File "/scratch/rlmill/sage-4.5.rc1/local/bin/ncadoctest.py", line
 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_4[13]>", line 1, in <module>
         GP.plot()###line 267:
     sage: GP.plot()
       File "/scratch/rlmill/sage-4.5.rc1/local/lib/python/site-
 packages/sage/misc/displayhook.py", line 174, in displayhook
         print_obj(sys.stdout, obj)
       File "/scratch/rlmill/sage-4.5.rc1/local/lib/python/site-
 packages/sage/misc/displayhook.py", line 142, in print_obj
         print >>out_stream, `obj`
       File "sage_object.pyx", line 101, in
 sage.structure.sage_object.SageObject.__repr__
 (sage/structure/sage_object.c:1370)
       File "/scratch/rlmill/sage-4.5.rc1/local/lib/python/site-
 packages/sage/plot/plot.py", line 915, in _repr_
         self.show()
       File "/scratch/rlmill/sage-4.5.rc1/local/lib/python/site-
 packages/sage/plot/plot.py", line 1437, in show
         self.save(DOCTEST_MODE_FILE, **options)
       File "/scratch/rlmill/sage-4.5.rc1/local/lib/python/site-
 packages/sage/plot/plot.py", line 1973, in save
         figure.savefig(filename,dpi=dpi,bbox_inches='tight',**options)
       File "/scratch/rlmill/sage-4.5.rc1/local/lib/python/site-
 packages/matplotlib/figure.py", line 1032, in savefig
         self.canvas.print_figure(*args, **kwargs)
       File "/scratch/rlmill/sage-4.5.rc1/local/lib/python/site-
 packages/matplotlib/backend_bases.py", line 1455, in print_figure
         **kwargs)
       File "/scratch/rlmill/sage-4.5.rc1/local/lib/python/site-
 packages/matplotlib/backends/backend_agg.py", line 366, in print_png
         filename_or_obj, self.figure.dpi)
     RuntimeError: Error building image
 **********************************************************************
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9529#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to