race when calling ClearCredentials because we don't wait until sso is finished
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Fix Released
|
Medium
|
Michael Vogt | ||
Precise |
Fix Released
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Medium
|
Michael Vogt | ||
ubuntu-sso-client (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Precise |
Invalid
|
Undecided
|
Unassigned | ||
Quantal |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When testing software-center (https:/
2012-04-20 12:22:41,
2012-04-20 12:22:41,
2012-04-20 12:22:41,
2012-04-20 12:22:41,
Traceback (most recent call last):
File "/usr/lib/
result = yield f(self, *a, **kw)
DBusException: org.freedesktop
2012-04-20 12:22:41,
Traceback (most recent call last):
File "/usr/lib/
result = yield f(self, *a, **kw)
DBusException: org.freedesktop
2012-04-20 12:22:41,
2012-04-20 12:22:41,
2012-04-20 12:22:41,
2012-04-20 12:22:50,
2012-04-20 12:22:50,
Related branches
- Gary Lasker (community): Approve
-
Diff: 107 lines (+23/-5)4 files modifiedsoftwarecenter/ui/gtk3/app.py (+4/-2)
softwarecenter/utils.py (+11/-1)
test/test_utils.py (+6/-0)
utils/piston-helpers/piston_generic_helper.py (+2/-2)
Changed in software-center (Ubuntu): | |
status: | New → Incomplete |
status: | Incomplete → In Progress |
importance: | Undecided → Medium |
summary: |
- odd (?) crash + race when calling ClearCredentials because we don't wait until sso is + finished |
Changed in software-center (Ubuntu): | |
assignee: | nobody → Michael Vogt (mvo) |
status: | In Progress → Fix Committed |
This seems to be a race condition caused by the same app asking to clear the credentials, and before the CredentialsCleared signal is sent, the same app asks for the credentials again.
mvo, I will set as Invalid, if you keep having this after connecting (and waiting on) CredentialsCleared, please re-open.
Thanks!