Workaround a bug in gnomekeyring python binding causing a crash on startup.
Such a workaround was in upstream between SVN revisions 7321 and 9575.
For more information see:
http://trac.gajim.org/ticket/2595
http://bugzilla.gnome.org/show_bug.cgi?id=363019
Index: src/common/passwords.py
===================================================================
--- src/common/passwords.py.orig
+++ src/common/passwords.py
@@ -54,9 +54,10 @@ class SimplePasswordStorage(PasswordStor
class GnomePasswordStorage(PasswordStorage):
def __init__(self):
- self.keyring = gnomekeyring.get_default_keyring_sync()
- if self.keyring is None:
- self.keyring = 'default'
+ #self.keyring = gnomekeyring.get_default_keyring_sync()
+ ## above line commented and code below inserted as workaround
+ ## for the bug http://bugzilla.gnome.org/show_bug.cgi?id=363019
+ self.keyring = "default"
try:
gnomekeyring.create_sync(self.keyring, None)
except gnomekeyring.AlreadyExistsError: