Package: virt-manager
Version: 0.7.0-1
Severity: normal

Re-creating a previously deleted guest basically succeeds but
shows up an error message. It is reproducable by following:

1. Create a guest called 'test'
2. Delete guest 'test' (regardless if or not keeping the diskfile)
3. Create again a new guest called 'test'

It works, but the following error gets displayed:

[Sat, 11 Apr 2009 17:06:47 virt-manager 25389] DEBUG (error:76) Uncaught Error: 
Error bringing up domain details: 'NoneType' object has no attribute 
'get_driver' : Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/engine.py", line 272, in 
show_details
    details = vmmDetails(self.get_config(), con.get_vm(uuid), self)
  File "/usr/share/virt-manager/virtManager/details.py", line 337, in __init__
    self.update_widget_states(self.vm, self.vm.status())
  File "/usr/share/virt-manager/virtManager/details.py", line 783, in 
update_widget_states
    self.set_migrate_menu()
  File "/usr/share/virt-manager/virtManager/details.py", line 730, in 
set_migrate_menu
    self.engine.populate_migrate_menu(menu, self.control_vm_migrate)
  File "/usr/share/virt-manager/virtManager/engine.py", line 578, in 
populate_migrate_menu
    conns = self.get_available_migrate_hostnames()
  File "/usr/share/virt-manager/virtManager/engine.py", line 601, in 
get_available_migrate_hostnames
    driver = self.windowManager.current_connection().get_driver()
AttributeError: 'NoneType' object has no attribute 'get_driver'

[Sat, 11 Apr 2009 17:06:47 virt-manager 25389] ERROR (virt-manager:156) 
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/engine.py", line 187, in 
_do_show_console
    self.show_console(uri, uuid)
  File "/usr/share/virt-manager/virtManager/engine.py", line 246, in 
show_console
    win = self.show_details(uri, uuid)
  File "/usr/share/virt-manager/virtManager/engine.py", line 288, in 
show_details
    self.connections[uri]["windowDetails"][uuid] = details
UnboundLocalError: local variable 'details' referenced before assignment
None

By choosing another name for the guest, the error does not appear.
Also deleting 'test', restart virt-manager and re-create it does
not show up this.

Maybe some var's are not cleaned up correctly or so...

Cheers,
Andreas

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (x86_64)

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

Versions of packages virt-manager depends on:
ii  libatk1.0-0              1.22.0-1        The ATK accessibility toolkit
ii  libc6                    2.7-18          GNU C Library: Shared libraries
ii  libcairo2                1.6.4-7         The Cairo 2D vector graphics libra
ii  libglib2.0-0             2.16.6-1+lenny1 The GLib library of C routines
ii  libgtk2.0-0              2.12.11-4       The GTK+ graphical user interface 
ii  libpango1.0-0            1.20.5-3        Layout and rendering of internatio
ii  librsvg2-common          2.22.2-2lenny1  SAX-based renderer library for SVG
ii  python-dbus              0.82.4-2        simple interprocess messaging syst
ii  python-glade2            2.12.1-6        GTK+ bindings: Glade support
ii  python-gnome2            2.22.0-1        Python bindings for the GNOME desk
ii  python-gtk-vnc           0.3.8-2         A VNC viewer widget for GTK+ (Pyth
ii  python-gtk2              2.12.1-6        Python bindings for the GTK+ widge
ii  python-libvirt           0.6.2-2~mm.1    libvirt Python bindings
ii  python-urlgrabber        3.1.0-4         A high-level cross-protocol url-gr
ii  python-vte               1:0.16.14-4     Python bindings for the VTE widget
ii  python2.5                2.5.2-15        An interactive high-level object-o
ii  virtinst                 0.400.3-3~mm.1  Programs to create and clone virtu

Versions of packages virt-manager recommends:
ii  hal                         0.5.11-8     Hardware Abstraction Layer
ii  libvirt-bin                 0.6.2-2~mm.1 the programs for the libvirt libra

Versions of packages virt-manager suggests:
ii  virt-viewer                   0.0.3-2    Displaying the graphical console o

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to