Package: python-pycallgraph
Version: 0.4.0-1
Severity: grave

(after fixing the dos line endings):

[EMAIL PROTECTED]:~$ python /usr/bin/pycallgraph-dot /usr/bin/pycallgraph-dot 
foo.dot
Traceback (most recent call last):
  File "/usr/bin/pycallgraph-dot", line 111, in ?
    execfile(args[0])
  File "/usr/bin/pycallgraph-dot", line 109, in ?
    time_filter_func=time_filter_func,
  File "/var/lib/python-support/python2.4/pycallgraph.py", line 177, in 
start_trace
    reset_trace()
  File "/var/lib/python-support/python2.4/pycallgraph.py", line 110, in 
reset_trace
    call_stack_timer = []
  File "/var/lib/python-support/python2.4/pycallgraph.py", line 279, in tracer
    t = call_stack_timer.pop(-1)
IndexError: pop from empty list

You can fix this by examining the set before calling pop, or catching
the IndexError exception, or several other ways.  I'm not sure off hand
which would be most appropriate for this program.

2 bugs on this program like this make it fairly clear it was never
really tested (I know bad bugs happen, but these prevent the program from
even starting as packaged).  Should this package be in Debian with these
sorts of issues?

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-pycallgraph depends on:
ii  graphviz                      2.18-1     rich set of graph drawing tools
ii  python                        2.4.4-6    An interactive high-level object-o
ii  python-support                0.7.7      automated rebuilding support for P

python-pycallgraph recommends no packages.

-- no debconf information

-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        [EMAIL PROTECTED] |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

Reply via email to