From: Nils W. <nw...@ia...> - 2010-04-28 18:48:42
|
/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/sphinxext/plot_directive.py:300: PlotWarning: Exception running plot /home/nwagner/svn/matplotlib/doc/mpl_examples/pylab_examples/fig_subplot_demo.py Traceback (most recent call last): File "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/sphinxext/plot_directive.py", line 297, in render_figures run_code(plot_path, function_name, plot_code) File "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/sphinxext/plot_directive.py", line 207, in run_code fd = open(fname) IOError: [Errno 2] No such file or directory: 'fig_subplot_demo.py' warnings.warn(s, PlotWarning) Exception occurred while building, starting debugger: Traceback (most recent call last): File "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-1.0dev_20091204-py2.6.egg/sphinx/cmdline.py", line 172, in main app.build(all_files, filenames) File "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-1.0dev_20091204-py2.6.egg/sphinx/application.py", line 130, in build self.builder.build_update() File "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-1.0dev_20091204-py2.6.egg/sphinx/builders/__init__.py", line 265, in build_update 'out of date' % len(to_build)) File "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-1.0dev_20091204-py2.6.egg/sphinx/builders/__init__.py", line 285, in build purple, length): File "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-1.0dev_20091204-py2.6.egg/sphinx/builders/__init__.py", line 131, in status_iterator for item in iterable: File "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-1.0dev_20091204-py2.6.egg/sphinx/environment.py", line 513, in update_generator self.read_doc(docname, app=app) File "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-1.0dev_20091204-py2.6.egg/sphinx/environment.py", line 604, in read_doc pub.publish() File "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/core.py", line 204, in publish self.settings) File "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/readers/__init__.py", line 69, in read self.parse() File "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/readers/__init__.py", line 75, in parse self.parser.parse(self.input, document) File "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/parsers/rst/__init__.py", line 157, in parse self.statemachine.run(inputlines, document, inliner=self.inliner) File "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/parsers/rst/states.py", line 170, in run input_source=document['source']) File "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/statemachine.py", line 232, in run context, state, transitions) File "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/statemachine.py", line 420, in check_line return method(match, context, next_state) File "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/parsers/rst/states.py", line 2658, in underline self.section(title, source, style, lineno - 1, messages) File "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/parsers/rst/states.py", line 308, in section self.new_subsection(title, lineno, messages) File "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/parsers/rst/states.py", line 376, in new_subsection node=section_node, match_titles=1) File "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/parsers/rst/states.py", line 266, in nested_parse node=node, match_titles=match_titles) File "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/parsers/rst/states.py", line 195, in run results = StateMachineWS.run(self, input_lines, input_offset) File "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/statemachine.py", line 232, in run context, state, transitions) File "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/statemachine.py", line 420, in check_line return method(match, context, next_state) File "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/parsers/rst/states.py", line 2239, in explicit_markup nodelist, blank_finish = self.explicit_construct(match) File "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/parsers/rst/states.py", line 2251, in explicit_construct return method(self, expmatch) File "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/parsers/rst/states.py", line 1994, in directive directive_class, match, type_name, option_presets) File "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/parsers/rst/states.py", line 2043, in run_directive result = directive_instance.run() File "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/parsers/rst/__init__.py", line 364, in run self.state, self.state_machine) File "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/sphinxext/plot_directive.py", line 441, in plot_directive options, state_machine) File "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/sphinxext/plot_directive.py", line 364, in _plot_directive shutil.copyfile(plot_path, os.path.join(destdir, fname)) File "/usr/lib64/python2.6/shutil.py", line 52, in copyfile fsrc = open(src, 'rb') IOError: [Errno 2] No such file or directory: u'/home/nwagner/svn/matplotlib/doc/mpl_examples/pylab_examples/fig_subplot_demo.py' > /usr/lib64/python2.6/shutil.py(52)copyfile() -> fsrc = open(src, 'rb') (Pdb) |
From: Michael D. <md...@st...> - 2010-04-28 19:19:05
|
That file was renamed in r8202: http://www.mail-archive.com/mat...@li.../msg04371.html But that shouldn't impact building of the docs (it doesn't for me). Have you tried doing a "python make.py clean"? Mike Nils Wagner wrote: > /home/nwagner/local/lib64/python2.6/site-packages/matplotlib/sphinxext/plot_directive.py:300: > PlotWarning: Exception running plot > /home/nwagner/svn/matplotlib/doc/mpl_examples/pylab_examples/fig_subplot_demo.py > Traceback (most recent call last): > File > "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/sphinxext/plot_directive.py", > line 297, in render_figures > run_code(plot_path, function_name, plot_code) > File > "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/sphinxext/plot_directive.py", > line 207, in run_code > fd = open(fname) > IOError: [Errno 2] No such file or directory: > 'fig_subplot_demo.py' > > warnings.warn(s, PlotWarning) > Exception occurred while building, starting debugger: > Traceback (most recent call last): > File > "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-1.0dev_20091204-py2.6.egg/sphinx/cmdline.py", > line 172, in main > app.build(all_files, filenames) > File > "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-1.0dev_20091204-py2.6.egg/sphinx/application.py", > line 130, in build > self.builder.build_update() > File > "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-1.0dev_20091204-py2.6.egg/sphinx/builders/__init__.py", > line 265, in build_update > 'out of date' % len(to_build)) > File > "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-1.0dev_20091204-py2.6.egg/sphinx/builders/__init__.py", > line 285, in build > purple, length): > File > "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-1.0dev_20091204-py2.6.egg/sphinx/builders/__init__.py", > line 131, in status_iterator > for item in iterable: > File > "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-1.0dev_20091204-py2.6.egg/sphinx/environment.py", > line 513, in update_generator > self.read_doc(docname, app=app) > File > "/home/nwagner/local/lib64/python2.6/site-packages/Sphinx-1.0dev_20091204-py2.6.egg/sphinx/environment.py", > line 604, in read_doc > pub.publish() > File > "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/core.py", > line 204, in publish > self.settings) > File > "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/readers/__init__.py", > line 69, in read > self.parse() > File > "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/readers/__init__.py", > line 75, in parse > self.parser.parse(self.input, document) > File > "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/parsers/rst/__init__.py", > line 157, in parse > self.statemachine.run(inputlines, document, > inliner=self.inliner) > File > "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/parsers/rst/states.py", > line 170, in run > input_source=document['source']) > File > "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/statemachine.py", > line 232, in run > context, state, transitions) > File > "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/statemachine.py", > line 420, in check_line > return method(match, context, next_state) > File > "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/parsers/rst/states.py", > line 2658, in underline > self.section(title, source, style, lineno - 1, > messages) > File > "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/parsers/rst/states.py", > line 308, in section > self.new_subsection(title, lineno, messages) > File > "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/parsers/rst/states.py", > line 376, in new_subsection > node=section_node, match_titles=1) > File > "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/parsers/rst/states.py", > line 266, in nested_parse > node=node, match_titles=match_titles) > File > "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/parsers/rst/states.py", > line 195, in run > results = StateMachineWS.run(self, input_lines, > input_offset) > File > "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/statemachine.py", > line 232, in run > context, state, transitions) > File > "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/statemachine.py", > line 420, in check_line > return method(match, context, next_state) > File > "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/parsers/rst/states.py", > line 2239, in explicit_markup > nodelist, blank_finish = > self.explicit_construct(match) > File > "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/parsers/rst/states.py", > line 2251, in explicit_construct > return method(self, expmatch) > File > "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/parsers/rst/states.py", > line 1994, in directive > directive_class, match, type_name, option_presets) > File > "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/parsers/rst/states.py", > line 2043, in run_directive > result = directive_instance.run() > File > "/home/nwagner/local/lib64/python2.6/site-packages/docutils-0.5-py2.6.egg/docutils/parsers/rst/__init__.py", > line 364, in run > self.state, self.state_machine) > File > "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/sphinxext/plot_directive.py", > line 441, in plot_directive > options, state_machine) > File > "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/sphinxext/plot_directive.py", > line 364, in _plot_directive > shutil.copyfile(plot_path, os.path.join(destdir, > fname)) > File "/usr/lib64/python2.6/shutil.py", line 52, in > copyfile > fsrc = open(src, 'rb') > IOError: [Errno 2] No such file or directory: > u'/home/nwagner/svn/matplotlib/doc/mpl_examples/pylab_examples/fig_subplot_demo.py' > >> /usr/lib64/python2.6/shutil.py(52)copyfile() >> > -> fsrc = open(src, 'rb') > (Pdb) > > ------------------------------------------------------------------------------ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA |