sawsen11 / jrfonseca

Automatically exported from code.google.com/p/jrfonseca
0 stars 0 forks source link

gprof2dot crashes on latest version #94

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Tested on Debian Linux

$ sudo pip install gprof2dot --upgrade
Requirement already up-to-date: gprof2dot in 
/usr/local/lib/python2.7/dist-packages
Cleaning up...

$ gprof2dot
Traceback (most recent call last):
  File "/usr/local/bin/gprof2dot", line 9, in <module>
    load_entry_point('gprof2dot==2014.03.11', 'console_scripts', 'gprof2dot')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 343, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2307, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2018, in load
    raise ImportError("%r has no %r attribute" % (entry,attr))
ImportError: <module 'gprof2dot' from 
'/usr/local/lib/python2.7/dist-packages/gprof2dot.pyc'> has no 'main' attribute

Original issue reported on code.google.com by richar...@gmail.com on 11 Mar 2014 at 8:27

GoogleCodeExporter commented 9 years ago
Fixed with https://pypi.python.org/pypi/gprof2dot/2014.03.12 .

Original comment by Jose.R.F...@gmail.com on 12 Mar 2014 at 3:55