gak / pycallgraph

pycallgraph is a Python module that creates call graphs for Python programs.
GNU General Public License v2.0
1.83k stars 335 forks source link

exit with error while creating graph #78

Closed gak closed 11 years ago

gak commented 15 years ago

Using the module on windows with python 2.5 I get the following error:

Der Befehl "dot" ist entweder falsch geschrieben oder konnte nicht gefunden werden. {{{ Traceback (most recent call last): File "simple-coordinate-converter_graph.py", line 132, in pycallgraph.make_dot_graph('D:\development\python\scripts\coordinate-convert er\test.png') File "C:\python\lib\site-packages\pycallgraph.py", line 378, in make_dot_graph

'code %(ret)i.' % locals())

pycallgraph.PyCallGraphException: The command "dot -Tpng -oD:\myscript est.png c:\dokume~1\USERNAME\lokale~1\temp\tmpu4jgj j" failed with error code 1. }}} Drücken Sie eine beliebige Taste . . .

gak commented 15 years ago

Author: anonymous I think I have to install Graphviz first!

Sorry for that!

Kind regards and thanks for your code.

gak commented 15 years ago

Author: gak I'll make an issue to make the error message friendlier.

gak commented 15 years ago

Author: gak Moved to #22