This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: pstats browser crashes
Type: Stage:
Components: Library (Lib) Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: esr Nosy List: esr, gvanrossum, jhylton
Priority: high Keywords:

Created on 2001-04-13 22:55 by jhylton, last changed 2022-04-10 16:03 by admin. This issue is now closed.

Messages (4)
msg4245 - (view) Author: Jeremy Hylton (jhylton) (Python triager) Date: 2001-04-13 22:55
My very first attempt to use the pstats browser failed
immediately.

w221:~/src/python/dist/src/Tools/compiler> python2.1
../../Lib/pstats.py compiler/__init__.py.prof 
Welcome to the profile statistics browser.
% help

Documented commands (type help <topic>):
========================================
EOF             add             callees        
callers         quit           
read            reverse         sort           
stats           strip           

Undocumented commands:
======================
help            

% callers
Traceback (most recent call last):
  File "../../Lib/pstats.py", line 646, in ?
    ProfileBrowser(initprofile).cmdloop()
  File "../../Lib/cmd.py", line 86, in cmdloop
    stop = self.onecmd(line)
  File "../../Lib/cmd.py", line 124, in onecmd
    return func(arg)
  File "../../Lib/pstats.py", line 580, in do_callers
    return self.generic('callers', line)
  File "../../Lib/pstats.py", line 563, in generic
    apply(getattr(self.stats, fn), processed)
AttributeError: Stats instance has no attribute
'callers'
msg4246 - (view) Author: Jeremy Hylton (jhylton) (Python triager) Date: 2001-04-18 01:09
Logged In: YES 
user_id=31392

Eric-- If you fixed the bug, please close the bug report.
msg4247 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2001-04-18 04:16
Logged In: YES 
user_id=6380

Jeremy, since you reported the problem, it is at least
polite to report whether the applied fix made your problem
go away.  Did it? (Eric *did* check something in that
claimed to deal with a reported bug.) 
msg4248 - (view) Author: Jeremy Hylton (jhylton) (Python triager) Date: 2001-08-09 22:29
Logged In: YES 
user_id=31392

I think this was fixed but no one closed the bug report.
History
Date User Action Args
2022-04-10 16:03:57adminsetgithub: 34324
2001-04-13 22:55:16jhyltoncreate