Issue #202 resolved

graphviz

Anonymous avatarAnonymous created an issue

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.

Comments (3)

  1. Dzhelil Rufat

    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.

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.