Xpra: Ticket #1388: AttributeError: 'NoneType' object has no attribute 'set_icon_from_data'

2016-12-24 09:09:15,342 Connection lost

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/client/client_tray.py", line 143, in set_tray_icon
    self.tray_widget.set_icon_from_data(pixels, has_alpha, w, h, rowstride)
AttributeError: 'NoneType' object has no attribute 'set_icon_from_data'
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/client/client_tray.py", line 67, in reconfigure
    geometry = self.tray_widget.get_geometry()
AttributeError: 'NoneType' object has no attribute 'get_geometry'


Sat, 24 Dec 2016 06:24:02 GMT - Antoine Martin: owner, description changed

How did you trigger the lost connection?

r14591 may avoid this particular error, but some exit paths are inherently racy so we will not be able to get rid of all warnings on exit.


Sat, 24 Dec 2016 06:25:34 GMT - L29Ah:

Dunno, i've just tried to attach to the server that was running skype as fast as it brings up its socket.


Sat, 24 Dec 2016 06:41:43 GMT - L29Ah:

Seems to work, thanks!


Sat, 24 Dec 2016 09:31:07 GMT - Antoine Martin: status changed; resolution set

Applied to v1.0.x in r14592.


Sat, 23 Jan 2021 05:22:53 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1388