** Description changed:

  When more than 200 files (that's the threshold for the queue offloading)
  are added to the Ubuntu One folder, at some point during the syncing the
  Upload() task may start executing prior to other tasks that set up the
  upload location (such as MakeFile). Since this should never happen and
  signals about out-of-order queue operation processing, syncdaemon stops
  synchronizing after raising a KeyError.
  
  During my tests this was 100% reproducible.
  
- STR:
+ Test Case:
  
- Add/remove directory with 200 files or more, at some attempt client stops 
working with
+ 1. Add/remove directory with 200 files or more
+ 
+ 2. Ensure that files synced and an error like the one below is not
+ output in ~/.cache/ubuntuone/log/syncdaemon.log
+ 
  Traceback (most recent call last):
    File 
"/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/action_queue.py",
 line 1375, in go
      yield self.run()
    File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 
1037, in _inlineCallbacks
      result = result.throwExceptionIntoGenerator(g)
    File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 
382, in throwExceptionIntoGenerator
      return g.throw(self.type, self.value, self.tb)
    File 
"/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/action_queue.py",
 line 1387, in run
      yield self._start()
    File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 
1039, in _inlineCallbacks
      result = g.send(result)
    File 
"/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/action_queue.py",
 line 2504, in _start
      mdobj = fsm.get_by_node_id(self.share_id, self.node_id)
    File 
"/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/filesystem_manager.py",
 line 786, in get_by_node_id
      mdid = self._idx_node_id[(share_id, node_id)]
    File 
"/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/filesystem_manager.py",
 line 191, in __getitem__
      return dict.__getitem__(self, key)
  KeyError: ('', marker:07dac62a-ae8b-4c81-915b-7a1f5648867a)
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: ubuntuone-client 2.99.92-0ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-22.35-generic 3.2.14
  Uname: Linux 3.2.0-22-generic x86_64
  ApportVersion: 2.0.1-0ubuntu1
  Architecture: amd64
  Date: Wed Apr 11 16:12:38 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 
(20120225)
  PackageArchitecture: all
  SourcePackage: ubuntuone-client
  UbuntuOneSyncdaemonExceptionsLog:
  
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/978903

Title:
  [precise] Client is stuck due to Upload executing before MakeFile

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntuone-client/+bug/978903/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to