u1sync fails with requested capabilities missing

Bug #1188541 reported by ScaryTom
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
u1sync
Low
Ubuntu One Client Engineering team

Bug Description

I have an automated script which makes use of u1sync. On 29-May-2013 this script started failing with the following output:

Traceback (most recent call last):
  File "/usr/local/bin/u1sync", line 30, in <module>
    exit(main(*sys.argv))
  File "/usr/local/lib/python2.7/dist-packages/u1sync/main.py", line 451, in main
    do_main(argv=argv)
  File "/usr/local/lib/python2.7/dist-packages/u1sync/main.py", line 433, in capture_exception
    func()
  File "/usr/local/lib/python2.7/dist-packages/u1sync/main.py", line 409, in run_client
    client.set_capabilities()
  File "/usr/local/lib/python2.7/dist-packages/u1sync/client.py", line 73, in wrapper
    ent = func(*arg, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/u1sync/client.py", line 418, in set_capabilities
    self.defer_from_thread(_wrapped_set_capabilities)
  File "/usr/local/lib/python2.7/dist-packages/u1sync/client.py", line 311, in defer_from_thread
    failure.raiseException()
  File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 370, in raiseException
    raise self.type, self.value, self.tb
twisted.python.failure.DefaultException: The server don't have the requested capabilities: frozenset(['fix462230', 'no-content'])

Revision history for this message
Dave Morley (davmor2) wrote :

Scary Tom:

Could you please attach a sanitized (just change any keys to be <your_key>, id <your_id> etc) version of the script to this bug report please. It maybe that you script is not correct in the way it calls a function but there is no way to double check without the script.

Many Thanks.

Changed in u1sync:
status: New → Incomplete
importance: Undecided → Low
assignee: nobody → Dave Morley (davmor2)
tags: added: u1-by-user u1-on-production u1-syncdaemon
Revision history for this message
ScaryTom (t-denley) wrote :

Nothing special:

/usr/local/bin/u1sync --oauth=`/bin/cat "$HOME"/u1oauth.key` --action=clobber-server "$HOME"/u1

Dave Morley (davmor2)
Changed in u1sync:
status: Incomplete → Confirmed
assignee: Dave Morley (davmor2) → Ubuntu One Client Engineering team (ubuntuone-client-engineering)
Revision history for this message
ScaryTom (t-denley) wrote :

Any progress on this Dave? I'm now up to three months without an offsite backup.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers