Pydrive broken resume: not dealing with duplicate filenames

Bug #1489145 reported by mfitz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Duplicity
New
Undecided
Unassigned

Bug Description

Google drive supports two files with the same name in the same place. This isn't being handled currently.

Resume from interrupted full backup does not currently work, here are some reasons:

* On resume, it re-uploads last file in manifest without deleting it from the server beforehand, resulting in two files of the same name. It attempts to add the file to an internal python list/dictionary and crashes.
* On occasion, the same file is added twice. On reading the server, it attempts to add the file to an internal python list/dictionary and crashes.

Workarounds:
* On resume, always delete last file. Manifest should always contain more files.
* When duplicate files are found "in the middle", duplicity will crash, giving the duplicate filename in the array printed (last element). Do this over and over until all dupes are gone.

Duplicity 7.04
Python 2.7.10

Revision history for this message
mfitz (mfitz) wrote :
Revision history for this message
Kuang-che Wu (kcwu) wrote :

This is probably fixed by 0.7.05

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.