Comment 0 for bug 492100

Revision history for this message
Roman Yepishev (rye) wrote :

This is an error in syncdaemon, not nautilus-ubuntuone.

If the patch fixing #491777 is applied then the user is greeted with the following message:

Error creating share.
There was an error sharing the folder '$folder':
callback() takes exactly 2 arguments (1 given)

syncdaemon.log contains the following.
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 497, in __bootstrap
    self.__bootstrap_inner()
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/python/threadpool.py", line 210, in _worker
    result = context.call(ctx, function, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext
    return func(*args,**kw)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/action_queue.py", line 1859, in _create_share_http
    deferred.callback()
exceptions.TypeError: callback() takes exactly 2 arguments (1 given)