ImportError: cannot import name GObject
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pybootchartgui (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: pybootchartgui
Kernel: Linux ubuntu 2.6.35-
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
ubuntu desc: maverick meerkat (development branch)
ubuntu release: 10.10
attached is bootchart found in /var/log/bootchart/
$bootchart output:
** Message: pygobject_
** Message: pygobject_
** Message: pygobject_
/usr/lib/
from gtk import _gtk
Traceback (most recent call last):
File "/usr/lib/
from gi.repository import GObject
ImportError: cannot import name GObject
No path given, trying /var/log/
parsing '/var/log/
parsing 'header'
parsing 'proc_stat.log'
parsing 'proc_diskstats
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/
sys.
File "/usr/lib/
render()
File "/usr/lib/
batch.
File "/usr/lib/
draw.
File "/usr/lib/
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/
xscale = float(chart_
ValueError: max() arg is an empty sequence
This error shows up today (2010-07-10) in maverick with the new kernel (2.6.35.7-generic) [ NOT -pae].
The error report includes
"Traceback (most recent call last): pymodules/ python2. 6/gtk-2. 0/gi/__ init__. py", line 27, in <module>
File "/usr/lib/
from gi.repository import GObject
ImportError: cannot import name GObject"
as above.
Running "bootchart" or "sudo bootchart" in a terminal gives:
~$ sudo bootchart register_ sinkfunc is deprecated (GtkWindow) register_ sinkfunc is deprecated (GtkInvisible) register_ sinkfunc is deprecated (GtkObject) pymodules/ python2. 6/gtk-2. 0/gtk/_ _init__ .py:40: RuntimeWarning: tp_compare didn't return -1 or -2 for exception pymodules/ python2. 6/gtk-2. 0/gi/__ init__. py", line 27, in <module> bootchart. tgz bootchart. tgz' does not exist, ignoring. bootchart. tgz' does not contain a valid bootchart
[sudo] password for sc:
** Message: pygobject_
** Message: pygobject_
** Message: pygobject_
/usr/lib/
from gtk import _gtk
Traceback (most recent call last):
File "/usr/lib/
from gi.repository import GObject
ImportError: cannot import name GObject
No path given, trying /var/log/
warning: path '/var/log/
Parse error: empty state: '/var/log/