NoAccessToken: SD crashes when no access token found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Client |
Fix Released
|
High
|
Guillermo Gonzalez | ||
ubuntuone-client (Ubuntu) |
Fix Released
|
High
|
dobey | ||
Karmic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
For Karmic users this bug is currently in proposed Karmic updates, which you can install by following this FAQ: https:/
For Jaunty users, his bug is released (rev 288) in the Ubuntu One beta PPA.
Sometimes the SD is started but the user hasn't the necessary auth information yet. Right now, it crashes:
2009-10-24 09:53:32,606 - ubuntuone.
Traceback (most recent call last):
File "/usr/lib/
access_token = self.main.
File "/usr/lib/
return self.oauth_
File "/usr/lib/
raise NoAccessToken("No access token found.")
NoAccessToken: No access token found.
What we should do is to alert the applet somehow that we've been started without the user having the proper auth info, and quit.
To reproduce: delete the existing access token from the keyring with the client stopped, then start the client. It should go through the authorization process and not die.
Related branches
- dobey (community): Approve
- John O'Brien (community): Approve
-
Diff: 384 lines (+243/-12)4 files modifiedcontrib/testing/testcase.py (+64/-5)
tests/syncdaemon/test_dbus.py (+113/-1)
tests/syncdaemon/test_fsm.py (+2/-1)
ubuntuone/syncdaemon/dbus_interface.py (+64/-5)
Changed in ubuntuone-client: | |
status: | Triaged → In Progress |
assignee: | nobody → Guillermo Gonzalez (verterok) |
tags: | added: no-access-token |
Changed in ubuntuone-client: | |
status: | In Progress → Fix Committed |
Changed in ubuntuone-client (Ubuntu): | |
assignee: | nobody → Rodney Dawes (dobey) |
importance: | Undecided → High |
status: | New → In Progress |
tags: | added: ubuntuone-sru |
summary: |
- SD crashes when no token found + NoAccessToken: SD crashes when no access token found |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
description: | updated |
description: | updated |
Changed in ubuntuone-client (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in ubuntuone-client: | |
status: | Fix Committed → Fix Released |
Accepted ubuntuone-client into karmic-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you in advance!