nothing listens to keyringError signal
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Canonical System Image |
High
|
Unassigned | ||
| | ubuntuone-credentials (Ubuntu) |
Critical
|
dobey | ||
| | ubuntuone-credentials (Ubuntu RTM) |
Critical
|
Unassigned | ||
Bug Description
several places in keyring.cpp emit keyringError, which is not listened to by ssoservice.
It should be listened to and forwarded as an error to the client of ssoservice.
I noticed this after the following UOA errors:
2014-02-19 21:33:54,704 - DEBUG - after startDownload in run()
2014-02-19 21:33:54,704 - DEBUG - findToken(): Using Ubuntu One account ' 215 '.
2014-02-19 21:33:54,705 - DEBUG - ../../.
2014-02-19 21:33:54,706 - DEBUG - ../../.
2014-02-19 21:33:54,706 - DEBUG - ../../.
2014-02-19 21:33:54,708 - DEBUG - ../../.
2014-02-19 21:33:54,780 - DEBUG - ../../.
2014-02-19 21:33:54,780 - CRITICAL - Error: "userActionFinished error: 10"
Note the final CRITICAL line, that comes from keyring.cpp's keyringError function.
Related branches
- PS Jenkins bot: Approve (continuous-integration) on 2015-01-20
- Alejandro J. Cura (community): Approve on 2015-01-16
-
Diff: 96 lines (+22/-1)5 files modifieddebian/libubuntuoneauth-2.0-0.symbols (+2/-0)
libubuntuoneauth/keyring.cpp (+7/-1)
libubuntuoneauth/keyring.h (+1/-0)
libubuntuoneauth/ssoservice.cpp (+11/-0)
libubuntuoneauth/ssoservice.h (+1/-0)
- Alejandro J. Cura (community): Approve on 2015-01-22
- PS Jenkins bot: Approve (continuous-integration) on 2015-01-22
-
Diff: 96 lines (+22/-1)5 files modifieddebian/libubuntuoneauth-2.0-0.symbols (+2/-0)
libubuntuoneauth/keyring.cpp (+7/-1)
libubuntuoneauth/keyring.h (+1/-0)
libubuntuoneauth/ssoservice.cpp (+11/-0)
libubuntuoneauth/ssoservice.h (+1/-0)
| Mike McCracken (mikemc) wrote : | #1 |
| Changed in ubuntuone-credentials (Ubuntu): | |
| importance: | High → Critical |
| status: | New → Triaged |
| Changed in ubuntuone-credentials (Ubuntu RTM): | |
| status: | New → Triaged |
| importance: | Undecided → Critical |
| Changed in ubuntuone-credentials (Ubuntu): | |
| status: | Triaged → In Progress |
| Changed in ubuntuone-credentials (Ubuntu): | |
| assignee: | nobody → Rodney Dawes (dobey) |
| Pat McGowan (pat-mcgowan) wrote : | #2 |
part of fix for bug 1376445
| Changed in canonical-devices-system-image: | |
| importance: | Undecided → High |
| milestone: | none → ww05-2015 |
| status: | New → Confirmed |
| Launchpad Janitor (janitor) wrote : | #3 |
This bug was fixed in the package ubuntuone-
---------------
ubuntuone-
[ Rodney Dawes ]
* Set the default ACL as ["unconfined"] for the account. (LP:
#1376445)
* Handle keyringError from the keyring, by deleting token. (LP:
#1282392)
-- Ubuntu daily release <email address hidden> Tue, 20 Jan 2015 18:09:09 +0000
| Changed in ubuntuone-credentials (Ubuntu): | |
| status: | In Progress → Fix Released |
| Changed in canonical-devices-system-image: | |
| status: | Confirmed → In Progress |
| milestone: | ww05-2015 → ww07-2015 |
| Launchpad Janitor (janitor) wrote : | #4 |
This bug was fixed in the package ubuntuone-
---------------
ubuntuone-
[ Ubuntu daily release ]
* New rebuild forced
[ Rodney Dawes ]
* Handle keyringError from the keyring, by deleting token. (LP:
#1282392)
* Set the default ACL as ["unconfined"] for the account. (LP:
#1376445)
ubuntuone-
[ CI bot ]
* Resync trunk
[ Rodney Dawes ]
* Add new ctor for Token to accept created/updated date strings. Use
the new ctor when creating the token from the REST response. Turn
the date string returned from the server into an ISO string for
parsing. Add more tests. (LP: #1366998)
[ Sebastien Bacher ]
* Set wrapmode to avoid having a label cut (LP: #1366294)
-- Ubuntu daily release <email address hidden> Thu, 22 Jan 2015 16:16:46 +0000
| Changed in ubuntuone-credentials (Ubuntu RTM): | |
| status: | Triaged → Fix Released |
| Changed in canonical-devices-system-image: | |
| status: | In Progress → Fix Released |


I have no idea how to reproduce the actual error it got, since I don't know what caused it.
I did get a notification bubble warning me that applications might not be able to access my UOA accounts, but that wasn't very helpful.
Also, it was intermittent - when I restarted the scope and tried again, it worked.
So, I think that just surfacing errors in keyring and making sure you can start over cleanly is the best we can do here.