Package: pybootchartgui Version: 0.14.0-3 Severity: important Tags: upstream
"pybootchartgui -t" fails with the error message: AttributeError: Trace instance has no attribute '__getitem__'. I think the relevant code lines in main.py are the following and that Trace is a class defined in parsing.py: res = parsing.Trace(writer, args, options) ... elif options.boottime: import math proc_tree = res[3] People in #python said: 21:44 <A> seems you're using [#] on something you can't use [#] on 21:45 <B> definitely looks like a bug in pybootchartgui to me, Trace doesn't even define a __getitem__ method, you might have to prod the maintainer of it Steps to reproduce: % pybootchartgui -t No path given, trying /var/log/bootchart.tgz parsing '/var/log/bootchart.tgz' parsing 'header' parsing 'dmesg' parsing 'cmdline2.log' parsing 'paternity.log' parsing 'proc_cpuinfo.log' parsing 'proc_diskstats.log' parsing 'proc_meminfo.log' parsing 'proc_stat.log' parsing 'taskstats.log' merged 0 logger processes pruned 1038 process, 0 exploders, 24 threads, and 2 runs merged 0 logger processes Traceback (most recent call last): File "/usr/bin/pybootchartgui", line 23, in <module> sys.exit(main()) File "/usr/lib/pymodules/python2.6/pybootchartgui/main.py", line 125, in main proc_tree = res[3] AttributeError: Trace instance has no attribute '__getitem__' -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.39-2-686-pae (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages pybootchartgui depends on: ii python 2.6.6-14 interactive high-level object-orie ii python-support 1.0.14 automated rebuilding support for P pybootchartgui recommends no packages. pybootchartgui suggests no packages. -- no debconf information -- NEU: FreePhone - kostenlos mobil telefonieren! Jetzt informieren: http://www.gmx.net/de/go/freephone -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org