← Back to team overview

desktop-packages team mailing list archive

[Bug 877631] Re: AssertionError after interruption/restart of backup

 

i am using deja-dup 20.1-0ubuntu0.2 (oneiric-proposed) to fix the
problem ,  but the bug is śtill there

i am using ubuntu 11.10 32 bit with german Language (de) 
i had used a password for encryption ( letters a-z , 0-9,  and special char "-" )
i choose to keep the password
i choose to keep the backup one month ( maybe i changed to this while backup was running )
i interrupted backup 
i tried to resume next day 

------------ 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.20111107T184703Z.vol1.difftar.gpg', 10: u'duplicity-full.20111107T184703Z.vol10.difftar.gpg', 11: u'duplicity-full.20111107T184703Z.vol11.difftar.gpg', 12: u'duplicity-full.20111107T184703Z.vol12.difftar.gpg', 13: u'duplicity-full.20111107T184703Z.vol13.difftar.gpg', 14: u'duplicity-full.20111107T184703Z.vol14.difftar.gpg', 15: u'duplicity-full.20111107T184703Z.vol15.difftar.gpg', 16: u'duplicity-full.20111107T184703Z.vol16.difftar.gpg', 17: u'duplicity-full.20111107T184703Z.vol17.difftar.gpg', 18: u'duplicity-full.20111107T184703Z.vol18.difftar.gpg', 19: u'duplicity-full.20111107T184703Z.vol19.difftar.gpg', 20: u'duplicity-full.20111107T184703Z.vol20.difftar.gpg', 21: u'duplicity-full.20111107T184703Z.vol21.difftar.gpg', 22: u'duplicity-full.20111107T184703Z.vol22.difftar.gpg', 23: u'duplicity-full.20111107T184703Z.vol23.difftar.gpg'}, u'duplicity-full.20111107T184703Z.vol23.difftar.gz')

-- 
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:
  Fix Committed

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