Hi jagan, I once faced a similar issue. Replace the attached files into /usr/share/pyshared/pybootchartgui/ on your linux machine and try again
Cheers, Pavan On Mon, May 9, 2011 at 1:42 PM, Karl <karl.t...@gmail.com> wrote: > Hi, > > It looked like you are facing parse ps_log error, so please check your > kernel menuconfig to see if below are enable. > -> General setup > -> BSD Process Accounting > -> BSD Process Accounting version 3 file formate > > Meanwhile, you need to download the sources from bootchart.org follow > the instructions in /system/core/init/README.BOOTCHART > > BR, > Karl > > > On May 3, 2:16 am, jagan <402ja...@gmail.com> wrote: > > Hi All, > > > > I working on bootchart on GB. > > > > In host: > > I am install bootchart on my ubuntu-10.10 > > as apt-get install bootchart > > > > In target: > > I am able to create the bootchart.tgz, > > but while i am extracting i got the following error like > > > > parsing 'Documents/bootchart.tgz' > > parsing 'header' > > parsing 'kernel_pacct' > > parsing 'proc_diskstats.log' > > parsing 'proc_ps.log' > > Traceback (most recent call last): > > File "/usr/bin/bootchart", line 23, in <module> > > sys.exit(main()) > > File "/usr/lib/pymodules/python2.6/pybootchartgui/main.py", line > > 111, in main > > options.crop_after, options.annotate) > > File "/usr/lib/pymodules/python2.6/pybootchartgui/parsing.py", line > > 248, in parse > > state = parse_paths(writer, ParserState(), paths) > > File "/usr/lib/pymodules/python2.6/pybootchartgui/parsing.py", line > > 237, in parse_paths > > state = _do_parse(writer, state, name, tf.extractfile(name)) > > File "/usr/lib/pymodules/python2.6/pybootchartgui/parsing.py", line > > 201, in _do_parse > > state.ps_stats = _parse_proc_ps_log(writer, file) > > File "/usr/lib/pymodules/python2.6/pybootchartgui/parsing.py", line > > 76, in _parse_proc_ps_log > > offset = [index for index, token in enumerate(tokens[1:]) if > > token[-1] == ')'][0] > > IndexError: list index out of range > > > > Can any one give me the pointers to solve this issue. > > > > Regards, > > Jagan > > -- > unsubscribe: android-kernel+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-kernel -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel
draw.py
Description: Binary data
parsing.py
Description: Binary data
samples.py
Description: Binary data