[Pkg-owncloud-maintainers] Bug#706586: sphinx: hidden toctree → AttributeError: 'NoneType' object has no attribute 'extend'
jwilk at debian.org
Wed May 1 23:37:53 UTC 2013
Control: forward -1 https://bitbucket.org/birkenfeld/sphinx/issue/1157
Control: affects -1 src:owncloud-doc
Hidden toctree can make Sphinx die with the following exception:
AttributeError: 'NoneType' object has no attribute 'extend'
This bug causes owncloud-doc FTBFS:
| sphinx-build -b html -D html_theme='owncloud_release' -d _build/doctrees . _build/html/release
| Making output directory...
| Running Sphinx v1.2b1
| loading pickled environment... not yet created
| building [html]: targets for 27 source files that are out of date
| updating environment: 27 added, 0 changed, 0 removed
| reading sources... [ 3%] configuration/auth_ldap
| reading sources... [100%] maintenance/update
| looking for now-outdated files... none found
| pickling environment... done
| checking consistency... done
| preparing documents... done
| writing output... [ 3%] configuration/auth_ldap
| Exception occurred:
| File "/usr/lib/pymodules/python2.7/sphinx/environment.py", line 1046, in get_toctree_for
| AttributeError: 'NoneType' object has no attribute 'extend'
| The full traceback has been saved in /tmp/sphinx-err-ButmGa.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.
| Either send bugs to the mailing list at <http://groups.google.com/group/sphinx-users/>,
| or report them in the tracker at <http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
| make: *** [html-release] Error 1
More information about the Pkg-owncloud-maintainers