_hostinfo is initialized as None

connection.py:__init__:236 self._hostinfo = None

The code that fails has a check on backend is open to be sure it is initialized.
And the init of that value is at
connection.py:_tick:1331 self._hostinfo = self._backend.getInfo()

This polls for new objects regularly.
There might be a race of the backend being opened, but no updates yet completed.
That might be more likely for a more remote connection that is slow, but local 
ssh sounds fast.

A safety check to not be None might be worth to be added just to be
sure.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1794315

Title:
  Error launching host dialog: 'NoneType' object has no attribute
  '__getitem__'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1794315/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to