GNOME Bugzilla – Bug 416240
gnome_keyring_find_items_sync wrapper crashes
Last modified: 2007-03-11 16:35:05 UTC
I think in .override there should be a "kwargs" > %% > - override gnome_keyring_find_items_sync > + override gnome_keyring_find_items_sync kwargs In any case, if you do something like this it crashes: ids = gnomekeyring.find_items_sync(gnomekeyring.ITEM_GENERIC_SECRET, {'whatfor' : whatfor}) incidentally, after asking alex how the heck to use gnomekeyring, my impression is that find_items is essential. The keyring.py example that comes with the python bindings stuffs the "id" in gconf whenever it creates an item; this is pretty much a weird hack, the right thing to do is just find the item again on startup with find_items. No need to use gconf to store the item id.
Well, the example may be wrong, I'm not sure; but given that gnome-keyring itself comes with _no examples_ at all, this is the best I could do...
Created attachment 84337 [details] [review] patch
Waiting for permission from the release team...
Not blaming you, just trying to save future developers some trouble ;-) thanks for reviewing the patch.