You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using an extension that fails when using singlehtml, raising an exception during util/nodes.py:inline_all_toctrees(). The extension's node class doesn't play nice with _new_copy(), apparently. The exception is caught by the bare except Exception: line in util/nodes.py:inline_all_toctrees(), emitting a warning that a referenced document does not exist, even though the document does exist and the error is something else entirely.
Expected results
I think ideally this except block would only trigger on Exceptions that actually result from nonexistent files, letting all other exceptions bubble up.
The text was updated successfully, but these errors were encountered:
Problem
I'm using an extension that fails when using
singlehtml
, raising an exception duringutil/nodes.py:inline_all_toctrees()
. The extension's node class doesn't play nice with_new_copy()
, apparently. The exception is caught by the bareexcept Exception:
line inutil/nodes.py:inline_all_toctrees()
, emitting a warning that a referenced document does not exist, even though the document does exist and the error is something else entirely.Expected results
I think ideally this except block would only trigger on Exceptions that actually result from nonexistent files, letting all other exceptions bubble up.
The text was updated successfully, but these errors were encountered: