Ticket #3300 (closed defect: fixed)
cannot avoid gnome-keyring under gnome
| Reported by: | misc | Owned by: | asterix |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11.2 |
| Component: | None | Version: | svn |
| Severity: | normal | Keywords: | |
| Cc: | OS: | All |
Description
If you start gajim on a computer with gnome-keyring, it will ask you to create a keyring to store the password. However, if you click on "deny", it should fall back on regular storage, and instead, i see this traceback :
Traceback (most recent call last):
File "gajim.py", line 2481, in <module>
Interface()
File "gajim.py", line 2343, in __init__
gajim.connections[account] = common.connection.Connection(account)
File "/home/misc2/checkout/svn/gajim/src/common/connection.py", line 118, in __init__
self.password = passwords.get_password(name)
File "/home/misc2/checkout/svn/gajim/src/common/passwords.py", line 124, in get_password
return get_storage().get_password(account_name)
File "/home/misc2/checkout/svn/gajim/src/common/passwords.py", line 111, in get_storage
storage = GnomePasswordStorage()
File "/home/misc2/checkout/svn/gajim/src/common/passwords.py", line 51, in __init__
gnomekeyring.create_sync(self.keyring, None)
gnomekeyring.DeniedError
Here is a patch.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
