The build of a documentation on Readthedocs failed with an Sphinx error quite difficult to understand:
Exception occurred:
File "/home/docs/checkouts/readthedocs.org/user_builds/fluidimage/envs/latest/local/lib/python2.7/site-packages/sphinx/ext/viewcode.py", line 61, in has_tag
if entry is None or entry[0] != code:
TypeError: 'bool' object has no attribute '__getitem__'
for the full log, see https://readthedocs.org/projects/fluidimage/builds/3758665/
I found that the same kind of issue has been experienced by other projects (link to the google search), but it does not help me to understand what happens.
What does this error mean? How can it be solved?
So a practical answer to my question can be
and the Sphinx-Readthedocs bug goes away. At least it is what happens to me.