** Branch linked: lp:software-center

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/986117

Title:
  race when calling ClearCredentials because we don't wait until sso is
  finished

Status in “software-center” package in Ubuntu:
  Fix Committed
Status in “ubuntu-sso-client” package in Ubuntu:
  Invalid

Bug description:
  When testing software-center (https://code.launchpad.net/~gary-lasker
  /software-center/recommendations-sso-login-
  lp973612/+merge/102044/comments/221596 to be precise) I ran accross
  the following error:

  2012-04-20 12:22:41,584:584.547042847 - ubuntu_sso.keyring.linux - DEBUG - 
Parsing secret.
  2012-04-20 12:22:41,723:723.773002625 - ubuntu_sso.main - INFO - 
'CredentialsManagement': emitting 'CredentialsCleared' with args 
(dbus.String(u'Ubuntu Software Center'),) and kwargs {}
  2012-04-20 12:22:41,724:724.128961563 - ubuntu_sso.main - DEBUG - ref_count 
is 2, changing value to 1.
  2012-04-20 12:22:41,724:724.632978439 - ubuntu_sso.credentials - ERROR - 
find_credentials (app_name: Ubuntu Software Center): Problem while getting 
credentials from the keyring.
  Traceback (most recent call last):
    File 
"/usr/lib/python2.7/dist-packages/ubuntu-sso-client/ubuntu_sso/credentials.py", 
line 98, in inner
      result = yield f(self, *a, **kw)
  DBusException: org.freedesktop.Secret.Error.NoSuchObject: The 
'/org/freedesktop/secrets/collection/login/542' object does not exist
  2012-04-20 12:22:41,725:725.495100021 - ubuntu_sso.credentials - ERROR - 
register (app_name: Ubuntu Software Center): Problem while performing register.
  Traceback (most recent call last):
    File 
"/usr/lib/python2.7/dist-packages/ubuntu-sso-client/ubuntu_sso/credentials.py", 
line 98, in inner
      result = yield f(self, *a, **kw)
  DBusException: org.freedesktop.Secret.Error.NoSuchObject: The 
'/org/freedesktop/secrets/collection/login/542' object does not exist
  2012-04-20 12:22:41,725:725.873947144 - ubuntu_sso.main - ERROR - 
'CredentialsManagement': emitting 'CredentialsError' with args 
(dbus.String(u'Ubuntu Software Center'), DBusException(dbus.String(u"The 
'/org/freedesktop/secrets/collection/login/542' object does not exist"),)) and 
kwargs {}
  2012-04-20 12:22:41,726:726.111888885 - ubuntu_sso.main - DEBUG - ref_count 
is 1, changing value to 0.
  2012-04-20 12:22:41,726:726.2840271 - ubuntu_sso.main - DEBUG - Setting up 
timer with <function timeout_func at 0x1ed3398> (10000, <bound method 
CredentialsManagement.shutdown of <ubuntu_sso.main.CredentialsManagement object 
at 0x1ee3e10>>).
  2012-04-20 12:22:50,244:244.35710907 - ubuntu_sso.main - DEBUG - shutdown!, 
ref_count is 0.
  2012-04-20 12:22:50,244:244.682073593 - ubuntu_sso.main - INFO - Shutting 
down, calling <function shutdown_func at 0x1ed3410>.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/986117/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to