Hi Sklearners,

I wanted to test an addition to the narrative docs but I'm currently unable
to build it (exception occurred blablah).

I'm on a ubuntu 12.04 laptop with Sphinx v1.1.3 (1.1.3+dfsg-4ubuntu3).

The "how to contribute" section clearly states that we should use v1.0 to
build the docs.
http://scikit-learn.org/stable/developers/index.html#documentation

I did a quick search to find a 1.0 package for ubuntu but failed.

So my question is : how do you guys do to build the docs on a reasonably
recent linux distro ?

Thanks !

Eustache

==> Here is the stack trace <==
"""
~/sources/oss/scikit-learn/doc$ make
sphinx-build -D plot_gallery=False -b html -d _build/doctrees   .
_build/html
Making output directory...
Running Sphinx v1.1.3
loading pickled environment... not yet created

Exception occurred:
  File "/usr/lib/python2.7/dist-packages/sphinx/cmdline.py", line 188, in
main
    warningiserror, tags)
  File "/usr/lib/python2.7/dist-packages/sphinx/application.py", line 134,
in __init__
    self._init_builder(buildername)
  File "/usr/lib/python2.7/dist-packages/sphinx/application.py", line 195,
in _init_builder
    self.emit('builder-inited')
  File "/usr/lib/python2.7/dist-packages/sphinx/application.py", line 314,
in emit
    results.append(callback(self, *args))
  File "/home/ediemert/sources/oss/scikit-learn/doc/sphinxext/gen_rst.py",
line 460, in generate_example_rst
    generate_dir_rst(dir, fhindex, example_dir, root_dir, plot_gallery)
  File "/home/ediemert/sources/oss/scikit-learn/doc/sphinxext/gen_rst.py",
line 522, in generate_dir_rst
    src_dir)
  File "/home/ediemert/sources/oss/scikit-learn/doc/sphinxext/gen_rst.py",
line 494, in line_count_sort
    return np.array(unsorted[index][:,0]).tolist()
IndexError: invalid index
The full traceback has been saved in /tmp/sphinx-err-3IMY3a.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!
make: *** [html-noplot] Erreur 1
"""
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to