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

pycallgraph and PySide? #167

Open frueter opened 7 years ago

frueter commented 7 years ago

Hi,

I'm not sure if this project is still alive, but it looks awesome, so I hope it is. I just tried running a fairly complex PySide program through pycallgraph but got the below error. I wonder if there is anything I can do to get this working?

Cheers, frank

``` %0 1
%0 1
%0 1
%0 1
%0 1
%0 1
%0 1
%0 1
libpath/shortest.c:324: triangulation failed
libpath/shortest.c:192: source point not in any triangle
Error: in routesplines, Pshortestpath failed
Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
  File "/Library/Python/2.7/site-packages/pycallgraph/pycallgraph.py", line 38, in __exit__
    self.done()
  File "/Library/Python/2.7/site-packages/pycallgraph/pycallgraph.py", line 81, in done
    self.stop()
  File "/Library/Python/2.7/site-packages/pycallgraph/pycallgraph.py", line 90, in generate
    output.done()
  File "/Library/Python/2.7/site-packages/pycallgraph/output/graphviz.py", line 112, in done
    'code %(ret)i.' % locals())
pycallgraph.exceptions.PyCallGraphException: The command "dot -Tpng -opycallgraph.png   /var/folders/y_/8tvyrzj11vd5577qzmnf_3840000z9/T/tmpGMaLhr" failed with error code 11.