New Gnome keyring
Bug description
Each time I start gajim, it asks me to "choose password for a new keyring". Then it creates in my keyrings login_1, login_2 etc (new one with each gajim start, with "login" being default). If I choose to cancel creation of new keyring, that's the output I get:
Traceback (most recent call last):
File "gajim.py", line 396, in \<module>
interface = Interface()
File "/usr/local/share/gajim/src/gui_interface.py", line 3400, in __init__
account)
File "/usr/local/share/gajim/src/common/connection.py", line 657, in __init__
self.password = passwords.get_password(name)
File "/usr/local/share/gajim/src/common/passwords.py", line 219, in get_password
return get_storage().get_password(account_name)
File "/usr/local/share/gajim/src/common/passwords.py", line 199, in get_storage
storage = GnomePasswordStorage()
File "/usr/local/share/gajim/src/common/passwords.py", line 68, in __init__
gnomekeyring.create_sync(self.keyring, None)
gnomekeyring.CancelledError
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/lib/python2.6/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "gajim.py", line 357, in on_exit
gajim.interface.roster.prepare_quit()
AttributeError: 'NoneType' object has no attribute 'prepare_quit'
Error in sys.exitfunc:
Traceback (most recent call last):
File "/usr/lib/python2.6/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "gajim.py", line 357, in on_exit
gajim.interface.roster.prepare_quit()
AttributeError: 'NoneType' object has no attribute 'prepare_quit'
Steps to reproduce
Start gajim, cancel passphrase creation.
Software versions
OS version: Ubuntu Lucid daily
GTK version: 2.19.6
PyGTK version: 2.17.0