SD crashes when no token found

Bug #488414 reported by Facundo Batista
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Triaged
High
Unassigned

Bug Description

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.SyncDaemon.DBus - ERROR - Can't get the auth token
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/dbus_interface.py", line 1053, in connect
    access_token = self.main.get_access_token()
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/main.py", line 286, in get_access_token
    return self.oauth_client.get_access_token()
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/main.py", line 326, in get_access_token
    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 post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.