I tried Trev Peterson's patch and can confirm that it fixes the problem
in Hardy.

This is how it looks originaly:
----------------------------------------
                # 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"
----------------------------------------

This is after the patch:
----------------------------------------
                # 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 = "login"
----------------------------------------

This confirms that his patch fixes the problem.

Notice the comments made on the source code.

I tried to make this change:
----------------------------------------
                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 = "login"
----------------------------------------

And got the following error:
----------------------------------------
Traceback (most recent call last):
  File "gajim.py", line 2283, in <module>
    Interface()
  File "gajim.py", line 2142, in __init__
    gajim.connections[account] = common.connection.Connection(account)
  File "/usr/share/gajim/src/common/connection.py", line 73, in __init__
    self.password = passwords.get_password(name)
  File "/usr/share/gajim/src/common/passwords.py", line 133, in get_password
    return get_storage().get_password(account_name)
  File "/usr/share/gajim/src/common/passwords.py", line 118, in get_storage
    storage = GnomePasswordStorage()
  File "/usr/share/gajim/src/common/passwords.py", line 52, in __init__
    gnomekeyring.create_sync(self.keyring, None)
TypeError: create_sync() argument 1 must be string, not None
----------------------------------------

This confirms Alexey Balmashnov comments.

I think Trev Peterson's patch should be added to the repos. I don't know
who's the package mantainer for gajim though.

-- 
[hardy] Gajim doesn't use default keyring
https://bugs.launchpad.net/bugs/221851
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to