desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #45673
[Bug 877631] Re: AssertionError after interruption/restart of backup
I've uploaded the fix from trunk/precise to oneiric-proposed and
subscribed ubuntu-sru. This is a good SRU candidate because for some
common locales, backup does not work after being interrupted.
For reproduction steps and background, see comment #16.
This fix prevents this sequence of events from happening in the future,
but it does not try to automatically delete any data on your backend
that may be cause the error now. So if you've hit this in the past, you
may want to manually delete the old backup chain.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to deja-dup in Ubuntu.
https://bugs.launchpad.net/bugs/877631
Title:
AssertionError after interruption/restart of backup
Status in Déjà Dup Backup Tool:
Fix Committed
Status in Déjà Dup 20 series:
Fix Committed
Status in “deja-dup” package in Ubuntu:
Fix Released
Status in “deja-dup” source package in Oneiric:
New
Bug description:
when starting a backup with Ubuntu 11.10 it starts to initialize but
then fails with the following error message:
"Traceback (most recent call last):
File "/usr/bin/duplicity", line 1359, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1342, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1222, in main
globals.archive_dir).set_values()
File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 684, in set_values
self.get_backup_chains(partials + backend_filename_list)
File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 807, in get_backup_chains
map(add_to_sets, filename_list)
File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 797, in add_to_sets
if set.add_filename(filename):
File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 94, in add_filename
(self.volume_name_dict, filename)
AssertionError: ({1: u'duplicity-full.20111018T090402Z.vol1.difftar.gpg', 10: u'duplicity-full.20111018T090402Z.vol10.difftar.gpg', 11: u'duplicity-full.20111018T090402Z.vol11.difftar.gpg', 12: u'duplicity-full.20111018T090402Z.vol12.difftar.gpg', 13: u'duplicity-full.20111018T090402Z.vol13.difftar.gpg', 14: u'duplicity-full.20111018T090402Z.vol14.difftar.gpg', 15: u'duplicity-full.20111018T090402Z.vol15.difftar.gpg', 16: u'duplicity-full.20111018T090402Z.vol16.difftar.gpg', 17: u'duplicity-full.20111018T090402Z.vol17.difftar.gpg', 18: u'duplicity-full.20111018T090402Z.vol18.difftar.gpg', 19: u'duplicity-full.20111018T090402Z.vol19.difftar.gpg', 20: u'duplicity-full.20111018T090402Z.vol20.difftar.gpg', 21: u'duplicity-full.20111018T090402Z.vol21.difftar.gpg', 22: u'duplicity-full.20111018T090402Z.vol22.difftar.gpg', 23: u'duplicity-full.20111018T090402Z.vol23.difftar.gpg', 24: u'duplicity-full.20111018T090402Z.vol24.difftar.gpg', 25: u'duplicity-full.20111018T090402Z.vol25.difftar.gpg'}, u'duplicity-full.20111018T090402Z.vol25.difftar.gz')"
I'm trying to make a backup to my Ubuntu One online storage with my backup being encrypted.
Before this error occured, I was making my initial backup when the program returned an error code 302 ("Got status code 302") and aborted when it was close to being finished.
I'm using
deja-dup 20.0-0ubuntu3
duplicity 0.6.15-0ubuntu2
For more information, please see the attachment containing two logs.
To manage notifications about this bug go to:
https://bugs.launchpad.net/deja-dup/+bug/877631/+subscriptions