** Description changed:

  Binary package hint: ubuntuone-client
  
  My files are not synchronized correctly. I started checking why and
  found that u1syncdaemon crashes on startup:
  
  2010-12-20 11:03:00,014 - twisted - ERROR - Unhandled error in Deferred:
  2010-12-20 11:03:00,015 - twisted - ERROR - Unhandled Error
  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/ubuntuone/syncdaemon/local_rescan.py", 
line 333, in _scan_tree
      d.addCallbacks(self._scan_one_dir)
    File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 
249, in addCallbacks
      self._runCallbacks()
    File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 
441, in _runCallbacks
      self.result = callback(self.result, *args, **kw)
    File "/usr/lib/pymodules/python2.6/ubuntuone/syncdaemon/local_rescan.py", 
line 675, in _scan_one_dir
      d = defer.execute(scan)
  --- <exception caught here> ---
    File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 96, 
in execute
      result = callable(*args, **kw)
    File "/usr/lib/pymodules/python2.6/ubuntuone/syncdaemon/local_rescan.py", 
line 635, in scan
      share)
    File "/usr/lib/pymodules/python2.6/ubuntuone/syncdaemon/local_rescan.py", 
line 486, in _compare
      different = self.check_stat(fullname, statinfo)
    File "/usr/lib/pymodules/python2.6/ubuntuone/syncdaemon/local_rescan.py", 
line 363, in check_stat
      different = (newstat.st_ino != oldstat.st_ino or
  exceptions.AttributeError: 'NoneType' object has no attribute 'st_ino'
  
  ----
  
  TEST CASE:
  1. Create a new file: ~/Ubuntu One/692496.txt and wait until it is synced
- 2. Open Applications > Accessories > Terminal and run: 
- u1sdtool -q
+ 2. Open Applications > Accessories > Terminal and run:
  u1sdtool --info=/home/$USER/Ubuntu\ One/692496.txt
  
- 3. Copy mdid output from the last command and use below: 
+ 3. Copy mdid output from the command above and use below in place of 
$MDID-FROM-STEP2:
+ u1sdtool -q
  cd /tmp
  wget 
https://bugs.launchpad.net/ubuntu/+source/ubuntuone-client/+bug/692496/+attachment/1870999/+files/692496_test.py
  python 692496_test.py --mdid=$MDID-FROM-STEP2
  u1sdtool -c
  
  Result: Syncdaemon errors and crashes: exceptions.AttributeError:
  'NoneType' object has no attribute 'st_ino'
  
  Expected result: No syncdaemon error and syncdaemon continues to run
  properly, scanning files
- 
  
  ----
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: ubuntuone-client 1.4.5-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.35-24.42-generic 2.6.35.8
  Uname: Linux 2.6.35-24-generic x86_64
  NonfreeKernelModules: vmblock vsock vmci vmhgfs
  Architecture: amd64
  Date: Mon Dec 20 11:04:53 2010
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release Candidate amd64 
(20100928)
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, user)
   LANG=pl_PL.utf8
   SHELL=/bin/bash
  SourcePackage: ubuntuone-client
  UbuntuOneUserSyncdaemonConfig:
   [bandwidth_throttling]
   read_limit = 2097152
   write_limit = 2097152
   on = False

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

Title:
  Ubuntu one crashes in scan()

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to