pombreda / pybootchartgui

Automatically exported from code.google.com/p/pybootchartgui
GNU General Public License v3.0
0 stars 0 forks source link

ImportError: cannot import name GObject #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Kernel: Linux ubuntu 2.6.35-7-generic-pae
Bootchart --version: 0.0.0
bootchart installed version (apt): 0.90.2-7
pybootchartgui --version: 0.0.0
pybootchartgui installed version (apt): 0+139-3

$bootchart output:
** Message: pygobject_register_sinkfunc is deprecated (GtkWindow)
** Message: pygobject_register_sinkfunc is deprecated (GtkInvisible)
** Message: pygobject_register_sinkfunc is deprecated (GtkObject)
/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:40: RuntimeWarning: 
tp_compare didn't return -1 or -2 for exception
  from gtk import _gtk
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/gtk-2.0/gi/__init__.py", line 27, in <module>
    from gi.repository import GObject
ImportError: cannot import name GObject
No path given, trying /var/log/bootchart.tgz
parsing '/var/log/bootchart.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 53 process, 0 exploders, 66 threads, and 1 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 268, in render
    draw_chart(ctx, IO_COLOR, True, chart_rect, [(sample.time, sample.user + sample.sys + sample.io) for sample in cpu_stats], proc_tree) 
  File "/usr/lib/pymodules/python2.6/pybootchartgui/draw.py", line 200, in draw_chart
    xscale = float(chart_bounds[2]) / max(x for (x,y) in data)
ValueError: max() arg is an empty sequence

Original issue reported on code.google.com by zachary....@gmail.com on 10 Jul 2010 at 10:48

Attachments:

GoogleCodeExporter commented 9 years ago
Hi Zachery,

Thanks for the report. Since we discussed it here

https://bugs.launchpad.net/bugs/604140

do you mind if I close this report?

Best,
Anders

Original comment by anders.n...@gmail.com on 12 Jul 2010 at 6:06

GoogleCodeExporter commented 9 years ago
@Anders,
That's fine, I wasn't sure where to submit the bug in the first place so I 
filed 2 :p

Thanks,
Zak

Original comment by zachary....@gmail.com on 12 Jul 2010 at 7:05

GoogleCodeExporter commented 9 years ago

Original comment by anders.n...@gmail.com on 12 Jul 2010 at 7:07