You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gprof2dot -f pstats <file>
Traceback (most recent call last):
File "/home/ajamato/.local/bin/gprof2dot", line 8, in <module>
sys.exit(main())
File "/home/ajamato/.local/lib/python3.9/site-packages/gprof2dot.py", line 3457, in main
parser = Format(*args)
File "/home/ajamato/.local/lib/python3.9/site-packages/gprof2dot.py", line 2685, in __init__
self.stats = pstats.Stats(*filename)
File "/usr/lib/python3.9/pstats.py", line 114, in __init__
self.init(arg)
File "/usr/lib/python3.9/pstats.py", line 130, in init
self.get_top_level_stats()
File "/usr/lib/python3.9/pstats.py", line 159, in get_top_level_stats
for func, (cc, nc, tt, ct, callers) in self.stats.items():
AttributeError: 'ellipsis' object has no attribute 'items'
Unfortunately I can't share the file.
I am not sure if its related to the input files or not. But if you have any ideas what to look for I can look at the file and share findings to help debug
From pip list: gprof2dot 2021.2.21
I also did try to load the sample pstat files on this repro, but got this error as well. Perhaps there is some reason this version can't process those files?
gprof2dot -f pstats cProfile.pstats
error: failed to load cProfile.pstats, maybe they are generated by different python version?
gprof2dot -f pstats profile.pstats
error: failed to load profile.pstats, maybe they are generated by different python version?
I also downloaded the standalone version and got that error as well
~/gprof2dot.py -f pstats profile.pstats
error: failed to load profile.pstats, maybe they are generated by different python version?
/usr/bin/env python3 --version
Python 3.9.2
The text was updated successfully, but these errors were encountered:
I encountered this when trying to run
Unfortunately I can't share the file.
I am not sure if its related to the input files or not. But if you have any ideas what to look for I can look at the file and share findings to help debug
From pip list:
gprof2dot 2021.2.21
I also did try to load the sample pstat files on this repro, but got this error as well. Perhaps there is some reason this version can't process those files?
I also downloaded the standalone version and got that error as well
The text was updated successfully, but these errors were encountered: