xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 11 years ago

Closed 10 years ago

Last modified 17 months ago

#61 closed enhancement (fixed)

XGetWindowProperty NoSuchProperty: _NET_WM_ICON_NAME _NET_WM_NAME

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: minor Milestone: 0.0.7.x
Component: android Version:
Keywords: Cc:


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.

Change History (3)

comment:1 Changed 10 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

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

comment:2 Changed 10 years ago by Antoine Martin


comment:3 Changed 17 months ago by migration script

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

Note: See TracTickets for help on using tickets.