From: Benjamin R. <ben...@ou...> - 2013-07-01 11:40:43
|
Make sure you do a make.py first and a git clean -fxd. I get these errors whenever a file is moved around. Ben Root On Jun 30, 2013 6:09 PM, "Sandro Tosi" <san...@gm...> wrote: > Hello, > I'm preparing the Debian package for matplotlib 1.3.0rc4 but I got a > failure while building documentation, here's the extract from the > build log: > > ... > # build the doc > ( cd doc ; MPLCONFIGDIR=. MATPLOTLIBDATA=../lib/matplotlib/mpl-data/ \ > PYTHONPATH=../build/lib.linux-x86_64-2.7 ./make.py --small all ) > Running Sphinx v1.1.3 > Initializing GitHub plugin > loading pickled environment... not yet created > [autosummary] generating autosummary for: api/afm_api.rst, > api/animation_api.rst, api/api_changes.rst, api/artist_api.rst, > api/axes_api.rst, api/axis_api.rst, api/backend_bases_api.rst, > api/backend_gtkagg_api.rst, api/backend_pdf_api.rst, > api/backend_qt4agg_api.rst, ..., users/pyplot_tutorial.rst, > users/recipes.rst, users/screenshots.rst, users/shell.rst, > users/text_intro.rst, users/text_props.rst, > users/tight_layout_guide.rst, users/transforms_tutorial.rst, > users/usetex.rst, users/whats_new.rst > > building [html]: targets for 111 source files that are out of date > updating environment: 112 added, 0 changed, 0 removed > reading sources... [ 0%] api/afm_api > reading sources... [ 1%] api/animation_api > reading sources... [ 2%] api/api_changes > reading sources... [ 3%] api/artist_api > /usr/lib/python2.7/dist-packages/numpydoc/docscrape.py:117: > UserWarning: Unknown section Accepts: > warn("Unknown section %s" % key) > > 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 > "/home/morph/deb/build-area/matplotlib-1.3.0~rc4/build/lib.linux-x86_64-2.7/matplotlib/sphinxext/plot_directive.py", > line 228, in plot_directive > return run(arguments, content, options, state_machine, state, lineno) > File > "/home/morph/deb/build-area/matplotlib-1.3.0~rc4/build/lib.linux-x86_64-2.7/matplotlib/sphinxext/plot_directive.py", > line 670, in run > with open(source_file_name, 'r') as fd: > IOError: [Errno 2] No such file or directory: > > u'/home/morph/deb/build-area/matplotlib-1.3.0~rc4/doc/mpl_examples/pylab_examples/fancyarrow_demo.py' > The full traceback has been saved in /tmp/sphinx-err-BQFK5w.log, if > you want to report the issue to the developers. > Please also report this if it was a user error, so that a better error > message can be provided next time. > Either send bugs to the mailing list at > <http://groups.google.com/group/sphinx-dev/>, > or report them in the tracker at > <http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks! > Building HTML failed. > .. > > and attached is the mentioned file. > > Please let me know if you want me to test something to have that fixed. > > Regards, > -- > Sandro Tosi (aka morph, morpheus, matrixhasu) > My website: http://matrixhasu.altervista.org/ > Me at Debian: http://wiki.debian.org/SandroTosi > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > > |