GNOME Bugzilla – Bug 685947
Gio.Settings: NotImplementedError: Cannot handle allowed type range classenum
Last modified: 2012-10-11 15:50:56 UTC
In a test suite of mine I am trying to set settings_gsd_power = Gio.Settings('org.gnome.settings-daemon.plugins.power') settings_gsd_power['sleep-inactive-battery-type'] = 'suspend' but that fails with
+ Trace 231012
raise NotImplementedError('Cannot handle allowed type range class' + str(type_))
It would be useful to support this datatype.
Fixed in http://git.gnome.org/browse/pygobject/commit/?id=c0bc69906df2db64560f7c054277ad1956aab57f