virt-manager on OracleLinux 9.1 reports "Error launching details: list index out of range"

Martin Decker martin.decker at ora-solutions.net
Sat Apr 8 08:53:53 UTC 2023


Dear List,

on OracleLinux 9.1, when running with "--debug", I get this warning when
double clicking on one of my VMs after starting virt-manager:

** (virt-manager:9355): WARNING **: 09:52:10.184: Entity
http://redhat.com/rhel/9 referenced but not defined

In addition, a popup with this error stack is shown:

Error launching details: list index out of range

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/vmwindow.py", line 40, in
get_instance
    cls._instances[key] = vmmVMWindow(vm)
  File "/usr/share/virt-manager/virtManager/vmwindow.py", line 82, in
__init__
    self._details = vmmDetails(self.vm, self.builder, self.topwin,
  File "/usr/share/virt-manager/virtManager/details/details.py", line 408,
in __init__
    self._init_details()
  File "/usr/share/virt-manager/virtManager/details/details.py", line 714,
in _init_details
    self._os_list = vmmOSList()
  File "/usr/share/virt-manager/virtManager/oslist.py", line 44, in __init__
    self._init_state()
  File "/usr/share/virt-manager/virtManager/oslist.py", line 60, in
_init_state
    all_os = virtinst.OSDB.list_os(sortkey="label")
  File "/usr/share/virt-manager/virtinst/osdict.py", line 157, in list_os
    oslist = [_OsVariant(osent) for osent in
  File "/usr/share/virt-manager/virtinst/osdict.py", line 157, in <listcomp>
    oslist = [_OsVariant(osent) for osent in
  File "/usr/share/virt-manager/virtinst/osdict.py", line 245, in __init__
    self.name = self._short_ids[0]
IndexError: list index out of range


rpm -q -a osinfo-db
osinfo-db-20220727-3.0.2.el9.noarch

 cat /etc/oracle-release
Oracle Linux Server release 9.1

 cat /etc/redhat-release
Red Hat Enterprise Linux release 9.1 (Plow)

rpm -q virt-manager
virt-manager-4.0.0-1.el9.noarch

Any ideas?

Regards,
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20230408/7b5f7b76/attachment.htm>


More information about the virt-tools-list mailing list