Xpra: Ticket #61: XGetWindowProperty NoSuchProperty: _NET_WM_ICON_NAME _NET_WM_NAME

We should not be logging this as a stacktrace as these aren't problematic - just missing properties.

Missing window or missing property or wrong property type _NET_WM_NAME (utf8)
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/wimpiggy/prop.py", line 277, in prop_get
    data = trap.call_synced(XGetWindowProperty, target, key, atom)
  File "/usr/local/lib/python2.6/dist-packages/wimpiggy/error.py", line 101, in call_synced
    return self._call(False, fun, args, kwargs)
  File "/usr/local/lib/python2.6/dist-packages/wimpiggy/error.py", line 86, in _call
    value = fun(*args, **kwargs)
  File "bindings.pyx", line 484, in wimpiggy.lowlevel.bindings.XGetWindowProperty (wimpiggy/lowlevel/bindings.c:4029)
NoSuchProperty: _NET_WM_ICON_NAME

And if we do log the trace, logging here is not particularly helpful as it only logs from trap.call down... and not from the caller.



Sun, 29 Jan 2012 10:57:27 GMT - Antoine Martin: status changed; resolution set

r469 avoids the error on property change (as the property may have been removed), and r463 logs the stacktrace from the caller and not just down from prop_get


Mon, 20 Feb 2012 19:55:43 GMT - Antoine Martin: version set


Sat, 23 Jan 2021 04:44:28 GMT - migration script:

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