Error building documentation for 1.3.0rc4

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,

sphinx-err-BQFK5w.log (8.58 KB)

···

--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

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” <sandro.tosi@…149…> 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

Matplotlib-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

I'm building from 1.3.0rc4 tarball, so no git on the way and make.py
exists, else it would have failed calling it, not accessing a
mpl_examples sub-file; the doc/mpl_examples path doesn't exists (dunno
if it has to be a symlinks or what).

Cheers,

···

On Mon, Jul 1, 2013 at 1:40 PM, Benjamin Root <ben.root@...553...> wrote:

Make sure you do a make.py first and a git clean -fxd. I get these errors
whenever a file is moved around.

--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

I've created Building documentation from the tarball fails by mdboom · Pull Request #2187 · matplotlib/matplotlib · GitHub for this.

···

On 07/01/2013 07:43 AM, Sandro Tosi wrote:

On Mon, Jul 1, 2013 at 1:40 PM, Benjamin Root <ben.root@...553...> wrote:

Make sure you do a make.py first and a git clean -fxd. I get these errors
whenever a file is moved around.

I'm building from 1.3.0rc4 tarball, so no git on the way and make.py
exists, else it would have failed calling it, not accessing a
mpl_examples sub-file; the doc/mpl_examples path doesn't exists (dunno
if it has to be a symlinks or what).

Cheers,
--
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
Matplotlib-devel@lists.sourceforge.net
matplotlib-devel List Signup and Options