I updated opensuse 11.4 which was running fine, and since then I’m getting the following when trying to start up my virtual guests:
ERROR:root:could not import gobject (could not find _PyGObject_API object)
Traceback (most recent call last):
File “/usr/share/virt-manager/virt-manager.py”, line 420, in <module>
main()
File “/usr/share/virt-manager/virt-manager.py”, line 290, in main
import gtk
File “/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/init.py”, line 40, in <module>
from gtk import _gtk
ImportError: could not import gobject (could not find _PyGObject_API object)
Traceback (most recent call last):
File “/usr/share/virt-manager/virt-manager.py”, line 427, in <module>
_show_startup_error(str(run_e), “”.join(traceback.format_exc()))
File “/usr/share/virt-manager/virt-manager.py”, line 61, in _show_startup_error
import gtk
File “/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/init.py”, line 40, in <module>
from gtk import _gtk
ImportError: could not import gobject (could not find _PyGObject_API object)
I’ve seen a couple of threads about adding a libvirt group, but it is still not working. any ideas?
Just as a clarification, the above error is when I try to issue the virt-manager command itself. it crashed with the above output. That’s on opensuse 11.4, 64-bit. It worked well until yesterday or so. I updated the system these days as well. Was working ok since I installed 11.4 on this system.
python
Python 2.7 (r27:82500, Aug 07 2010, 16:54:59) [GCC] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
>>> import gtk
>>>
the above is one opensuse 11.4
on the one I have the issue, I get:
python
Python 2.7 (r27:82500, Aug 07 2010, 16:54:59) [GCC] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
>>> import gtk
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
File “/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/init.py”, line 40, in <module>
from gtk import _gtk
ImportError: could not import gobject (could not find _PyGObject_API object)
>>>