Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

0.14 documentation build error message searchindex.js #2511

Closed
apiszcz opened this Issue Oct 10, 2013 · 14 comments

Comments

Projects
None yet
5 participants

apiszcz commented Oct 10, 2013

# Sphinx version: 1.1.3
# Python version: 2.7.4
# Docutils version: 0.10 release
# Jinja2 version: 2.6
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/sphinx/cmdline.py", line 189, in main
    app.build(force_all, filenames)
  File "/usr/lib/python2.7/dist-packages/sphinx/application.py", line 209, in build
    self.emit('build-finished', None)
  File "/usr/lib/python2.7/dist-packages/sphinx/application.py", line 314, in emit
    results.append(callback(self, *args))
  File "/mnt/hgfs/E/p/pythonlib/doc/scikit-learn/doc/sphinxext/gen_rst.py", line 980, in embed_code_links
    relative=True)
  File "/mnt/hgfs/E/p/pythonlib/doc/scikit-learn/doc/sphinxext/gen_rst.py", line 212, in __init__
    sindex = get_data(searchindex_url)
  File "/mnt/hgfs/E/p/pythonlib/doc/scikit-learn/doc/sphinxext/gen_rst.py", line 71, in get_data
    with open(url, 'r') as fid:
IOError: [Errno 2] No such file or directory: '/mnt/hgfs/E/p/pythonlib/doc/scikit-learn/doc/_build/htmlhelp/searchindex.js'
Owner

larsmans commented Oct 12, 2013

What were you trying to do? I.e. which command is this?

apiszcz commented Oct 12, 2013

ideally build htmlhelp so I can try to create .chm version of the
documentation. Alternatively a PDF.
It appears that those formats may no longer be a priority.
Tx.

On Sat, Oct 12, 2013 at 2:30 PM, Lars Buitinck notifications@github.comwrote:

What were you trying to do? I.e. which command is this?


Reply to this email directly or view it on GitHubhttps://github.com/scikit-learn/scikit-learn/issues/2511#issuecomment-26203166
.

Owner

larsmans commented Oct 12, 2013

I don't think anyone ever tried creating a .chm before. PDF has been known to be broken for some time.

Owner

amueller commented Dec 27, 2013

I didn't even know that it was possible to create a chm. I think the pdf was fixed. We should really provide pdf and html for download.

Owner

larsmans commented Dec 27, 2013

The question is whether we want to support CHM. It would be a nice free extra, but I doubt that anyone of the devs is interested in maintaining the code that generates these files, and PDF is the portable alternative.

@amueller amueller added this to the 0.15.1 milestone Jul 18, 2014

👍 I tried making a pdf doc and it's still broken with the same error.

Owner

ogrisel commented Mar 18, 2015

I don't get OP's original error message when running make latexpdf on master anymore. I think it was fixed during a sprint end of last year (don't remember the issue number).

There are still broken examples that prevent sphinx to run correctly though:

LaTeX Warning: File `modules/../auto_examples/linear_model/plot_sparse_recovery
_003.png' not found on input line 8737.


! Package pdftex.def Error: File `modules/../auto_examples/linear_model/plot_sp
arse_recovery_003.png' not found.

Will have a look.

Owner

ogrisel commented Mar 18, 2015

The example runs correctly. It's the link that is broken, even on the HTML version:

http://scikit-learn.org/dev/modules/feature_selection.html#randomized-l1

I will fix it.

Owner

ogrisel commented Mar 18, 2015

Done. Now the next error is:

Chapter 11.
<plot_cv_predict.png, id=5218, 401.5pt x 281.05pt> <use plot_cv_predict.png>
<use plot_cv_predict.png>
! Undefined control sequence.
<argument> \node@class@name 

l.20800 ...otting Cross-Validated Predictions}}}}}
                                                  \end{figure}
Owner

ogrisel commented Mar 18, 2015

I don't understand what going wrong with this one. If anybody can help, feel free to give it a try.

Owner

amueller commented Mar 18, 2015

The error above was fixed here: #4337 along with others.

Owner

amueller commented Mar 18, 2015

The first error, that is. The second one, I have to check on. But the PDF builds pretty well, so I think we can close.

@amueller amueller closed this Mar 18, 2015

Owner

ogrisel commented Mar 18, 2015

It builds on your box? Not on mine. Anyway I will review, rebase an merge #4337.

Owner

amueller commented Mar 18, 2015

Well it gives one error (the rest I fixed recently) but it still builds.

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