Cache problem after igoring a directory.
After I added my .hg directory to the exclude_patterns variable, the immediate following build failed, but the problem itself vanished afterwards (all following builds are working fine).
$ make html mkdir -p _static sphinx-build -b html -d _build/doctrees . _build/html Running Sphinx v1.1.2 loading pickled environment... done building [html]: targets for 8 source files that are out of date updating environment: [config changed] 7 added, 0 changed, 1 removed reading sources... [100%] workflow looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 12%] .hg/last-message Exception occurred: File "/home/ESA-GRIMMA/ranft/.virtualenvs/docutils/lib/python2.5/site-packages/sphinx/environment.py", line 1167, in get_toc_for toc = self.tocs[docname].deepcopy() KeyError: '.hg/last-message' The full traceback has been saved in /tmp/sphinx-err-RTJpO6.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-dev/>, or report them in the tracker at <http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks! make: *** [html] Fehler 1 $ sphinx-build --version Sphinx v1.1.2