[Pkg-libvirt-maintainers] Bug#1007989: virt-manager: Error launching create dialog

Erik de Castro Lopo erikd at mega-nerd.com
Sun Mar 20 00:30:16 GMT 2022


Package: virt-manager
Version: 1:4.0.0-1
Severity: important

Dear Maintainer,

When I run virt-manager and try to create a new VM I get a dialog box saying:

    Error launching create dialog:
    programming error: Did not find widget name = disk-detect-zeros

In the "details" dialog it also has:

    Traceback (most recent call last):
      File "/usr/share/virt-manager/virtManager/createvm.py", line 176, in show_instance
        cls._instance = vmmCreateVM()
      File "/usr/share/virt-manager/virtManager/createvm.py", line 202, in __init__
        self._addstorage = vmmAddStorage(self.conn, self.builder, self.topwin)
      File "/usr/share/virt-manager/virtManager/device/addstorage.py", line 59, in __init__
        def _cleanup(self):
      File "/usr/share/virt-manager/virtManager/device/addstorage.py", line 118, in _init_ui
        skip_paths = src.config.get_perms_fix_ignore()
      File "/usr/share/virt-manager/virtManager/baseclass.py", line 311, in widget
        raise xmlutil.DevError("Did not find widget name=%s" % name)
            virtinst.xmlutil.DevError: programming error: Did not find widget name=disk-detect-zeroes

If I run it as `virt-manager --debug --no-fork` it still seems to fork, but I see this on
the console:

  [Sun, 20 Mar 2022 11:24:28 virt-manager 1455533] DEBUG (cli:204) Launched with command line: /usr/bin/virt-manager --no-fork --debug
  [Sun, 20 Mar 2022 11:24:28 virt-manager 1455533] DEBUG (virtmanager:167) virt-manager version: 4.0.0
  [Sun, 20 Mar 2022 11:24:28 virt-manager 1455533] DEBUG (virtmanager:168) virtManager import: /usr/share/virt-manager/virtManager
  [Sun, 20 Mar 2022 11:24:28 virt-manager 1455533] DEBUG (virtmanager:205) PyGObject version: 3.42.0
  [Sun, 20 Mar 2022 11:24:28 virt-manager 1455533] DEBUG (virtmanager:209) GTK version: 3.24.33
  [Sun, 20 Mar 2022 11:24:28 virt-manager 1455533] DEBUG (systray:84) Imported AppIndicator3=<IntrospectionModule 'AyatanaAppIndicator3' from '/usr/lib/x86_64-linux-gnu/girepository-1.0/AyatanaAppIndicator3-0.1.typelib'>
  [Sun, 20 Mar 2022 11:24:28 virt-manager 1455533] DEBUG (systray:86) AppIndicator3 is available, but didn't find any dbus watcher.
  [Sun, 20 Mar 2022 11:24:28 virt-manager 1455533] DEBUG (engine:244) Connected to remote app instance.

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.16.0-1-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_AU.UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages virt-manager depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.40.0-3
ii  gir1.2-gtk-3.0                               3.24.33-1
ii  gir1.2-gtk-vnc-2.0                           1.0.0-1+b1
ii  gir1.2-gtksource-4                           4.8.2-1
ii  gir1.2-libosinfo-1.0                         1.8.0-1
ii  gir1.2-libvirt-glib-1.0                      4.0.0-2
ii  gir1.2-vte-2.91                              0.67.90-2
ii  python3                                      3.9.8-1
ii  python3-dbus                                 1.2.18-3+b1
ii  python3-gi                                   3.42.0-3
ii  python3-gi-cairo                             3.42.0-3
ii  python3-libvirt                              8.0.0-1
ii  virtinst                                     1:4.0.0-1

Versions of packages virt-manager recommends:
ii  gir1.2-ayatanaappindicator3-0.1  0.5.90-7
ii  gir1.2-spiceclientglib-2.0       0.39-3
ii  gir1.2-spiceclientgtk-3.0        0.39-3
ii  libvirt-daemon-system            8.0.0-1

Versions of packages virt-manager suggests:
pn  gir1.2-secret-1  <none>
ii  gnome-keyring    40.0-3
pn  python3-guestfs  <none>
pn  ssh-askpass      <none>
ii  virt-viewer      7.0-2+b1

Versions of packages virt-manager is related to:
ii  libvirt-clients  8.0.0-1
ii  libvirt-daemon   8.0.0-1
ii  libvirt0         8.0.0-1
ii  osinfo-db        0.20220214-1

-- no debconf information



More information about the Pkg-libvirt-maintainers mailing list