Open laimaretto opened 2 years ago
same problem!
Looks this was fixed in #65
Workaround: Using pyan from a Python script doesn't encounter this.
import pyan
callgraph = pyan.create_callgraph('somewhere/**/*.py', format='dot', <other arguments>)
with open('somewhere.dot', 'w') as f:
f.write(callgraph)
I had to do a tiny bit of editing cause I didn't understand what z0gSh1u meant, but basically:
import pyan
callgraph = pyan.create_callgraph('C:\\PATH\\TO\\YOUR\\FILE\\MAINFOLDER\\*.py', format='html')
with open('WHAT_YOU_WANT_THE_GRAPH_FILE_TO_BE_CALLED.html', 'w') as f:
f.write(callgraph)
and that, put pretty much anywhere in my code, puts every py file in the folder specified by the path into the graph :)
Would it be possible to proceed with publishing the next version release seeing as this issue is now fixed?
Hi! So I upgraded from pyan 1.1.1 to 1.20 and after that, I'm getting the following error:
I could generate the graph for taskAutom with version 1.1.1 but not anymore with 1.2.0.
Any hint?
Thanks!
Lucas