[winswitch] xpra server python TypeError

Fazlul Shahriar fshahriar at gmail.com
Wed Feb 5 06:20:11 GMT 2014


I'm see a lot of the following error in xpra server log:

Traceback (most recent call last):
"/home1/fhs/python64/lib/python2.7/site-packages/xpra/x11/server.py", line
507, in _contents_changed
    self._damage(window, event.x, event.y, event.width, event.height)
line 1316, in _damage
    ss.damage(wid, window, x, y, width, height, options)
line 1398, in damage
    ws.damage(window, x, y, w, h, damage_options)
line 455, in damage
    add_rectangle(region, x, y, w, h)
TypeError: add_rectangle() takes exactly 2 arguments (5 given)

I see that in server/region.py there are two implementations of
add_rectangle: one for older versions of gtk which takes 2 arguments, and
another that takes 4 arguments. This looks like a bug.

The server mostly works, except it has problem refreshing windows sometimes.

Package versions:
xpra 0.11.2
pygtk 2.12.0
gtk 2.10.4

Thanks in advance,

More information about the shifter-users mailing list