[New-bugs-announce] [issue1269] Exception in pstats print_callers()

Andrew Stromnov report at bugs.python.org
Fri Oct 12 09:14:22 CEST 2007

New submission from Andrew Stromnov:

Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pstats
>>> ps = pstats.Stats("profile.log")
>>> ps.add("profile.log")
<pstats.Stats instance at 0x01358BC0>
>>> ps.print_callers()
   Random listing order was used

{method 'append' of 'list' objects}                                    
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python25\lib\pstats.py", line 388, in print_callers
    self.print_call_line(width, func, callers, "<-")
  File "C:\Python25\lib\pstats.py", line 417, in print_call_line
    nc, cc, tt, ct = value
ValueError: too many values to unpack

components: Library (Lib)
files: profile.log
messages: 56358
nosy: stromnov
severity: normal
status: open
title: Exception in pstats print_callers()
type: crash
versions: Python 2.5

Tracker <report at bugs.python.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: profile.log
Type: application/octet-stream
Size: 2733 bytes
Desc: not available
Url : http://mail.python.org/pipermail/new-bugs-announce/attachments/20071012/57b7f71c/attachment.obj 

More information about the New-bugs-announce mailing list