Page 1 of 1

gajim/gnome keyring error under xfce

Posted: Mon Mar 19, 2012 8:49 am
by hanzo23
I recently installed xfce on my LM12 64bit setup (wasn't happy with Gnome). Everything seems to fine so far except, gajim (IM client) will not launch. When I try to launch from the command line I get the following output. It looks like Gajim is checking gnome-keyring. I am not sure why but I would love to get gajim running.

Code: Select all

Gkr-Message: secret service operation failed: Method "CreateCollection" with signature "a{sv}s" on interface "org.freedesktop.Secret.Service" doesn't exist

Traceback (most recent call last):
  File "gajim.py", line 414, in <module>
    interface = Interface()
  File "/usr/share/gajim/src/gui_interface.py", line 3414, in __init__
    account)
  File "/usr/share/gajim/src/common/connection.py", line 688, in __init__
    self.password = passwords.get_password(name)
  File "/usr/share/gajim/src/common/passwords.py", line 220, in get_password
    return get_storage().get_password(account_name)
  File "/usr/share/gajim/src/common/passwords.py", line 199, in get_storage
    storage = GnomePasswordStorage()
  File "/usr/share/gajim/src/common/passwords.py", line 68, in __init__
    gnomekeyring.create_sync(self.keyring, None)
gnomekeyring.IOError
I googled this but came up with little that made sense in this context. Most of what I found was older info.

Thanks for the help.

Re: gajim/gnome keyring error under xfce

Posted: Mon Apr 02, 2012 5:02 am
by bruno.braga
I am facing the same problem... I am using i3 window manager, and any application requiring to access the keyring causes an exception. Here is one example...

Code: Select all

gm-notify
Gkr-Message: secret service operation failed: Method "CreateCollection" with signature "a{sv}s" on interface "org.freedesktop.Secret.Service" doesn't exist

Traceback (most recent call last):
  File "/usr/bin/gm-notify-config", line 135, in save
    self.wTree.get_widget("input_password").get_text()))
  File "/usr/lib/python2.7/dist-packages/gm_notify_keyring.py", line 43, in set_credentials
    gkey.ITEM_NETWORK_PASSWORD, self._name, attrs, pw, True)
gnomekeyring.IOError
Gkr-Message: secret service operation failed: Method "CreateCollection" with signature "a{sv}s" on interface "org.freedesktop.Secret.Service" doesn't exist

I didn't find the answer for this yet... anyone?

Thanks,



UPDATE:
Got it working... I found that the keyring was not running properly because there were actually 2 different keyrings running in my machine:

Code: Select all

bruno@mac-mint: ~ $ ps -ef | grep keyring
bruno     4678     1  0 18:50 ?        00:00:00 /usr/bin/mate-keyring-daemon --start --foreground --components=secrets
bruno     4873     1  0 18:54 pts/5    00:00:00 gnome-keyring-daemon
Once I killed both processes, and restarted gnome keyring, everything worked fine... now gotta figure out how to disable this mate keyring... (and if I should)