[sugar] Imminent change to dbus-python async call timeouts

Simon McVittie simon.mcvittie at collabora.co.uk
Thu Sep 27 14:23:31 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The version of dbus-python used in Trial-3 and sugar-jhbuild has a bug
when setting non-default timeouts on asynchronous D-Bus calls: the
timeout was meant to be in seconds, but is actually in milliseconds.
dbus-python 0.82.2 fixes this bug.

In the interests of sanity (and also catching up with current bugfixes) I'd
like to get dbus-python 0.82.3 (released today) into sugar-jhbuild and daily
builds, so it can go in FRS/1.0 builds. This will mean everyone who uses
non-default timeouts for asychronous dbus-python calls will need to change
their timeouts to be 1000 times shorter.

Having done a quick grep, I believe this affects:

sugar:
	sugar.activity.activityfactory
	sugar.datastore.datastore (maybe)
	sugar.datastore.dbus_helpers (maybe)
	shell/hardware/nmclient.py

web-activity:
	downloadmanager.py

If you use a non-default timeout on any other asynchronous D-Bus calls, please
let me know, so I can coordinate with you when I switch to the newer
dbus-python.

Thanks,
	Simon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: OpenPGP key: http://www.pseudorandom.co.uk/2003/contact/ or pgp.net

iD8DBQFG+/UjWSc8zVUw7HYRAn1cAKCE3jwU7Sjld5K9WDVvBoJr8bLAJgCbBFPr
mb+i4dTfhHGhk5NsfRKBdJU=
=q3kz
-----END PGP SIGNATURE-----


More information about the Sugar mailing list