[Scipy-tickets] [SciPy] #1671: documentation build issue with sphinx >= 1.1 in stats tutorial

SciPy Trac scipy-tickets@scipy....
Thu Jun 7 11:46:44 CDT 2012


#1671: documentation build issue with sphinx >= 1.1 in stats tutorial
--------------------------+-------------------------------------------------
 Reporter:  dlaxalde      |       Owner:  cdavid     
     Type:  defect        |      Status:  new        
 Priority:  normal        |   Milestone:  Unscheduled
Component:  Build issues  |     Version:  devel      
 Keywords:                |  
--------------------------+-------------------------------------------------
 With sphinx >= 1.1 (tested with 1.1.2 and 1.1.3), the documentation fails
 to build with the following error:


 {{{
 reading sources... [100%] tutorial/stats
 Exception occurred:
   File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line
 195, in run
     results = StateMachineWS.run(self, input_lines, input_offset)
   File "/usr/lib/pymodules/python2.7/docutils/statemachine.py", line 237,
 in run
     context, state, transitions)
   File "/usr/lib/pymodules/python2.7/docutils/statemachine.py", line 458,
 in check_line
     return method(match, context, next_state)
   File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line
 2283, in explicit_markup
     nodelist, blank_finish = self.explicit_construct(match)
   File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line
 2295, in explicit_construct
     return method(self, expmatch)
   File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line
 2036, in directive
     directive_class, match, type_name, option_presets)
   File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line
 2087, in run_directive
     result = directive_instance.run()
   File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/__init__.py",
 line 382, in run
     self.state, self.state_machine)
   File
 "/usr/lib/pymodules/python2.7/matplotlib/sphinxext/plot_directive.py",
 line 210, in plot_directive
     return run(arguments, content, options, state_machine, state, lineno)
   File
 "/usr/lib/pymodules/python2.7/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/denis/src/python/scipy/doc/source/examples/normdiscr_plot1.py'

 }}}

 This was already discussed in [https://github.com/scipy/scipy/pull/152
 PR#152].

 Here is a patch for this (that I have to apply each time I build the
 doc...).

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1671>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list