furo 2022.6.4.1: AttributeError: 'document' object has no attribute 'findall' #453
-
While building pip document with furo 2022.6.4.1, I get:
It was add in 7fa8d08. And the build process works fine with furo 2022.4.7. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
What version of Sphinx are you on? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I also just encountered this error. File "/Users/robin/miniconda/lib/python3.9/site-packages/furo/__init__.py", line 47, in run
for node in list(self.document.findall(nodes.table)):
AttributeError: 'document' object has no attribute 'findall' I see that the Possible solutions:
|
Beta Was this translation helpful? Give feedback.
findall
is only added in docutils 0.18. In myst-parser I added a compatibility function, to fallback totraverse
on an attribute error; https://github.com/executablebooks/MyST-Parser/blob/75ef9cb7b65c98d969724fc6c096e8d6209c5ea0/myst_parser/_compat.py#L7