You are not logged in.
Hello.
I'm trying to improve my boot time so I've used bootchart to give me some ideas of where to cut some things.
I ended up installing systemd (Which is great, by the way.) so I switched to bootchart2 as I can't put two 'init=' in my kernel line.
Arch booted up fine (Except it always takes me to a console. But I'm working on it.) but when I want to render my bootchart with pybootchartgui -i I get the following error:
No path given, trying /var/log/bootchart.tgz
parsing '/var/log/bootchart.tgz'
parsing 'header'
Traceback (most recent call last):
File "/usr/bin/pybootchartgui", line 23, in <module>
sys.exit(main())
File "/usr/lib/python3.2/site-packages/pybootchartgui/main.py", line 124, in main
res = parsing.Trace(writer, args, options)
File "/usr/lib/python3.2/site-packages/pybootchartgui/parsing.py", line 46, in __init__
parse_paths (writer, self, paths)
File "/usr/lib/python3.2/site-packages/pybootchartgui/parsing.py", line 672, in parse_paths
state = _do_parse(writer, state, name, tf.extractfile(name))
File "/usr/lib/python3.2/site-packages/pybootchartgui/parsing.py", line 619, in _do_parse
state.headers = _parse_headers(file)
File "/usr/lib/python3.2/site-packages/pybootchartgui/parsing.py", line 231, in _parse_headers
return reduce(parse, file.read().split('\n'), (defaultdict(str),''))[0]
TypeError: Type str doesn't support the buffer APIAfter some research, I found out this was due to Python3 so I forced the script to run with Python2. But I now get the following:
Traceback (most recent call last):
File "/usr/bin/pybootchartgui", line 20, in <module>
from pybootchartgui.main import main
ImportError: No module named pybootchartgui.mainI'm completely lost...
Any idea of what might be the cause ?
Thanks.
Edit: I tried to install it a few times thinking it may be a missing file but it doesn't seem to. It does this with both bootchart2 and bootchart2-git (Which you can both find in the AUR.)
Edit2: After some more research, I found this PKGBUILD which seems to fix the problem: http://pastebin.com/68YrPKm2
Last edited by MrTimscampi (2011-10-09 00:21:27)
Offline