[ python-Bugs-1303673 ] traceback on trying to load a hotshot stats file
SourceForge.net
noreply at sourceforge.net
Sun Sep 25 08:41:02 CEST 2005
Bugs item #1303673, was opened at 2005-09-25 03:46
Message generated for change (Settings changed) made by birkenfeld
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1303673&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: nanotube (nanotube)
Assigned to: Nobody/Anonymous (nobody)
>Summary: traceback on trying to load a hotshot stats file
Initial Comment:
When trying to load a file generated by hotshotmain.py
(attached), generates the following traceback:
Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310
32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for
more information.
>>> import hotshot.stats
>>> hotshot.stats.load("pyk.prof")
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "C:\Python24\lib\hotshot\stats.py", line 12, in load
return StatsLoader(filename).load()
File "C:\Python24\lib\hotshot\stats.py", line 51, in load
assert not self._stack
AssertionError
This happened with both python 2.4.1 and with python
2.4.2 rc 1 on windows (just downloaded).
Seems similar to bug [ 900092 ] hotshot.stats.load
(link:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=900092&group_id=5470
)
but according to that, bug has been closed, and patch
has been applied to python 2.4.2. not sure if that
applies also to 2.4.2 rc1
Attaching the output file that caused it.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1303673&group_id=5470
More information about the Python-bugs-list
mailing list