2012/2/5 Cheer Xiao <xiaqqaix(a)gmail.com>:
2012/2/4 Cole Robinson <crobinso(a)redhat.com>:
> ... [snip] ...
> Okay, none of that indicates why it isn't working. I can't reproduce using
> your capabilities output and virt-manager 0.9.0 either (though I hacked it in
> so I could have missed a detail).
>
> Can you try with current upstream?
>
> git clone
git://git.fedorahosted.org/virt-manager.git
> git clone
git://git.fedorahosted.org/python-virtinst.git
> cd python-virtinst
> python setup.py build
> cd ../virt-manager
> ./autogen.sh && ./configure && make -j4
>
> # Then after you can launch virt-manager with
> PYTHONPATH=../python-virtinst python src/virt-manager.py --debug
>
> See if you can reproduce, and if so please provide debug output and we can go
> from there.
Thanks! I'll be testing in a few days.
The problem is still present, and I have collected the debug output. FYII,
* My laptop runs Archlinux and In Arch the default python is python3,
which makes it a little tricky to install python applications by hand.
Thus I tested on a VirtualBox guest, running Ubuntu 12.04. The remote
Xen host is the same.
* The PYTHONPATH trick didn't work for me, for some reason. So I did
`sudo python setup.py install` in python-virtinst and `sudo make
install` in virt-manager and ran just `virt-manager --debug`.
* python-virtinst and virt-manager are both compiled from HEAD of Git.
xiaq@vblackie ~/S/virt-manager> virt-manager --debug
** WARNING **: Trying to register gtype 'GMountMountFlags' as enum
when in fact it is of type 'GFlags'
** WARNING **: Trying to register gtype 'GDriveStartFlags' as enum
when in fact it is of type 'GFlags'
Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
2012-02-06 20:52:17,589 (cli:71): virt-manager startup
2012-02-06 20:52:17,590 (virt-manager:291): Launched as:
/usr/local/share/virt-manager/virt-manager.py --debug
2012-02-06 20:52:17,590 (virt-manager:292): GTK version: (2, 24, 8)
2012-02-06 20:52:17,596 (virt-manager:293): virt-manager version: 0.9.1
2012-02-06 20:52:17,596 (virt-manager:294): virtManager import:
<module 'virtManager' from
'/usr/local/share/virt-manager/virtManager/__init__.py'>
2012-02-06 20:52:17,874 (cli:118): virtinst version: 0.600.1
2012-02-06 20:52:17,876 (cli:119): virtinst import: <module 'virtinst'
from '/usr/local/lib/python2.7/dist-packages/virtinst/__init__.pyc'>
/usr/local/share/virt-manager/virt-manager.py:305: DeprecationWarning:
Importing dbus.glib to use the GLib main loop with dbus-python is
deprecated.
Instead, use this sequence:
from dbus.mainloop.glib import DBusGMainLoop
DBusGMainLoop(set_as_default=True)
import dbus.glib
2012-02-06 20:52:18,490 (engine:555): No inspection thread because
libguestfs is too old, not available, or libvirt is not thread safe.
2012-02-06 20:52:18,501 (systray:138): Showing systray: False
2012-02-06 20:52:18,511 (engine:346): About to connect to uris
['xen+ssh://xiaq@lux-002/']
2012-02-06 20:52:18,736 (manager:171): Showing manager
2012-02-06 20:52:18,895 (engine:471): window counter incremented to 1
2012-02-06 20:52:29,286 (create:174): Showing new vm wizard
--
Regards,
Cheer Xiao aka. xiaq