Windows: KeyError during local rescan, which makes syncdaemon do nothing else

Bug #805981 reported by Natalia Bidart
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Fix Released
High
Manuel de la Peña

Bug Description

2011-07-05 14:25:24,223 - ubuntuone.SyncDaemon.local_rescan - ERROR - in the scan: <type 'exceptions.KeyError'> (u'\\\\?\\C:\\Users\\Test\\Ubuntu One\\yadda\\ugly?.png')
Traceback (most recent call last):
  File "C:\Users\Test\src\ubuntuone-client\ubuntuone\syncdaemon\local_rescan.py", line 343, in _scan_tree
    d.addCallbacks(self._scan_one_dir)
  File "C:\Python27\lib\site-packages\twisted-11.0.0-py2.7-win32.egg\twisted\internet\defer.py", line 286, in addCallbacks
    self._runCallbacks()
  File "C:\Python27\lib\site-packages\twisted-11.0.0-py2.7-win32.egg\twisted\internet\defer.py", line 542, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "C:\Users\Test\src\ubuntuone-client\ubuntuone\syncdaemon\local_rescan.py", line 699, in _scan_one_dir
    d = defer.execute(scan)
--- <exception caught here> ---
  File "C:\Python27\lib\site-packages\twisted-11.0.0-py2.7-win32.egg\twisted\internet\defer.py", line 104, in execute
    result = callable(*args, **kw)
  File "C:\Users\Test\src\ubuntuone-client\ubuntuone\syncdaemon\local_rescan.py", line 659, in scan
    share)
  File "C:\Users\Test\src\ubuntuone-client\ubuntuone\syncdaemon\local_rescan.py", line 571, in _compare
    self._resume_download(fullname)
  File "C:\Users\Test\src\ubuntuone-client\ubuntuone\syncdaemon\local_rescan.py", line 350, in _resume_download
    mdobj = self.fsm.get_by_path(fullname)
  File "C:\Users\Test\src\ubuntuone-client\ubuntuone\syncdaemon\filesystem_manager.py", line 776, in get_by_path
    mdid = self._idx_path[path]
exceptions.KeyError: u'\\\\?\\C:\\Users\\Test\\Ubuntu One\\yadda\\ugly?.png'

Revision history for this message
Natalia Bidart (nataliabidart) wrote :

Complete log located in http://paste.ubuntu.com/638448/

Changed in ubuntuone-client:
assignee: nobody → Manuel de la Pena (mandel)
status: New → Triaged
importance: Undecided → High
tags: added: u1-zomg-windows
Changed in ubuntuone-client:
status: Triaged → In Progress
Revision history for this message
Natalia Bidart (nataliabidart) wrote :

This bug was resolved when solving path handling within os_helper.

Changed in ubuntuone-client:
status: In Progress → Fix Committed
dobey (dobey)
Changed in ubuntuone-client:
milestone: none → 1.7.2
tags: added: u1-windows
dobey (dobey)
Changed in ubuntuone-client:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.