Michael Droettboom <md...@stsci.edu> writes: > Darren Dale wrote: > > I am seeing some errors when I build the docs, including import errors > > for nonexistent date_support and basic_units modules, and: > I added the ability for explicitly setting sys.path so that modules in > the same directory as an example would be importable. It looks likes > that has somehow broken again. I'll look into it.
> > > > Most importantly: > > > > copying static files... > > Exception occurred: > > File "/usr/lib/python2.5/shutil.py", line 165, in rmtree > > names = os.listdir(path) > > OSError: [Errno 2] No such file or directory: > > '/home/darren/src/matplotlib/doc/build/html/_static/plot_directive' > > The full traceback has been saved in /tmp/sphinx-err-qaZ8fg.log, if > > you want toreport the issue to the author. > > Please also report this if it was a user error, so that a better error > > message can be provided next time. > > Send reports to sphinx-...@googlegroups.com > > <mailto:sphinx-...@googlegroups.com>. Thanks! > > Building HTML failed. > I haven't been able to get to the root of this problem, but an > "svn-clean" in the doc directory always fixes it for me. I get a similar error that I assumed was caused by the docs being generated by the version of matplotlib that is currently installed, rather than the new version that has just been compiled. I know the debian package has a workaround for this. I get: Sphinx v0.5, building html loading pickled environment... not found building [html]: targets for 369 source files that are out of date updating environment: 369 added, 0 changed, 0 removed reading sources... api/afm_api api/api_changes api/artist_api makefig: fullpath=../mpl_examples/pylab_examples/findobj_demo.py, outdir=_static/plot_directive/../mpl_examples/pylab_examples Exception occurred: File "/usr/lib/python2.5/shutil.py", line 46, in copyfile fsrc = open(src, 'rb') IOError: [Errno 2] No such file or directory: '../mpl_examples/pylab_examples/findobj_demo.py' The full traceback has been saved in /tmp/sphinx-err-L8wLV6.log, if you want to report the issue to the author. Please also report this if it was a user error, so that a better error message can be provided next time. Send reports to sphinx-...@googlegroups.com. Thanks! Building HTML failed. There is an examples directory, but no mpl_examples directory. Nb this error is from the 0.98.4 tarfile compiled on debian lenny with the sphinx 0.5 from debian's experimental packages. Chris ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel