Skip to content

Read the docs is not building anymore #58

@Titan-C

Description

@Titan-C

The traceback

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/sphinx-gallery/envs/latest/local/lib/python2.7/site-packages/sphinx/cmdline.py", line 245, in main
    app.build(opts.force_all, filenames)
  File "/home/docs/checkouts/readthedocs.org/user_builds/sphinx-gallery/envs/latest/local/lib/python2.7/site-packages/sphinx/application.py", line 282, in build
    self.emit('build-finished', None)
  File "/home/docs/checkouts/readthedocs.org/user_builds/sphinx-gallery/envs/latest/local/lib/python2.7/site-packages/sphinx/application.py", line 497, in emit
    results.append(callback(self, *args))
  File "/home/docs/checkouts/readthedocs.org/user_builds/sphinx-gallery/envs/latest/local/lib/python2.7/site-packages/sphinx_gallery-0.0.11-py2.7.egg/sphinxgallery/docs_resolv.py", line 432, in embed_code_links
    _embed_code_links(app, gallery_conf, gallery_dir)
  File "/home/docs/checkouts/readthedocs.org/user_builds/sphinx-gallery/envs/latest/local/lib/python2.7/site-packages/sphinx_gallery-0.0.11-py2.7.egg/sphinxgallery/docs_resolv.py", line 328, in _embed_code_links
    relative=True)
  File "/home/docs/checkouts/readthedocs.org/user_builds/sphinx-gallery/envs/latest/local/lib/python2.7/site-packages/sphinx_gallery-0.0.11-py2.7.egg/sphinxgallery/docs_resolv.py", line 214, in __init__
    sindex = get_data(searchindex_url, gallery_dir)
  File "/home/docs/checkouts/readthedocs.org/user_builds/sphinx-gallery/envs/latest/local/lib/python2.7/site-packages/sphinx_gallery-0.0.11-py2.7.egg/sphinxgallery/docs_resolv.py", line 66, in get_data
    data = _get_data(url)
  File "/home/docs/checkouts/readthedocs.org/user_builds/sphinx-gallery/envs/latest/local/lib/python2.7/site-packages/sphinx_gallery-0.0.11-py2.7.egg/sphinxgallery/docs_resolv.py", line 48, in _get_data
    with open(url, 'r') as fid:
IOError: [Errno 2] No such file or directory: '/home/docs/checkouts/readthedocs.org/user_builds/sphinx-gallery/checkouts/latest/doc/_build/json/searchindex.js'

Exception occurred:
  File "/home/docs/checkouts/readthedocs.org/user_builds/sphinx-gallery/envs/latest/local/lib/python2.7/site-packages/sphinx_gallery-0.0.11-py2.7.egg/sphinxgallery/docs_resolv.py", line 48, in _get_data
    with open(url, 'r') as fid:
IOError: [Errno 2] No such file or directory: '/home/docs/checkouts/readthedocs.org/user_builds/sphinx-gallery/checkouts/latest/doc/_build/json/searchindex.js'

In the link embedding step it searches for searchindex.js in the json folder and not in the html folder. It might be a change in sphinx from pip?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions