Closed kuuurt closed 3 years ago
hello @kuuurt I modified the file manually in the instalation directory but I have a new issue :
Help please !
pyan3 runSim.py -u -n -c -g -a --svg >diagrams.svg
Traceback (most recent call last):
File "/usr/local/bin/pyan3", line 8, in
I have the same error - on both counts here. Both the original and the subsequent "No such file or directory". I had a poke at it but it wasn't obvious. It's a shame because this is totally broken now as it's auto-shipped to pypi.
@dunk I was able to get around this by explicitly using full path names for files and specifying the root, i.e. something like
pyan3 ${PWD}/*.py --uses --no-defines --colored --dot --root ${PWD} > myuses.dot
Something that definitely has to be fixed IMHO.
I can confirm that checking out
pip install --user git+https://github.com/kuuurt/pyan.git
and specifying full path names with ${PWD}
allows to run a build, or into other problems related to the code it is trying to draw.
Merged, thank you!
Fixes #64
The
logger
variable is passed into theroot
parameter forCallGraphVisitor
inmain.py