| Summary: | virt-manager-0.9.0: Connect image dialog doesn't show up: assertion `G_IS_OBJECT (object)' | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Martin Samek <martin> | ||||
| Component: | virt-manager | Assignee: | Cole Robinson <crobinso> | ||||
| Status: | CLOSED UPSTREAM | QA Contact: | |||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | unspecified | CC: | berrange, crobinso, xen-maint | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-01-25 16:49:23 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Martin Samek
2011-07-29 10:13:20 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 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 |