Hide Forgot
abrt version: 2.0.1 architecture: x86_64 cmdline: comment: Run bootchart -t component: bootchart executable: /usr/bin/bootchart kernel: 2.6.38.6-27.fc15.x86_64 os_release: Fedora release 15 (Lovelock) package: bootchart-0.14.0-1.2.git20110331.fc15 reason: main.py:127:main:AttributeError: Trace instance has no attribute '__getitem__' time: Tue May 24 14:31:25 2011 uid: 500 username: jjardon backtrace: :main.py:127:main:AttributeError: Trace instance has no attribute '__getitem__' : :Traceback (most recent call last): : File "/usr/bin/bootchart", line 23, in <module> : sys.exit(main()) : File "/usr/lib/python2.7/site-packages/pybootchartgui/main.py", line 127, in main : proc_tree = res[3] :AttributeError: Trace instance has no attribute '__getitem__' : :Local variables in innermost frame: :args: ['/var/log/bootchart.tgz'] :res: <pybootchartgui.parsing.Trace instance at 0x2483638> :writer: <pybootchartgui.main.Writer instance at 0x24835a8> :parser: <optparse.OptionParser instance at 0x24801b8> :argv: ['-t'] :options: <Values at 0x24832d8: {'profile': False, 'verbose': False, 'format': 'png', 'show_all': False, 'annotate_file': None, 'quiet': False, 'annotate': None, 'show_pid': False, 'crop_after': None, 'boottime': True, 'prune': True, 'output': 'bootchart.png', 'veryquiet': False, 'interactive': False}> :math: <module 'math' from '/usr/lib64/python2.7/lib-dynload/math.so'>
Package: bootchart-0.14.0-1.2.git20110331.fc15 Architecture: x86_64 OS Release: Fedora release 15 (Lovelock) Comment ----- right after reboot, try: $ bootchart -t
In: /usr/lib/python2.7/site-packages/pybootchartgui/main.py we have: proc_tree = res[3] if we replace this with: proc_tree = res.proc_tree bootchart -t works as expected - prints boot time
(In reply to comment #2) > In: > > /usr/lib/python2.7/site-packages/pybootchartgui/main.py > > we have: > > proc_tree = res[3] > > if we replace this with: > > proc_tree = res.proc_tree > > bootchart -t works as expected - prints boot time Thank you! pushed upstream https://github.com/mmeeks/bootchart/commit/9d7c5755784059cdf4462cf2327fbb1e946deade
The fix is not in F16 or F17, it seems. It would be nice to get it in, though of course the fix is trivial.
This message is a notice that Fedora 15 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 15. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '15' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 15 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Fix still not in F16; assume not F17 either: # bootchart -t No path given, trying /var/log/bootchart.tgz parsing '/var/log/bootchart.tgz' parsing 'header' 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 817 process, 0 exploders, 112 threads, and 16 runs Traceback (most recent call last): File "/bin/bootchart", line 23, in <module> sys.exit(main()) File "/usr/lib/python2.7/site-packages/pybootchartgui/main.py", line 127, in main proc_tree = res[3] AttributeError: Trace instance has no attribute '__getitem__' # # rpm -q $(rpm -q --whatprovides /usr/lib/python2.7/site-packages/pybootchartgui/main.py) bootchart-0.14.0-2.3.git20110630.fc17.x86_64 Please can someone change this to F17 or rawhide, as this still occurs for me on F17 and I see no reason to think it's been addressed?