Guido Günther wrote:
> Hi,
> when opening virt-manager and doubleclicking on the previously definded
> qemu:///system connection which has an already running vm I get:
> 
> Traceback (most recent call last):
>   File 
> "/usr/local/stow/virt-manager/share/virt-manager/virtManager/details.py", 
> line 540, in hw_selected
>     self.refresh_config_cpu()
>   File 
> "/usr/local/stow/virt-manager/share/virt-manager/virtManager/details.py", 
> line 771, in refresh_config_cpu
>     self.window.get_widget("state-host-cpus").set_text("%d" % 
> self.vm.get_connection().host_active_processor_count())
>   File 
> "/usr/local/stow/virt-manager/share/virt-manager/virtManager/connection.py", 
> line 615, in host_active_processor_count
>     return self.hostinfo[2]
> TypeError: 'NoneType' object is unsubscriptable
> 
> This does not happen when all vms are off. Reason is that we're
> accessing hostinfo before it has been filled in vmmConnection.tick().

Hmm, I hadn't seen this, looks like it's dependent
on having the 'view console for all domains' preference
option selected.

I'll take a look tomorrow.

Thanks,
Cole

_______________________________________________
et-mgmt-tools mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Reply via email to