New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devices widget print errors when creating new VM #2893

Closed
marmarek opened this Issue Jul 7, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@marmarek
Member

marmarek commented Jul 7, 2017

Qubes OS version (e.g., R3.2): R4.0

Creating new VM cause devices widget to print a lot of:

ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib64/python3.5/site-packages/dbus/connection.py", line 230, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/qui/tray/devices.py", line 154, in add_vm
    self._add_vm(vm)
  File "/usr/lib/python3.5/site-packages/qui/tray/devices.py", line 147, in _add_vm
    menu_item = DomainMenuItem(self.data, vm)
  File "/usr/lib/python3.5/site-packages/qui/tray/devices.py", line 86, in __init__
    self._hbox = self._create_hbox()
  File "/usr/lib/python3.5/site-packages/qui/tray/devices.py", line 93, in _create_hbox
    label = Gtk.Label(self.vm.name, xalign=0)
AttributeError: 'NoneType' object has no attribute 'name'

The widget seems to remain functional after that.

Command used to create VM:

qvm-create -t debian-8 -l red d8test
@kalkin

This comment has been minimized.

Show comment
Hide comment
@kalkin

kalkin Jul 8, 2017

Member

will fix that

Member

kalkin commented Jul 8, 2017

will fix that

@kalkin

This comment has been minimized.

Show comment
Hide comment
@kalkin

kalkin Jul 12, 2017

Member

I can't reproduce that. 😩 Is it still reproducable on your machine?

Member

kalkin commented Jul 12, 2017

I can't reproduce that. 😩 Is it still reproducable on your machine?

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jul 12, 2017

Member

No, I can't. Lets close it for now.

Member

marmarek commented Jul 12, 2017

No, I can't. Lets close it for now.

@marmarek marmarek closed this Jul 12, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment