Bug 1121154 - Virt-Manager 1.0.1 use spice with error unknown graphics device type
Summary: Virt-Manager 1.0.1 use spice with error unknown graphics device type
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: 2014-07-18 13:52 UTC by Neil How
Modified: 2014-07-18 14:12 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-18 14:12:40 UTC
Embargoed:


Attachments (Terms of Use)

Description Neil How 2014-07-18 13:52:23 UTC
Description of problem:
I use virt-manager 1.0.1 with spice-client-gtk fully installed. When I start to change display server from VNC to spice, it shows below error. I did not get it, when I use 0.9.5, spice works fine. VNC also works fine for me in 1.0.1.
unsupported configuration: unknown graphics device type '<gi.overrides.Gtk.TreeModelRow object at 0x7f3504081f50>'

Version-Release number of selected component (if applicable):
1.0.1

How reproducible:


Steps to Reproduce:
1. Install latest virt-manager 1.0,1
2. Change already exists guest display configuration from VNC to spice
3.

Actual results:
Change VM configuration error:unsupported configuration: unknown graphics device type '<gi.overrides.Gtk.TreeModelRow object at 0x7f350c18b490>'

Expected results:
It should be OK

Additional info:
Change VM configuration error:unsupported configuration: unknown graphics device type '<gi.overrides.Gtk.TreeModelRow object at 0x7f350c18b490>'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/details.py", line 2310, in _change_config_helper
    self.vm.redefine_cached()
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 213, in redefine_cached
    self._redefine_xml(xml)
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 238, in _redefine_xml
    return self._redefine_helper(origxml, newxml)
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 230, in _redefine_helper
    self._define(newxml)
  File "/usr/share/virt-manager/virtManager/domain.py", line 1012, in _define
    self.conn.define_domain(newxml)
  File "/usr/share/virt-manager/virtManager/connection.py", line 787, in define_domain
    return self._backend.defineXML(xml)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3237, in defineXML
    if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self)
libvirtError: unsupported configuration: unknown graphics device type '<gi.overrides.Gtk.TreeModelRow object at 0x7f350c18b490>'

Comment 1 Cole Robinson 2014-07-18 14:12:40 UTC
This is fixed in virt-manager git, we just haven't done a new release yet


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