← Back to team overview

gwibber-bugs team mailing list archive

[Bug 745540] Re: Method "CreateItem" with signature "a{sv}(oayay)b" on interface "org.freedesktop.Secret.Collection" doesn't exist

 

There have been a few changes in the keyring protocol from Gnome 2 to
Gnome 3, like the change in the "Secret" structure that affects
CreateItem, and the changes to the properties names as mterry says, and
probably some other change that we have yet to find.

ubuntu-sso-client currently works fine with Gnome 2, but breaks with
Gnome 3. We want it to support both versions, but there's no way to find
out via DBus what keyring version is running other than trying one of
the changed methods or properties, catching the error and retrying with
the other signature.

We've started doing that each time CreateItem was called in the first
branch, but a few of the other changes popped up, and it fails again. So
we'll work on a different approach that will switch to the keyring 3
protocol the first time one of this errors happens, and it will use the
new property names and other possible changes.

-- 
You received this bug notification because you are a member of Gwibber
Bug Heros, which is subscribed to Gwibber.
https://bugs.launchpad.net/bugs/745540

Title:
  Method "CreateItem" with signature "a{sv}(oayay)b" on interface
  "org.freedesktop.Secret.Collection" doesn't exist

Status in Gwibber:
  Invalid
Status in Ubuntu Single Sign On Client:
  Fix Committed
Status in “libgnome-keyring” package in Ubuntu:
  Fix Released
Status in “python-launchpadlib” package in Ubuntu:
  Invalid
Status in “ubuntu-sso-client” package in Ubuntu:
  Triaged
Status in “ubuntuone-client” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: python-launchpadlib

  Hi,

  With gnome-keyring from gnome3 ppa (2.91.93) I get the following
  traceback when trying to use requestsync --lp

  The authorization page:
   (URL)
  should be opening in your browser. Use your browser to authorize
  this program to access Launchpad on your behalf. 

  Waiting to hear from Launchpad about your decision...
  ** Message: secret service operation failed: Method "CreateItem" with signature "a{sv}(oayay)b" on interface "org.freedesktop.Secret.Collection" doesn't exist

  Traceback (most recent call last):
    File "/usr/bin/requestsync", line 328, in <module>
      main()
    File "/usr/bin/requestsync", line 148, in main
      Launchpad.login(service=options.lpinstance)
    File "/usr/lib/python2.7/dist-packages/ubuntutools/lp/lpapicache.py", line 61, in login
      version=api_version)
    File "/usr/lib/pymodules/python2.7/launchpadlib/launchpad.py", line 538, in login_with
      credential_save_failed, version)
    File "/usr/lib/pymodules/python2.7/launchpadlib/launchpad.py", line 345, in _authorize_token_and_login
      credentials = authorization_engine(credentials, credential_store)
    File "/usr/lib/pymodules/python2.7/launchpadlib/credentials.py", line 465, in __call__
      credential_store.save(credentials, self.unique_consumer_id)
    File "/usr/lib/pymodules/python2.7/launchpadlib/credentials.py", line 244, in save
      raise e
  gnomekeyring.IOError

  
  I also get the same error when trying to add an account for ubuntuone

  Related to bug #734671 ?