Hi, I think this error is not caused by sphinx. The traceback said "scikit-learn/doc/sphinxext/gen_rst.py" is error origin.
https://github.com/scikit-learn/scikit-learn/blob/master/doc/sphinxext/gen_rst.py I think this extension supports HTML build only. Please contact in the issue tracker of the scikit-learn. https://github.com/scikit-learn/scikit-learn/issues Regards, -- Takayuki SHIMIZUKAWA http://about.me/shimizukawa 2013/9/7 <[email protected]>: > I have tried to compile the pdf version of the scikit-learn documentation. > But I have the following > error at the end. Anyone know what happens? > > =================================================== > # Sphinx version: 1.2b1 > # Python version: 2.7.3 > # Docutils version: 0.8.1 release > # Jinja2 version: 2.6 > Traceback (most recent call last): > File > "/Users/Celestrist/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/sphinx/cmdline.py", > line 247, in main > app.build(force_all, filenames) > File > "/Users/Celestrist/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/sphinx/application.py", > line 220, in build > self.emit('build-finished', None) > File > "/Users/Celestrist/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/sphinx/application.py", > line 353, in emit > results.append(callback(self, *args)) > File "/Users/Celestrist/scikit-learn/doc/sphinxext/gen_rst.py", line 942, > in embed_code_links > relative=True) > File "/Users/Celestrist/scikit-learn/doc/sphinxext/gen_rst.py", line 212, > in __init__ > sindex = get_data(searchindex_url) > File "/Users/Celestrist/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: > u'/Users/Celestrist/scikit-learn/doc/_build/latex/searchindex.js' > > -- > You received this message because you are subscribed to the Google Groups > "sphinx-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sphinx-users. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/groups/opt_out.
