ubuntuone-syncdaemon stuck on local rescan if at least one file changed in synced folder
$ tail ~/.cache/ubuntuone/log/syncdaemon.log.2013-04-07_16-54-11
2013-04-07 17:03:45,099 - ubuntuone.SyncDaemon.sync - INFO - T:NONE:T d6196219-1046-4062-bde3-ff246393cebe ['086309d0-be49-44c5-a933-ea397ff170e2'::'4a861e73-eb6f-4175-95d4-675072f812b3'] ''/home/grin/\xd0\x94\xd0\xbe\xd0\xba\xd1\x83\xd0\xbc\xd0\xb5\xd0\xbd\xd1\x82\xd1\x8b'' | Calling rescan_dir (got LR_SCAN_ERROR:{})
2013-04-07 17:03:45,099 - ubuntuone.SyncDaemon.local_rescan - INFO - scan dir: '/home/grin/\xd0\x94\xd0\xbe\xd0\xba\xd1\x83\xd0\xbc\xd0\xb5\xd0\xbd\xd1\x82\xd1\x8b' mdid: d6196219-1046-4062-bde3-ff246393cebe
2013-04-07 17:03:45,102 - ubuntuone.SyncDaemon.sync - INFO - T:NONE:T d6196219-1046-4062-bde3-ff246393cebe ['086309d0-be49-44c5-a933-ea397ff170e2'::'4a861e73-eb6f-4175-95d4-675072f812b3'] ''/home/grin/\xd0\x94\xd0\xbe\xd0\xba\xd1\x83\xd0\xbc\xd0\xb5\xd0\xbd\xd1\x82\xd1\x8b'' | Called rescan_dir (In: T:NONE:T)
2013-04-07 17:03:45,326 - ubuntuone.SyncDaemon.sync - INFO - T:NONE:T d6196219-1046-4062-bde3-ff246393cebe ['086309d0-be49-44c5-a933-ea397ff170e2'::'4a861e73-eb6f-4175-95d4-675072f812b3'] ''/home/grin/\xd0\x94\xd0\xbe\xd0\xba\xd1\x83\xd0\xbc\xd0\xb5\xd0\xbd\xd1\x82\xd1\x8b'' | Calling rescan_dir (got LR_SCAN_ERROR:{})
2013-04-07 17:03:45,327 - ubuntuone.SyncDaemon.local_rescan - INFO - scan dir: '/home/grin/\xd0\x94\xd0\xbe\xd0\xba\xd1\x83\xd0\xbc\xd0\xb5\xd0\xbd\xd1\x82\xd1\x8b' mdid: d6196219-1046-4062-bde3-ff246393cebe
2013-04-07 17:03:45,328 - ubuntuone.SyncDaemon.sync - INFO - T:NONE:T d6196219-1046-4062-bde3-ff246393cebe ['086309d0-be49-44c5-a933-ea397ff170e2'::'4a861e73-eb6f-4175-95d4-675072f812b3'] ''/home/grin/\xd0\x94\xd0\xbe\xd0\xba\xd1\x83\xd0\xbc\xd0\xb5\xd0\xbd\xd1\x82\xd1\x8b'' | Called rescan_dir (In: T:NONE:T)
2013-04-07 17:03:45,333 - ubuntuone.SyncDaemon.sync - INFO - T:NONE:T d6196219-1046-4062-bde3-ff246393cebe ['086309d0-be49-44c5-a933-ea397ff170e2'::'4a861e73-eb6f-4175-95d4-675072f812b3'] ''/home/grin/\xd0\x94\xd0\xbe\xd0\xba\xd1\x83\xd0\xbc\xd0\xb5\xd0\xbd\xd1\x82\xd1\x8b'' | Calling rescan_dir (got LR_SCAN_ERROR:{})
2013-04-07 17:03:45,337 - ubuntuone.SyncDaemon.local_rescan - INFO - scan dir: '/home/grin/\xd0\x94\xd0\xbe\xd0\xba\xd1\x83\xd0\xbc\xd0\xb5\xd0\xbd\xd1\x82\xd1\x8b' mdid: d6196219-1046-4062-bde3-ff246393cebe
2013-04-07 17:03:45,339 - ubuntuone.SyncDaemon.sync - INFO - T:NONE:T d6196219-1046-4062-bde3-ff246393cebe ['086309d0-be49-44c5-a933-ea397ff170e2'::'4a861e73-eb6f-4175-95d4-675072f812b3'] ''/home/grin/\xd0\x94\xd0\xbe\xd0\xba\xd1\x83\xd0\xbc\xd0\xb5\xd0\xbd\xd1\x82\xd1\x8b'' | Called rescan_dir (In: T:NONE:T)
2013-04-07 17:03:45,340 - ubuntuone.SyncDaemon.sync - INFO - T:NONE:T d6196219-1046-4062-bde3-ff246393cebe ['086309d0-be49-44c5-a933-ea397ff170e2'::'4a861e73-eb6f-4175-95d4-675072f812b3'] ''/home/grin/\xd0\x94\xd0\xbe\xd0\xba\xd1\x83\xd0\xbc\xd0\xb5\xd0\xbd\xd1\x82\xd1\x8b'' | Calling rescan_dir (got LR_SCAN_ERROR:{})
$ tail ~/.cache/ubuntuone/log/syncdaemon-exceptions.log.2013-04-07_16-39-37
2013-04-07 16:39:37,574 - ubuntuone.SyncDaemon.Main - ERROR - Local rescan finished with error: Traceback (failure with no frames): <type 'exceptions.KeyError'>: '1365268562019676'
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: ubuntuone-client 4.0.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-27.46-generic 3.5.7.7
Uname: Linux 3.5.0-27-generic i686
ApportVersion: 2.6.1-0ubuntu10
Architecture: i386
Date: Sun Apr 7 16:41:09 2013
ExecutablePath: /usr/lib/ubuntuone-client/ubuntuone-syncdaemon
InstallationDate: Installed on 2012-04-26 (345 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
InterpreterPath: /usr/bin/python2.7
MarkForUpload: True
PackageArchitecture: all
SourcePackage: ubuntuone-client
UpgradeStatus: Upgraded to quantal on 2012-12-24 (103 days ago)
it seems that the problem was related to permissions on files