-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pytest profiling-svg doesn't work on python 2.7 #70
Comments
I also get the same error on OSX python 2.7.10
|
I was able to just run everything manually to get around this:
Note on OSX I had to first |
Hi guys - thanks for raising this. The problem is that the |
|
python 2.7 is at end of life in less than 6 months. |
Hello - sorry all, we're dropping support for python2.7 so I'm closing this issue now. |
on mac |
pytest --profiling work perfectly on python2.7 but the option --profiling-svg doesn't work. The profiling report is generated but the svg isn't . The error trace is :
test/test_standalone.py ..sh: 2: dot: not found Traceback (most recent call last): File "/home/aurelien/virtual_env/hotcountenv/bin/gprof2dot", line 11, in <module> sys.exit(main()) File "/home/aurelien/virtual_env/hotcountenv/lib/python2.7/site-packages/gprof2dot.py", line 3319, in main dot.graph(profile, theme) File "/home/aurelien/virtual_env/hotcountenv/lib/python2.7/site-packages/gprof2dot.py", line 3065, in graph arrowsize = "%.2f" % theme.edge_arrowsize(weight), File "/home/aurelien/virtual_env/hotcountenv/lib/python2.7/site-packages/gprof2dot.py", line 3093, in edge self.attr_list(attrs) File "/home/aurelien/virtual_env/hotcountenv/lib/python2.7/site-packages/gprof2dot.py", line 3110, in attr_list self.id(value) File "/home/aurelien/virtual_env/hotcountenv/lib/python2.7/site-packages/gprof2dot.py", line 3123, in id self.write(s) File "/home/aurelien/virtual_env/hotcountenv/lib/python2.7/site-packages/gprof2dot.py", line 3147, in write self.fp.write(s) IOError: [Errno 32] Broken pipe
The text was updated successfully, but these errors were encountered: