Readthedocs 上的文档构建失败,出现一个很难理解的 Sphinx 错误:
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__'
有关完整日志,请参阅https://readthedocs.org/projects/fluidimage/builds/3758665/
我发现其他项目也遇到过同样的问题(链接到谷歌搜索),但这并不能帮助我理解发生了什么。
这个错误是什么意思?如何解决?