Problem when using sphinx web support and blockdiag

Issue #26 resolved
Takafumi Arakaki
created an issue

I get the following error when trying to build sphinx web support and having blockdiag figure in the document.

{{{ Traceback (most recent call last): File "", line 9, in <module> File "/lib/python2.6/site-packages/sphinx/websupport/", line 126, in build File "/lib/python2.6/site-packages/sphinx/", line 204, in build self.builder.build_update() File "/lib/python2.6/site-packages/sphinx/builders/", line 196, in build_update 'out of date' % len(to_build)) File "/lib/python2.6/site-packages/sphinx/builders/", line 252, in build self.write(docnames, list(updated_docnames), method) File "/lib/python2.6/site-packages/sphinx/builders/", line 292, in write self.write_doc(docname, doctree) File "/lib/python2.6/site-packages/sphinx/builders/", line 62, in write_doc self.post_process_images(doctree) File "/lib/python2.6/site-packages/sphinx/builders/", line 611, in post_process_images Builder.post_process_images(self, doctree) File "/lib/python2.6/site-packages/sphinx/builders/", line 134, in post_process_images if '?' in node['candidates']: File "**/lib/python2.6/site-packages/docutils/", line 534, in getitem return self.attributes[key] KeyError: 'candidates' }}}

I am using:

  • sphinx: 1.1.2
  • sphinxcontrib-blockdiag: 1.0.1
  • docutils:0.8.1

See the minimum example I made:

This is how to run the build: {{{ rm -rf build python }}}