Public bug reported:

Binary package hint: pybootchartgui

Generating a bootchart on a HP 460c blade (12 core, 96GB) running 10.04
fails:

kosh l # bootchart --format=png --crop-after=compiz,metacity,mutter,kwin,xfwm4 
--annotate=ureadahead,mountall,hostname,hwclock --annotate=Xorg 
--annotate=gdm-session-worker kosh-lucid-20100820-1.tgz 
/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not 
open display
  warnings.warn(str(e), _gtk.Warning)
parsing 'kosh-lucid-20100820-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 783 process, 0 exploders, 849 threads, and 19 runs
False
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 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 282, in 
render
    draw_chart(ctx, IO_COLOR, True, chart_rect, [(sample.time, sample.util) for 
sample in disk_stats], proc_tree)
  File "/usr/lib/pymodules/python2.6/pybootchartgui/draw.py", line 201, in 
draw_chart
    yscale = float(chart_bounds[3]) / max(y for (x,y) in data)
ZeroDivisionError: float division

I'd attach the tarball but it's over 17MB.

** Affects: pybootchartgui (Ubuntu)
     Importance: Undecided
         Status: New

-- 
crashes with "ZeroDivisionError: float division"
https://bugs.launchpad.net/bugs/622644
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