I was trying to use heapy (http://guppy-pe.sourceforge.net/)<http://guppy-pe.sourceforge.net/> on my application (which uses py.log and py.test) to try and find some memory leaks. I can't seem to get it to work with py.lib (see exception trace at the end of the email). Can someone please guide me on how to just install py.log (and it's minimum requirements)? I tried downloading the tar and removed all the extra packages in setup.py, however, that failed. Currently I have py.log commented out while I'm debugging my memory leaks.
hp = hpy() File "/usr/lib/python2.5/site-packages/guppy-0.1.9-py2.5-linux-x86_64.egg/guppy/__init__.py", line 37, in hpy return r.guppy.heapy.Use File "/usr/lib/python2.5/site-packages/guppy-0.1.9-py2.5-linux-x86_64.egg/guppy/etc/Glue.py", line 45, in __getattr__ return self._share.getattr(self, name) File "/usr/lib/python2.5/site-packages/guppy-0.1.9-py2.5-linux-x86_64.egg/guppy/etc/Glue.py", line 195, in getattr d = self.getattr2(inter, cache, owner, name) File "/usr/lib/python2.5/site-packages/guppy-0.1.9-py2.5-linux-x86_64.egg/guppy/etc/Glue.py", line 213, in getattr2 x = self.getattr_package(inter, name) File "/usr/lib/python2.5/site-packages/guppy-0.1.9-py2.5-linux-x86_64.egg/guppy/etc/Glue.py", line 261, in getattr_package x = self.makeModule(x, name) File "/usr/lib/python2.5/site-packages/guppy-0.1.9-py2.5-linux-x86_64.egg/guppy/etc/Glue.py", line 321, in makeModule return Share(module, self, module.__name__, Clamp) File "/usr/lib/python2.5/site-packages/guppy-0.1.9-py2.5-linux-x86_64.egg/guppy/etc/Glue.py", line 184, in __init__ getattr(inter, name) File "/usr/lib/python2.5/site-packages/guppy-0.1.9-py2.5-linux-x86_64.egg/guppy/etc/Glue.py", line 45, in __getattr__ return self._share.getattr(self, name) File "/usr/lib/python2.5/site-packages/guppy-0.1.9-py2.5-linux-x86_64.egg/guppy/etc/Glue.py", line 195, in getattr d = self.getattr2(inter, cache, owner, name) File "/usr/lib/python2.5/site-packages/guppy-0.1.9-py2.5-linux-x86_64.egg/guppy/etc/Glue.py", line 215, in getattr2 x = self.getattr3(inter, name) File "/usr/lib/python2.5/site-packages/guppy-0.1.9-py2.5-linux-x86_64.egg/guppy/etc/Glue.py", line 283, in getattr3 pa = getattr(pa, at) File "/usr/lib/python2.5/site-packages/guppy-0.1.9-py2.5-linux-x86_64.egg/guppy/etc/Glue.py", line 45, in __getattr__ return self._share.getattr(self, name) File "/usr/lib/python2.5/site-packages/guppy-0.1.9-py2.5-linux-x86_64.egg/guppy/etc/Glue.py", line 195, in getattr d = self.getattr2(inter, cache, owner, name) File "/usr/lib/python2.5/site-packages/guppy-0.1.9-py2.5-linux-x86_64.egg/guppy/etc/Glue.py", line 213, in getattr2 x = self.getattr_package(inter, name) File "/usr/lib/python2.5/site-packages/guppy-0.1.9-py2.5-linux-x86_64.egg/guppy/etc/Glue.py", line 250, in getattr_package x = __import__(self.makeName(name), globals(), locals()) File "/usr/lib/python2.5/site-packages/guppy-0.1.9-py2.5-linux-x86_64.egg/guppy/heapy/View.py", line 555, in <module> prime_builtin_types() File "/usr/lib/python2.5/site-packages/guppy-0.1.9-py2.5-linux-x86_64.egg/guppy/heapy/View.py", line 546, in prime_builtin_types for t in mod.__dict__.values(): File "/usr/lib/python2.5/site-packages/py-0.9.1-py2.5.egg/py/initpkg.py", line 216, in getdict assert not self.__map__, "%r not empty" % self.__map__ AssertionError: {'greenlet': ('./magic/greenlet.py', 'greenlet')} not empty
_______________________________________________ py-dev mailing list py-dev@codespeak.net http://codespeak.net/mailman/listinfo/py-dev