Sphinx: graphviz

Created on 2 Jan 2015  路  3Comments  路  Source: sphinx-doc/sphinx

The graphviz extension does not work for me.

Trying the following code:

.. graph:: foo
"bar" -- "baz";

I get an error:

WARNING: dot command 'dot' cannot be run (needed for graphviz output), check the graphviz_dot setting

Exception occurred:
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Sphinx-0.6.2-py2.6.egg/sphinx/ext/graphviz.py", line 130, in render_dot_html
    fname, outfn = render_dot(self, code, options, 'png', prefix)
TypeError: 'NoneType' object is not iterable
The full traceback has been saved in /var/folders/+D/+DqyujUaFJyUdy7+OsFbKE+++yU/-Tmp-/sphinx-err-TmG5qs.log, if you want to report the issue to the author.

bug extensions

Most helpful comment

_From Dzhelil Rufat on 2009-06-19 00:02:45+00:00_

Apparently, I did not have the graphviz binary installed.
I still think the program should have a clearer message about the binary not being installed, rather than throwing a TypeError which does not provide any guidance on how to fix the problem.

All 3 comments

_From Dzhelil Rufat on 2009-06-19 00:02:45+00:00_

Apparently, I did not have the graphviz binary installed.
I still think the program should have a clearer message about the binary not being installed, rather than throwing a TypeError which does not provide any guidance on how to fix the problem.

_From Georg Brandl on 2009-07-09 18:26:00+00:00_

Should be fixed in <>.

_From Georg Brandl on 2013-03-31 13:57:11+00:00_

Removing version: 0.6.2 (automated comment)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shimizukawa picture shimizukawa  路  3Comments

jfbu picture jfbu  路  3Comments

susmita1d picture susmita1d  路  3Comments

webknjaz picture webknjaz  路  3Comments

eine picture eine  路  3Comments