virt-manager/virtManager
Giuseppe Scrivano f238abfe4d virt-manager: ignore another VIR_ERR_NO_DOMAIN error
It fixes this exception while removing a VM:

Traceback (most recent call last):
  File "virt-manager/virtManager/details.py", line 1438, in refresh_vm_state
    self.change_run_text(vm.hasSavedImage())
  File "virt-manager/virtManager/domain.py", line 1238, in hasSavedImage
    return self._backend.hasManagedSaveImage(0)
  File "/usr/local/lib/python2.7/site-packages/libvirt.py", line 852, in hasManagedSaveImage
    if ret == -1: raise libvirtError ('virDomainHasManagedSaveImage() failed', dom=self)
libvirt.libvirtError: Domain not found: no domain with matching uuid
  '7c3eebec-9b22-48ea-b9a2-3341840d0476' (test)

Traceback (most recent call last):
  File "virt-manager/virtManager/manager.py", line 885, in vm_status_changed
    self.vm_selected()
  File "virt-manager/virtManager/manager.py", line 1009, in vm_selected
    self.change_run_text(vm.hasSavedImage())
  File "virt-manager/virtManager/domain.py", line 1238, in hasSavedImage
    return self._backend.hasManagedSaveImage(0)
  File "/usr/local/lib/python2.7/site-packages/libvirt.py", line 852, in hasManagedSaveImage
    if ret == -1: raise libvirtError ('virDomainHasManagedSaveImage() failed', dom=self)
libvirt.libvirtError: Domain not found: no domain with matching uuid
   '7c3eebec-9b22-48ea-b9a2-3341840d0476' (test)

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2013-08-27 13:44:43 -04:00
..
__init__.py Remove autotools, replace with distutils-extra 2013-04-03 18:20:51 -04:00
about.py Revive pep8 and clean up the code 2013-04-13 15:22:43 -04:00
addhardware.py Handle storage formats properly 2013-08-21 11:12:42 +02:00
asyncjob.py VirtualConnection: cache version lookups 2013-07-06 15:39:00 -04:00
autodrawer.py autodrawer: Fix a gtk assertion at app shutdown 2013-06-13 14:10:59 -04:00
baseclass.py Initial snapshot support 2013-08-21 18:41:42 -04:00
choosecd.py uihelpers: Drop global error dialog 2013-07-09 09:20:43 -04:00
clone.py VirtualNetworkInterface: Drop all XML __init__ params 2013-07-15 14:14:05 -04:00
config.py virt-manager: Hide snapshot work behind --experimental-snapshot-ui 2013-08-21 18:47:05 -04:00
connect.py virtManager: Drop util, combine it with virtinst.util and uihelpers 2013-08-11 12:39:28 -04:00
connectauth.py Convert all DBus usage to Gio GDBUS 2013-04-16 15:22:09 -04:00
connection.py virtManager: Drop util, combine it with virtinst.util and uihelpers 2013-08-11 12:39:28 -04:00
console.py console: Don't double create spice display 2013-07-09 17:50:05 -04:00
create.py qemu ARM support: wire up virtio, fix a bunch of defaults 2013-08-18 12:30:58 -04:00
createinterface.py Fix spelling error in function names 2013-08-18 12:30:58 -04:00
createnet.py createnet: Refresh forward device list when wizard is launched 2013-08-05 17:20:05 -04:00
createpool.py virtManager: Drop util, combine it with virtinst.util and uihelpers 2013-08-11 12:39:28 -04:00
createvol.py virt-manager: vmmCreateVolume uses the correct connection 2013-08-14 20:42:27 -04:00
delete.py virtManager: Drop util, combine it with virtinst.util and uihelpers 2013-08-11 12:39:28 -04:00
details.py virt-manager: Hide snapshot work behind --experimental-snapshot-ui 2013-08-21 18:47:05 -04:00
domain.py virt-manager: ignore another VIR_ERR_NO_DOMAIN error 2013-08-27 13:44:43 -04:00
engine.py virtManager: Drop util, combine it with virtinst.util and uihelpers 2013-08-11 12:39:28 -04:00
error.py error: use helper function to embed customized widget into dialog 2013-07-01 14:33:32 -04:00
graphwidgets.py Remove a bunch of outdates FIXME/XXX comments 2013-04-17 09:32:00 -04:00
host.py virt-manager: fix "Copy Volume Path" in storage pool details window 2013-08-14 20:42:27 -04:00
inspection.py inspection: Don't recursively try to inspect guestfs-* temporary VMs. 2013-06-28 13:05:16 -04:00
interface.py Centralize XML helpers in virtinst/util.py 2013-07-12 13:10:23 -04:00
keyring.py keyring: Convert to Secrets DBUS API 2013-04-16 16:20:58 -04:00
libvirtobject.py connection: Pass nostatsupdate through to VM tick 2013-07-07 09:42:21 -04:00
manager.py Initial snapshot support 2013-08-21 18:41:42 -04:00
mediadev.py connection: Do non-VM polling on demand 2013-07-07 12:17:54 -04:00
migrate.py virtManager: Drop util, combine it with virtinst.util and uihelpers 2013-08-11 12:39:28 -04:00
module_trace.py Fix --trace-libvirt option 2013-07-06 14:33:02 -04:00
netdev.py Remove HAL support 2013-04-15 19:51:46 -04:00
network.py Centralize XML helpers in virtinst/util.py 2013-07-12 13:10:23 -04:00
nodedev.py connection: Do non-VM polling on demand 2013-07-07 12:17:54 -04:00
packageutils.py packagekit: Allow cancelling package search 2013-06-13 17:37:12 -04:00
preferences.py prefs: Remove distinction between local and remote sound 2013-04-23 14:21:46 -04:00
serialcon.py VirtualCharDevice: Convert to new style XML props, rework API 2013-07-23 17:34:31 -04:00
snapshots.py Initial snapshot support 2013-08-21 18:41:42 -04:00
storagebrowse.py virt-manager: automatically select newly created volume 2013-08-14 20:42:27 -04:00
storagepool.py virtManager: Drop util, combine it with virtinst.util and uihelpers 2013-08-11 12:39:28 -04:00
storagevol.py virtManager: Drop util, combine it with virtinst.util and uihelpers 2013-08-11 12:39:28 -04:00
systray.py Switch AppIndicator code to use GObject introspection. 2013-07-29 14:45:06 -04:00
uihelpers.py uihelpers: Fix storage unit 2013-08-27 07:33:28 +02:00