Changeset 9324 changes requirements.
I was looking at the changesets and noticed that in changeset 9324 you replaced gobject.timeout_add with gobject.timeout_add_seconds. The timeout_add_seconds function is only available in pygobject >= 2.14 (I'm fairly sure it's this version it requires) which was released not six months ago. This dependency is not mentioned in the readme file. But then, I'd expect many major distributions wouldn't have this version yet so a different approach may be better.
I use the following in my programs:
if (gobject.glib_version \< (2,14)):
# Use old timer method since glib version \< 2.14
addTimer = lambda t, f: gobject.timeout_add(1000 * t, f)
else:
addTimer = lambda t, f: gobject.timeout_add_seconds(t, f)
And then I just call addTimer instead. Though, that won't allow any arguments to the functions, but maybe something like:
if (gobject.glib_version \< (2,14)):
# Old version.
addTimer = gobject.timeout_add
else:
addTimer = gobject.timeout_add_seconds
and then whenever you call addTimer you could pass the number of seconds to a function that converts it to milliseconds if it's using the timeout_add function, but that might be starting to get a bit too complicated. You can probably come up with a better solution than these anyway.
Anyway, just thought you'd want to know.
Jeff