Bug 726642 - virt-manager-0.9.0: Connect image dialog doesn't show up: assertion `G_IS_OBJECT (object)'
Summary: virt-manager-0.9.0: Connect image dialog doesn't show up: assertion `G_IS_OBJ...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: virt-manager
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Cole Robinson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-29 10:13 UTC by Martin Samek
Modified: 2012-01-30 00:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-25 16:49:23 UTC


Attachments (Terms of Use)
Related domain xml file (3.33 KB, text/xml)
2011-08-01 14:19 UTC, Martin Samek
no flags Details

Description Martin Samek 2011-07-29 10:13:20 UTC
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,

Comment 1 Cole Robinson 2011-08-01 13:45:37 UTC
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

Comment 2 Martin Samek 2011-08-01 14:16:51 UTC
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.

Comment 3 Martin Samek 2011-08-01 14:19:09 UTC
Created attachment 516149 [details]
Related domain xml file

Comment 4 Cole Robinson 2011-08-01 14:27:46 UTC
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.

Comment 5 Martin Samek 2011-08-01 15:44:16 UTC
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.

Comment 6 Cole Robinson 2011-08-23 17:38:26 UTC
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.

Comment 7 Martin Samek 2011-08-24 19:31:08 UTC
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

Comment 8 Martin Samek 2011-12-31 22:24:17 UTC
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.

Comment 9 Cole Robinson 2012-01-25 16:49:23 UTC
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

Comment 10 Martin Samek 2012-01-30 00:16:11 UTC
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


Note You need to log in before you can comment on or make changes to this bug.