Re: Assertion failure on hotshot.stats.load()

2006-10-27 Thread skip
Yang> Note: I realize hotshot is obsoleted by cProfile, but 2.5 breaks Yang> several packages I depend on. I'm using Python 2.4.3. Not a direct answer to your question, but the cProfile module runs just fine under 2.4. Skip -- http://mail.python.org/mailman/listinfo/python-list

Re: Assertion failure on hotshot.stats.load()

2006-10-27 Thread Yang
I created a simple test case showing the zope.interface problem. Just pass the following file to profile.py (i.e. the 'profile' module in your Python standard library, run as a standalone app). The culprit *seems* to be Twisted. Any ideas? Thanks in advance. #!/usr/bin/env python """ error i get:

Re: Assertion failure on hotshot.stats.load()

2006-10-27 Thread Christophe
Yang a écrit : > Note: I realize hotshot is obsoleted by cProfile, but 2.5 breaks > several packages I depend on. I'm using Python 2.4.3. > > I'm getting an AssertionError on "assert not self._stack" when calling > hotshot.stats.load() on my app's hotshot profile. The app consistently > causes hot

Re: Assertion failure on hotshot.stats.load()

2006-10-27 Thread Yang
I fell back onto the old profile module, but got the following error when trying to use zope.interface. I am now without any way to profile my application. Traceback (most recent call last): File "/home/yang/local/bin/profile.py", line 611, in ? run('execfile(%r)' % (sys.argv[0],), options.o

Assertion failure on hotshot.stats.load()

2006-10-27 Thread Yang
Note: I realize hotshot is obsoleted by cProfile, but 2.5 breaks several packages I depend on. I'm using Python 2.4.3. I'm getting an AssertionError on "assert not self._stack" when calling hotshot.stats.load() on my app's hotshot profile. The app consistently causes hotshot to generate such a pro