[winswitch] xpra server python TypeError

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


Hi,

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

Traceback (most recent call last):
  File
"/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)
  File
"/home1/fhs/python64/lib/python2.7/site-packages/xpra/server/server_base.py",
line 1316, in _damage
    ss.damage(wid, window, x, y, width, height, options)
  File
"/home1/fhs/python64/lib/python2.7/site-packages/xpra/server/source.py",
line 1398, in damage
    ws.damage(window, x, y, w, h, damage_options)
  File
"/home1/fhs/python64/lib/python2.7/site-packages/xpra/server/window_source.py",
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,
fhs



More information about the shifter-users mailing list