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
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2010-08-22.01:03:24.346>created_at=<Date2005-09-25.01:46:11.000>labels= ['extension-modules', 'type-bug']
title='traceback on trying to load a hotshot stats file'updated_at=<Date2010-08-22.01:03:24.344>user='https://bugs.python.org/nanotube'
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).
It was indeed fixed with 2.4.2, but this does not correct the invalid
statistics generated with 2.4.1.
Running hotshotmain.py with a newer version should generate a correct file.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: