Bug 684836

Summary: python-matplotlib missing dependency on dvipng
Product: [Fedora] Fedora Reporter: Sandro Bonazzola <sandro.bonazzola>
Component: python-matplotlibAssignee: Jef Spaleta <jspaleta>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 14CC: gwync, jonathan.underwood, jspaleta, orion, tomspur
Target Milestone: ---Keywords: EasyFix
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-matplotlib-1.0.1-12.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-23 14:46:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sandro Bonazzola 2011-03-14 15:49:46 UTC
Description of problem:
Using matplotlib-python with gtk backend, I've an error saying dvipng: command not found.

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/matplotlib/backends/backend_gtk.py",
line 393, in expose_event
    self._render_figure(self._pixmap, w, h)
  File
"/usr/lib/python2.7/site-packages/matplotlib/backends/backend_gtkagg.py", line
75, in _render_figure
    FigureCanvasAgg.draw(self)
  File "/usr/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py",
line 394, in draw
    self.figure.draw(self.renderer)
  File "/usr/lib/python2.7/site-packages/matplotlib/artist.py", line 55, in
draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/matplotlib/figure.py", line 798, in
draw
    func(*args)
  File "/usr/lib/python2.7/site-packages/matplotlib/artist.py", line 55, in
draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/matplotlib/axes.py", line 1934, in
draw
    a.draw(renderer)
  File "/usr/lib/python2.7/site-packages/matplotlib/artist.py", line 55, in
draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/matplotlib/axis.py", line 1017, in
draw
    tick.draw(renderer)
  File "/usr/lib/python2.7/site-packages/matplotlib/artist.py", line 55, in
draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/matplotlib/axis.py", line 234, in draw
    self.label1.draw(renderer)
  File "/usr/lib/python2.7/site-packages/matplotlib/artist.py", line 55, in
draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/matplotlib/text.py", line 567, in draw
    self._fontproperties, angle)
  File "/usr/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py",
line 198, in draw_tex
    Z = texmanager.get_grey(s, size, self.dpi)
  File "/usr/lib/python2.7/site-packages/matplotlib/texmanager.py", line 513,
in get_grey
    pngfile = self.make_png(tex, fontsize, dpi)
  File "/usr/lib/python2.7/site-packages/matplotlib/texmanager.py", line 459,
in make_png
    \n\n'% dvifile + report)
RuntimeError: dvipng was not able to process the following file:
/root/.matplotlib/tex.cache/4e985473485b35b1b4ab262652c2c542.dvi
Here is the full report generated by dvipng:

Version-Release number of selected component (if applicable):
python-matplotlib-1.0.1-11.fc14.i686

How reproducible:
Always reproducible 

Steps to Reproduce:
1. plot a graph with mathplotlib using gtk backend.
2.
3.
  
Actual results:
RuntimeError: dvipng not found

Expected results:
No missing dependency on dvipng