KeyError exception in delete_metadata (filesystem_manager.py, line 918)

Bug #1302409 reported by Amos Brocco on 2014-04-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Control Panel
Undecided
Unassigned

Bug Description

Ubuntu one syncdaemon crashes due to a keyerror exception in filesystem_manager.py:

python-ubuntuone-client version 13.10-0ubuntu1

--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 108, in execute
    result = callable(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/local_rescan.py", line 676, in scan
    share)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/local_rescan.py", line 406, in _compare
    shouldbe = self._paths_filter(share_info, dirpath, len(share.path))
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/local_rescan.py", line 610, in _paths_filter
    self.fsm.delete_metadata(fullname)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/filesystem_manager.py", line 918, in delete_metadata
    mdid = self._idx_path[path]
exceptions.KeyError: '/home/attila/Sviluppo/workspace/PDFPresenter/run.xml'

Revision history for this message
Amos Brocco (mriya3) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers