Hide Forgot
Description of problem: In the virt-manager 0.9.0 there is probably a bug in "Connect" button which opens dialog for image selection. Requested dialog doesn't appear. Version 0.8.7 works perfectly and dialog shows up without any troubles. Version-Release number of selected component (if applicable): How reproducible: When I try to connect new image to the existing virtual cd drive and click on "Connect" button, than nothing happen. Dialog doesn't show up. Thus I'm unable to connect image. Steps to Reproduce: 1. Choose VM and enter Details 2. Choose existing virtual cd drive 3. click Connect to add image 4. > nothing happens Actual results: dialog doesn't show up Expected results: to get a dialog Additional info: Running Gentoo amd64, kernel 3.0.0, KDE 4.6.4,
Try running virt-manager with the --debug flag and attach the output when reproducing the issue. Also please attach the domain XML of the guest you are using, 'sudo virsh dumpxml $vmname'. Thanks
No specific line appears in the terminal when virt-manager run with --debug flag. This is the last line: 2011-08-01 16:09:33,797 (console:132): Tunnel PID=3244 OUTFD=29 ERRFD=32 /usr/share/virt-manager/virtManager/details.py:1249: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed pages.set_current_page(PAGE_DETAILS) Clicking connect button is without any response in terminal.
Created attachment 516149 [details] Related domain xml file
Hmm, that error is strange. I don't see it here and I don't know how we could even trigger that from python code. What gtk and glade versions are you running? Maybe want to try updating (or downgrading) those if possible.
Hope this packages are related: dev-python/pygtk-2.24.0 x11-libs/gtk+-2.24.4 gnome-base/libglade-2.6.4 With this packages virt-manager 0.8.7 works perfectly. For certain period of time after 0.8.7 release was tagged. I used to build virt-manager from GIT and it also works, but some pull later brakes it.
only recommendation I have is to try and find the exact commit that broke this, and maybe through inspection we can determine what the issue. there is the git bisect command which can help automate this process.
So, bisect process on interval from RELEASE-0.8.7-2 to master found this commit as the first bad. 3d8e6a939893145640b786ccfd92b41921ffe1a6 is the first bad commit commit 3d8e6a939893145640b786ccfd92b41921ffe1a6 Author: Cole Robinson <crobinso> Date: Thu Apr 14 08:47:42 2011 -0400 Set parent for all dialogs :040000 040000 b6b8d1fa527bf6d53328478eb6899fd34fa91b88 cfc8acd9cda39df21b22f7dbcdf128670aba2dda M src
I have found that this bug is desktop environment dependent. In Xfce 4.8 dialog appears correctly, but at same system in KDE 4.7 not.
Thanks for the info Martin, sorry for not getting to this sooner. Upstream now has a fix: http://git.fedorahosted.org/git/?p=virt-manager.git;a=commit;h=becf776d6af3455f6c89396e3ccc330cd2c85434
Hi, great to hear about that. I have build current master at KDE 4.8.0 and image dialog appears. Thanks for a fix. Martin