From fshahriar at gmail.com Wed Feb 5 06:20:11 2014 From: fshahriar at gmail.com (Fazlul Shahriar) Date: Wed, 5 Feb 2014 01:20:11 -0500 Subject: [winswitch] xpra server python TypeError Message-ID: 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 From antoine at nagafix.co.uk Wed Feb 5 06:43:44 2014 From: antoine at nagafix.co.uk (Antoine Martin) Date: Wed, 05 Feb 2014 13:43:44 +0700 Subject: [winswitch] xpra server python TypeError In-Reply-To: References: Message-ID: <52F1DDA0.4080702@nagafix.co.uk> (snip) > 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. I bet it does! > Package versions: > xpra 0.11.2 > pygtk 2.12.0 > gtk 2.10.4 Those versions are *really old*. Nevertheless, here's a fix: https://www.xpra.org/trac/changeset/5355/xpra You should be able to drop in the new region.py file and delete any of xpra's region.py* files you may have on your system to fix things. I've briefly tested with the test flag: XPRA_FAKE_OLD_PYGTK=1 xpra ... And it seems to work OK, let us know if you still have problems. It will be included in the next stable release. Cheers Antoine From antoine at nagafix.co.uk Fri Feb 14 03:45:13 2014 From: antoine at nagafix.co.uk (Antoine Martin) Date: Fri, 14 Feb 2014 10:45:13 +0700 Subject: [winswitch] [ANNOUNCE] xpra 0.11.3 (minor bug fixes) Message-ID: <52FD9149.9050407@nagafix.co.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, This update fixes 6 minor bugs, there is no urgency to update if you are not affected: * fix compatibility with ancient versions of GTK * fix crashes with malformed socket names * fix server builds without client modules * honour mdns flag set in config file * blacklist VMware OpenGL driver which causes client crashes * ensure all "control" subcommands run in UI thread Now, for the usual links: The source: https://xpra.org/src/ Binaries/repositories: https://winswitch.org/downloads/ Direct binary downloads: https://xpra.org/dists/ Beta: https://xpra.org/beta/ Cheers Antoine -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlL9kUYACgkQGK2zHPGK1rsB1QCdE6u5pXKwb2CxzCPIuu8F/XVN pdIAn3QJ+9FlSakg0mfhVOE6ODIwH1cH =rRah -----END PGP SIGNATURE-----