Comment 22 for bug 1154870

Revision history for this message
IBBoard (ibboard) wrote :

I've just tried the patch and it didn't work for me - the file is /usr/lib/python2.7/site-packages/polly/gui/twitter/account.py on openSUSE, and you've got to re-compile the .pyc file afterwards. Polly 0.93.11 worked fine on openSUSE 13.1, but I've now upgraded to 13.2 and get the wizard appear each launch. I've also updated to 0.93.12 and still have the problem (using my OBS build https://build.opensuse.org/package/show/home:IBBoard:desktop/polly).

After an hour of poking and debugging, I've found the cause on my system, though. Basically, Polly had decided to use DBus instead of GnomeKeyring and so a) it wasn't reading the old values and b) for some reason that I don't understand then it wasn't setting values properly either (so newly created accounts got lost).

Prompted by a note on the Arch wiki [1] I found the Gnome Keyring change log [2], which says that v3.11.92 stopped exporting $GNOME_KEYRING_CONTROL and started using $XDG_RUNTIME_DIR instead (commit 2ca51a0a). The attached patch seems to fix it for me (although it would mean that any pre-gnome-keyring-3.11.92 systems that set XDG_RUNTIME_DIR might incorrectly show up as supporting GnomeKeyring).

Oddly, though, I was previously using the Gnome 3.12 repo on top of openSUSE 13.1, so I don't know why this didn't hit me sooner!

[1] https://wiki.archlinux.org/index.php/GNOME_Keyring
[2] http://ftp.gnome.org/pub/GNOME/sources/gnome-keyring/3.11/gnome-keyring-3.11.92.changes