[Bug 441660] Re: pybootchartgui crashed with ZeroDivisionError in draw_chart()

Anders Norgaard anders.norgaard at gmail.com
Sun Oct 4 15:02:17 UTC 2009


Hi Jason,

It looks like the disk use and disk throughput is all zeroes. I wonder
if the parsing code in pybootchartgui is broken or if somehow the
dumping of diskusage data is broken when running in QEMU.

I'll look a bit more and run bootchart in some VM's.

Otherwise maybe just doing

        yscale = float(chart_bounds[3]) / max(0.00001, max(y for (x,y)
in data))

would also do? (at least as a workaround)

Best
Anders

-- 
pybootchartgui crashed with ZeroDivisionError in draw_chart()
https://bugs.launchpad.net/bugs/441660
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list