creating docs fails

With a clear checkout building the docs fails:

[...]
Sphinx v0.4.2, building html
trying to load pickled env... not found
building [html]: targets for 348 source files that are out of date
updating environment: 348 added, 0 changed, 0 removed
reading... api/afm_api api/artist_api Exception occurred:
  File "/usr/lib/python2.5/shutil.py", line 51, 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-X12gbJ.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-dev@...605... Thanks!
Building HTML failed.

I was gettin a similar error on one platform, but not on another,
though I was using clean svn dirs for the build in each one. I
guessed it might be related to sphinx version I was using for the
build, and when I upgraded sphinx to 0.5 (svn HEAD actually) on the
broken platform I got a working doc build. Give it a try,

JDH

···

On Sat, Oct 18, 2008 at 8:34 AM, Manuel Metz <mmetz@...459...> wrote:

With a clear checkout building the docs fails:

[...]
Sphinx v0.4.2, building html
trying to load pickled env... not found
building [html]: targets for 348 source files that are out of date
updating environment: 348 added, 0 changed, 0 removed
reading... api/afm_api api/artist_api Exception occurred:
File "/usr/lib/python2.5/shutil.py", line 51, 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-X12gbJ.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-dev@...605... Thanks!
Building HTML failed.

John Hunter wrote:

···

On Sat, Oct 18, 2008 at 8:34 AM, Manuel Metz <mmetz@...459...> wrote:

With a clear checkout building the docs fails:

[...]
Sphinx v0.4.2, building html
trying to load pickled env... not found
building [html]: targets for 348 source files that are out of date
updating environment: 348 added, 0 changed, 0 removed
reading... api/afm_api api/artist_api Exception occurred:
File "/usr/lib/python2.5/shutil.py", line 51, 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-X12gbJ.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-dev@...605... Thanks!
Building HTML failed.

I was gettin a similar error on one platform, but not on another,
though I was using clean svn dirs for the build in each one. I
guessed it might be related to sphinx version I was using for the
build, and when I upgraded sphinx to 0.5 (svn HEAD actually) on the
broken platform I got a working doc build. Give it a try,

JDH

Ah okay - thanks John. It was working before with sphinx 0.4.2 (on
Ubuntu 8.10b). Now, after upgrading to sphinx 0.5 trunk it works again.

mm