xpra icon
Bug tracker and wiki

Opened 9 years ago

Closed 9 years ago

Last modified 9 years 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: 0.0.7.35
Keywords: Cc:

Description

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 (2)

comment:1 Changed 9 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 9 years ago by Antoine Martin

Version: 0.0.7.35
Note: See TracTickets for help on using tickets.