[Pkg-libvirt-maintainers] Bug#652879: virt-manager: Can't change disc bus when creating VM (Wheezy)

Greg mls at reolight.net
Wed Dec 21 01:34:13 UTC 2011


Package: virt-manager
Version: 0.9.0-3
Severity: normal
Tags: upstream

Dear Maintainer,

During a virtual machine creation, I wan't to customize the configuration
before installing.
If the disc bus is set to something else than "default", this error message
appear when validating :

Error changing VM configuration: 'NoneType' object has no attribute 'xpathEval'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/details.py", line 2317, in
_change_config_helper
    func(*args)
  File "/usr/share/virt-manager/virtManager/domain.py", line 574, in
define_disk_bus
    return self._redefine_device(change, devobj)
  File "/usr/share/virt-manager/virtManager/domain.py", line 307, in
_redefine_device
    return cb(dev)
  File "/usr/share/virt-manager/virtManager/domain.py", line 570, in change
    editdev.address.clear()
  File "/usr/lib/pymodules/python2.7/virtinst/VirtualDevice.py", line 173, in
clear
    self._remove_child_xpath("./address")
  File "/usr/lib/pymodules/python2.7/virtinst/XMLBuilderDomain.py", line 458,
in _remove_child_xpath
    _remove_xpath_node(self._xml_ctx, xpath, dofree=False)
  File "/usr/lib/pymodules/python2.7/virtinst/XMLBuilderDomain.py", line 186,
in _remove_xpath_node
    node = _get_xpath_node(ctx, curxpath)
  File "/usr/lib/pymodules/python2.7/virtinst/XMLBuilderDomain.py", line 71, in
_get_xpath_node
    node = ctx.xpathEval(xpath)
AttributeError: 'NoneType' object has no attribute 'xpathEval'


Thank you all for the good work, keep up with it !



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (102, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_LU.utf8, LC_CTYPE=fr_LU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages virt-manager depends on:
ii  gconf2                   2.32.4-1
ii  librsvg2-common          2.34.2-1
ii  python                   2.7.2-9
ii  python-dbus              0.84.0-2
ii  python-glade2            2.24.0-2
ii  python-gnome2            2.28.1-3
ii  python-gtk-vnc           0.4.4-1
ii  python-gtk2              2.24.0-2
ii  python-ipy               1:0.72-1
ii  python-libvirt           0.9.6-2
ii  python-spice-client-gtk  0.7-3
ii  python-support           1.0.14
ii  python-urlgrabber        3.9.1-4
ii  python-vte               1:0.28.2-3
ii  virtinst                 0.600.0-1

Versions of packages virt-manager recommends:
ii  gnome-icon-theme  3.2.1.2-1
ii  libvirt-bin       0.9.6-2

Versions of packages virt-manager suggests:
ii  gnome-keyring        3.2.2-1
ii  hal                  <none>
ii  python-gnomekeyring  2.32.0-4+b1
ii  python-guestfs       <none>
ii  ssh-askpass          <none>
ii  virt-viewer          0.4.2-1

-- no debconf information





More information about the Pkg-libvirt-maintainers mailing list