[SciPy-Dev] Building docs with Sphinx fails for 0.10.x

Skipper Seabold jsseabold@gmail....
Wed Feb 22 12:27:39 CST 2012


On Wed, Feb 22, 2012 at 1:14 PM,  <josef.pktd@gmail.com> wrote:
> On Wed, Feb 22, 2012 at 12:55 PM, David Verelst <david.verelst@gmail.com> wrote:
>> Hi All,
>>
>> When checking out the SciPy 0.10.1rc2 release I suddenly realised Sphinx
>> failed on building the documentation. First attempt was with Sphinx v1.0.2,
>> than 1.2 and 1.2predev (latest from their Hg repo). While SciPy 0.9
>> documentation builds just fine with Sphinx 1.0.2, 1.2 and 1.2predev, SciPy
>> 0.10.0 and 0.10.1rc2 both fail with the following:
>>
>> [snip]
>> File
>> "/usr/local/lib/python2.6/dist-packages/matplotlib/sphinxext/plot_directive.py",
>> line 627, in run
>>    fd = open(source_file_name, 'r')
>> IOError: [Errno 2] No such file or directory:
>> u'/home/dave/Downloads/Python/scipy-0.10.1rc2/doc/source/examples/normdiscr_plot1.py'
>>
>> Full backtrace is attached. Anyone familiar with this?
>
> This was discussed here
>
> https://github.com/scipy/scipy/pull/152#issuecomment-3856617
>
> As far as I know it's a problem looking for a fix.
>

FWIW, I don't have time to look at the details at the moment, but I
fixed a bug in mpl's plot_directive about the base directory some time
ago if that's the problem.

https://github.com/matplotlib/matplotlib/pull/132

Skipper


More information about the SciPy-Dev mailing list