Ticket #3300 (closed defect: fixed)

Opened 17 months ago

Last modified 15 months ago

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

gajim-fix3300.patch (473 bytes) - added by misc 17 months ago.

Change History

Changed 17 months ago by misc

Changed 17 months ago by roidelapluie

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 0.12

(In [8399]) [misc] handle gnome-heyring DeniedError?. Fix #3300.

Changed 17 months ago by misc

  • status changed from closed to reopened
  • resolution fixed deleted

I have a similar error when i say "save the password" and i do not allow to acces to gnome-keyring :

Traceback (most recent call last):
  File "gajim.py", line 1876, in autoconnect
    self.roster.send_status(a, 'online', message)
  File "/home/misc/checkout/svn/gajim/src/roster_window.py", line 3339, in send_status
    passwords.save_password(account, passphrase)
  File "/home/misc/checkout/svn/gajim/src/common/passwords.py", line 129, in save_password
    return get_storage().save_password(account_name, password)
  File "/home/misc/checkout/svn/gajim/src/common/passwords.py", line 86, in save_password
    display_name, attributes, password, update)
gnomekeyring.DeniedError

Changed 16 months ago by asterix

  • status changed from reopened to closed
  • resolution set to fixed

(In [8471]) fix gnomekeyring.DeniedError?. fixes #3300

Changed 15 months ago by asterix

(In [8701]) handle gnome-heyring DeniedError?. Fix #3300

Changed 15 months ago by asterix

  • milestone changed from 0.12 to 0.11.2

Add/Change #3300 (cannot avoid gnome-keyring under gnome)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.