Comment 34 for bug 607395

Revision history for this message
WeatherGod (ben-v-root) wrote : Re: Please merge matplotlib 1.0.1-1 (universe) from debian experimental main

I haven't figured out your particular error, but browsing through the build log revealed that the local copy of the sample data is incomplete:

/tmp/buildd/matplotlib-1.0.1/build/lib.linux-x86_64-2.7/matplotlib/sphinxext/plot_directive.py:322: PlotWarning: Exception running plot /tmp/buildd/matplotlib-1.0.1/doc/mpl_examples/pylab_examples/image_demo2.py
Traceback (most recent call last):
  File "/tmp/buildd/matplotlib-1.0.1/build/lib.linux-x86_64-2.7/matplotlib/sphinxext/plot_directive.py", line 319, in render_figures
    run_code(plot_path, function_name, plot_code, context=context)
  File "/tmp/buildd/matplotlib-1.0.1/build/lib.linux-x86_64-2.7/matplotlib/sphinxext/plot_directive.py", line 230, in run_code
    "__plot__", fd, fname, ('py', 'r', imp.PY_SOURCE))
  File "image_demo2.py", line 9, in <module>
IOError: [Errno 2] No such file or directory: '/tmp/buildd/matplotlib-1.0.1/sampledata/ct.raw'

In addition, the log also revealed a slight logical error on the part of upstream matplotlib, because it attempts to generate a basemap image, but matplotlib is not dependent on basemap -- minor issue, though. There are a few other build errors, but I believe they were fixed in subsequent revisions to matplotlib 1.0.x branch.