Skip to content

Docs build failure #2766

Closed
Closed

Description

@takluyver

The daily build on Launchpad failed - from the error message, I guess the change was most likely in #2643.

reading sources... [  0%] api/axes_api

Exception occurred:
  File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 196, in run
    results = StateMachineWS.run(self, input_lines, input_offset)
  File "/usr/lib/python2.7/dist-packages/docutils/statemachine.py", line 239, in run
    context, state, transitions)
  File "/usr/lib/python2.7/dist-packages/docutils/statemachine.py", line 460, in check_line
    return method(match, context, next_state)
  File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 2605, in explicit_markup
    nodelist, blank_finish = self.explicit_construct(match)
  File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 2312, in explicit_construct
    return method(self, expmatch)
  File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 2055, in directive
    directive_class, match, type_name, option_presets)
  File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 2104, in run_directive
    result = directive_instance.run()
  File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/__init__.py", line 397, in run
    self.state, self.state_machine)
  File "/build/buildd/matplotlib-1.3.0~1+6878+27~ubuntu13.10.1/build/lib.linux-i686-2.7/matplotlib/sphinxext/plot_directive.py", line 238, in plot_directive
    return run(arguments, content, options, state_machine, state, lineno)
  File "/build/buildd/matplotlib-1.3.0~1+6878+27~ubuntu13.10.1/build/lib.linux-i686-2.7/matplotlib/sphinxext/plot_directive.py", line 700, in run
    with io.open(source_file_name, 'r', encoding='utf-8') as fd:
IOError: [Errno 2] No such file or directory: '/build/buildd/matplotlib-1.3.0~1+6878+27~ubuntu13.10.1/doc/examples/statistics/boxplot_demo.py'

Activity

  1. tacaswell commented on Jan 25, 2014

    @tacaswell
    Member

    @phobson can you take a look at this.

    I am a little confused, the naming claims you are building 1.3.0, but in the logs you are building 1.4.x.

  2. phobson commented on Jan 25, 2014

    @phobson
    Member

    I think I figured this out: I put new examples in matplotlib/examples/statistics/*.py. It looks to me that error is caused by an incorrect path in the docstring here: https://github.com/matplotlib/matplotlib/pull/2643/files#diff-7e79bc5b4cdd21de353697e9ada248b7R2938

    so if .. plot:: pyplots/boxplot_demo.py maps to matplotlib/docs/pyplots/boxplot_demo.py

    would .. plot:: ~/examples/statistics/boxplot_demo.py map to matplotlib/examples/statistics/boxplot_demo.py ?

  3. takluyver commented on Jan 25, 2014

    @takluyver
    ContributorAuthor

    @tacaswell : Don't mind the naming - it's building current (within the last day) master, I just haven't updated the version number in the packaging recently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions