Skip to content

Conversation

@tapaswenipathak
Copy link
Contributor

if triggered build from a new branch rtd build errors. could be because
it builds all files not just changed.
https://readthedocs.org/projects/openms/builds/17572157/

Closes #18.

(there were two errors in local, but the build was successful)

Screenshot 2022-07-29 at 6 17 27 PM

ReadTheDocs is not recognizing https://sphinx-inline-tabs.readthedocs.io/en/latest/usage.html#rich-tab-labels:

/home/docs/checkouts/readthedocs.org/user_builds/openms-staging/checkouts/rtd-build-errors/docs/advanced-resources/custom-compilation.md:8: WARNING: unknown node type: <_TabInput: >

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/openms-staging/envs/rtd-build-errors/lib/python3.9/site-packages/sphinx/cmd/build.py", line 277, in build_main
    app.build(args.force_all, filenames)
  File "/home/docs/checkouts/readthedocs.org/user_builds/openms-staging/envs/rtd-build-errors/lib/python3.9/site-packages/sphinx/application.py", line 349, in build
    self.builder.build_update()
  File "/home/docs/checkouts/readthedocs.org/user_builds/openms-staging/envs/rtd-build-errors/lib/python3.9/site-packages/sphinx/builders/__init__.py", line 301, in build_update
    self.build(to_build,
  File "/home/docs/checkouts/readthedocs.org/user_builds/openms-staging/envs/rtd-build-errors/lib/python3.9/site-packages/sphinx/builders/__init__.py", line 367, in build
    self.write(docnames, list(updated_docnames), method)
  File "/home/docs/checkouts/readthedocs.org/user_builds/openms-staging/envs/rtd-build-errors/lib/python3.9/site-packages/sphinx/builders/__init__.py", line 559, in write
    self._write_serial(sorted(docnames))
  File "/home/docs/checkouts/readthedocs.org/user_builds/openms-staging/envs/rtd-build-errors/lib/python3.9/site-packages/sphinx/builders/__init__.py", line 569, in _write_serial
    self.write_doc(docname, doctree)
  File "/home/docs/checkouts/readthedocs.org/user_builds/openms-staging/envs/rtd-build-errors/lib/python3.9/site-packages/sphinx/builders/_epub_base.py", line 367, in write_doc
    super().write_doc(docname, doctree)
  File "/home/docs/checkouts/readthedocs.org/user_builds/openms-staging/envs/rtd-build-errors/lib/python3.9/site-packages/sphinx/builders/html/__init__.py", line 665, in write_doc
    self.docwriter.write(doctree, destination)
  File "/home/docs/checkouts/readthedocs.org/user_builds/openms-staging/envs/rtd-build-errors/lib/python3.9/site-packages/docutils/writers/__init__.py", line 78, in write
    self.translate()
  File "/home/docs/checkouts/readthedocs.org/user_builds/openms-staging/envs/rtd-build-errors/lib/python3.9/site-packages/sphinx/writers/html.py", line 59, in translate
    self.document.walkabout(visitor)
  File "/home/docs/checkouts/readthedocs.org/user_builds/openms-staging/envs/rtd-build-errors/lib/python3.9/site-packages/docutils/nodes.py", line 227, in walkabout
    if child.walkabout(visitor):
  File "/home/docs/checkouts/readthedocs.org/user_builds/openms-staging/envs/rtd-build-errors/lib/python3.9/site-packages/docutils/nodes.py", line 227, in walkabout
    if child.walkabout(visitor):
  File "/home/docs/checkouts/readthedocs.org/user_builds/openms-staging/envs/rtd-build-errors/lib/python3.9/site-packages/docutils/nodes.py", line 227, in walkabout
    if child.walkabout(visitor):
  File "/home/docs/checkouts/readthedocs.org/user_builds/openms-staging/envs/rtd-build-errors/lib/python3.9/site-packages/docutils/nodes.py", line 240, in walkabout
    visitor.dispatch_departure(self)
  File "/home/docs/checkouts/readthedocs.org/user_builds/openms-staging/envs/rtd-build-errors/lib/python3.9/site-packages/sphinx/util/docutils.py", line 583, in dispatch_departure
    super().dispatch_departure(node)
  File "/home/docs/checkouts/readthedocs.org/user_builds/openms-staging/envs/rtd-build-errors/lib/python3.9/site-packages/docutils/nodes.py", line 2034, in dispatch_departure
    return method(node)
  File "/home/docs/checkouts/readthedocs.org/user_builds/openms-staging/envs/rtd-build-errors/lib/python3.9/site-packages/docutils/nodes.py", line 2056, in unknown_departure
    raise NotImplementedError(
NotImplementedError: <class 'sphinx.writers.html5.HTML5Translator'> departing unknown node type: _TabInput

Exception occurred:
  File "/home/docs/checkouts/readthedocs.org/user_builds/openms-staging/envs/rtd-build-errors/lib/python3.9/site-packages/docutils/nodes.py", line 2056, in unknown_departure
    raise NotImplementedError(
NotImplementedError: <class 'sphinx.writers.html5.HTML5Translator'> departing unknown node type: _TabInput
The full traceback has been saved in /tmp/sphinx-err-2btcsmzr.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.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!

Describe the change

PR checklist

@tapaswenipathak tapaswenipathak requested a review from a team July 29, 2022 12:52
if triggered build from a new branch rtd build errors. could be because
it builds all files not just changed.
https://readthedocs.org/projects/openms-staging/builds/17565775/

Closes OpenMS#18.
@timosachsenberg
Copy link
Contributor

wip?

@tapaswenipathak
Copy link
Contributor Author

no, approve.

@tapaswenipathak
Copy link
Contributor Author

tapaswenipathak commented Jul 29, 2022

(dropping any changes to {tab}, PRing separately.

diff to compare:

@tapaswenipathak tapaswenipathak merged commit 859d45c into OpenMS:develop Jul 29, 2022
@tapaswenipathak tapaswenipathak deleted the rtd-build-errors branch July 29, 2022 13:11
tapaswenipathak added a commit to tapaswenipathak/OpenMS-docs that referenced this pull request Jul 29, 2022
tapaswenipathak added a commit to tapaswenipathak/OpenMS-docs that referenced this pull request Jul 29, 2022
jpfeuffer pushed a commit that referenced this pull request Aug 2, 2022
* tabs error

ref: #146

* Fix css not found

* minimal tab for custom_compilation.md

* failing command is epub generation

ref: https://pastebin.com/9PTWprLD

* add htmlzip to formats

* stable: w/o epub

https://openms-staging.readthedocs.io/en/tabs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

URLs should be clickable

2 participants