This is an ongoing bug that is, at least, in Ubuntu 9.10, 10.04 and
10.10.

I have several similar installations on one drive so the hardware is
identical.  On one bootchart works every time.  On one it never works
even though I have removed or purged it and reinstalled several times.
On the other three it varies between the 2 extremes.

The one I am reporting from is running, so far, 6 .tgz files and 3 .png
files.

This is my terminal output;
parsing 'max-desktop-maverick-20100518-1.tgz'
parsing 'header'
parsing 'proc_stat.log'
parsing 'proc_diskstats.log'
parsing 'proc_ps.log'
warning: no parent for pid '2' with ppid '0'
merged 0 logger processes
pruned 177 process, 0 exploders, 310 threads, and 21 runs
False
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 137, in main
    render()
  File "/usr/lib/pymodules/python2.6/pybootchartgui/main.py", line 128, in 
render
    batch.render(writer, res, options, filename)
  File "/usr/lib/pymodules/python2.6/pybootchartgui/batch.py", line 41, in 
render
    draw.render(ctx, options, *res)
  File "/usr/lib/pymodules/python2.6/pybootchartgui/draw.py", line 299, in 
render
    draw_process_bar_chart(ctx, proc_tree, times, curr_y + bar_h, w, h)
  File "/usr/lib/pymodules/python2.6/pybootchartgui/draw.py", line 319, in 
draw_process_bar_chart
    draw_processes_recursively(ctx, root, proc_tree, y, proc_h, chart_rect)
  File "/usr/lib/pymodules/python2.6/pybootchartgui/draw.py", line 357, in 
draw_processes_recursively
    child_x, child_y = draw_processes_recursively(ctx, child, proc_tree, 
next_y, proc_h, rect)
  File "/usr/lib/pymodules/python2.6/pybootchartgui/draw.py", line 357, in 
draw_processes_recursively
    child_x, child_y = draw_processes_recursively(ctx, child, proc_tree, 
next_y, proc_h, rect)
  File "/usr/lib/pymodules/python2.6/pybootchartgui/draw.py", line 349, in 
draw_processes_recursively
    draw_process_activity_colors(ctx, proc, proc_tree, x, y, w, proc_h, rect)
  File "/usr/lib/pymodules/python2.6/pybootchartgui/draw.py", line 376, in 
draw_process_activity_colors
    state = get_proc_state( sample.state )
  File "/usr/lib/pymodules/python2.6/pybootchartgui/draw.py", line 105, in 
get_proc_state
    return "RSDTZXW".index(flag) + 1
ValueError: substring not found

-- 
bootchart fails to generate .png file
https://bugs.launchpad.net/bugs/580560
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to