Jae-Joon Lee wrote: > The error happens because of the *.rst files under doc/examples that > are not in sync with examples/*.py. > Removing that directory (doc/examples) will solve the problem (the > directory will be repopulated when you run make.py again). Here is a > related link. > > http://old.nabble.com/python-make.py-html-failure-tt26894350.html
Thank you for the quick response. That was it, exactly. There are still some example script failures, but nothing that stops the build in its tracks. > > Maybe we need something like "python make.py clean"? Yes, if the generated files can't all land in the "build" directory (as would seem preferable), then the next-best thing would be to have make.py able to do a thorough cleaning. Eric > > Regards, > > -JJ > > > On Fri, Jan 1, 2010 at 11:09 PM, Eric Firing <efir...@hawaii.edu> wrote: >> I wanted to make a small fix to the contour docstring, and test it >> before committing, so I tried building the docs from scratch. It fails >> with the last part of the traceback being: >> >> File >> "/usr/local/lib/python2.6/dist-packages/matplotlib/sphinxext/plot_directive.py", >> line 414, in plot_directive >> options, state_machine) >> File >> "/usr/local/lib/python2.6/dist-packages/matplotlib/sphinxext/plot_directive.py", >> line 337, in _plot_directive >> shutil.copyfile(plot_path, os.path.join(destdir, fname)) >> File "/usr/lib/python2.6/shutil.py", line 52, in copyfile >> fsrc = open(src, 'rb') >> IOError: [Errno 2] No such file or directory: >> u'/home/efiring/programs/py/mpl/mpl_trunk/doc/mpl_examples/axes_grid/demo_fixed_size_axes.py' >> > /usr/lib/python2.6/shutil.py(52)copyfile() >> -> fsrc = open(src, 'rb') >> >> I suspect the problem is that doc/examples/axes_grid has many .rst files >> for .py scripts that are no longer present, at least on my svn checkout. >> I have a demo_fixed_size_axes.pyc sitting around, but no corresponding >> .py, again indicating that the .py was removed from svn. >> >> Is there some step I am missing, or is there a need to remove from the >> svn tree those .rst files that lack corresponding .py? >> >> Eric >> >> ------------------------------------------------------------------------------ >> This SF.Net email is sponsored by the Verizon Developer Community >> Take advantage of Verizon's best-in-class app development support >> A streamlined, 14 day to market process makes app distribution fast and easy >> Join now and get one step closer to millions of Verizon customers >> http://p.sf.net/sfu/verizon-dev2dev >> _______________________________________________ >> Matplotlib-devel mailing list >> Matplotlib-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel >> ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel