Closed waasdorp closed 12 years ago
Which version of bootchart2 are you using? Please upload somewhere /var/log/bootchart.tgz so i can reproduce here. Thanks!
Looking at the code is really trivial to fix, but i'd still like to have a copy of the data please.
I'm using the 2.0.14.5 version. I'm unsure of how to upload files here, but the last group of the proc_meminfo.log was truncated, and is copied here (the file ends after Shmem: ). I was able to workaround it by deleting the /var/log/bootchart.tgz before rebooting, but am not sure if that workaround will work every time.
60144 MemTotal: 8021484 kB MemFree: 7554416 kB Buffers: 5736 kB Cached: 82068 kB SwapCached: 0 kB Active: 174820 kB Inactive: 70104 kB Active(anon): 157200 kB Inactive(anon): 32 kB Active(file): 17620 kB Inactive(file): 70072 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 2104472 kB SwapFree: 2104472 kB Dirty: 20 kB Writeback: 0 kB AnonPages: 157260 kB Mapped: 14988 kB Shmem:
So this should be fixed in git master, closing since you have actually deleted the reproducer. Thanks for reporting!
Bootchart was working upon initial installation, but started failing in this way after a few days.
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' Traceback (most recent call last): File "/usr/bin/pybootchartgui", line 23, in
sys.exit(main())
File "main.py", line 124, in main
File "parsing.py", line 50, in init
File "parsing.py", line 684, in parse_paths
File "parsing.py", line 640, in _do_parse
File "parsing.py", line 467, in _parse_proc_meminfo_log
AttributeError: 'NoneType' object has no attribute 'groups'