xpra icon
Bug tracker and wiki

Opened 4 years ago

Closed 4 years ago

#1388 closed defect (fixed)

AttributeError: 'NoneType' object has no attribute 'set_icon_from_data'

Reported by: L29Ah Owned by: L29Ah
Priority: major Milestone:
Component: client Version: trunk
Keywords: Cc:

Description (last modified by Antoine Martin)

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'

Change History (4)

comment:1 Changed 4 years ago by Antoine Martin

Description: modified (diff)
Owner: changed from Antoine Martin to L29Ah

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.

comment:2 Changed 4 years ago by L29Ah

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

comment:3 Changed 4 years ago by L29Ah

Seems to work, thanks!

comment:4 Changed 4 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

Applied to v1.0.x in r14592.

Note: See TracTickets for help on using tickets.