Duplicity is failing with an assertion error when looking for a non-existent manifest file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
New
|
Undecided
|
Unassigned | ||
duplicity (Debian) |
New
|
Undecided
|
Unassigned | ||
duplicity (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: duplicity
Dupliciity refuses to back my files and throws up an assertion error where it appears to be trying to use a non-existent manifest.part file. That file doesn't exist and I cannot find where it is referenced. Here is the traceback:
Traceback (most recent call last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/bin/
globals.
File "/usr/lib/
self.
File "/usr/lib/
map(
File "/usr/lib/
if set.add_
File "/usr/lib/
self.
File "/usr/lib/
remote_
AssertionError: ('duplicity-
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: duplicity 0.6.09-0ubuntu2
ProcVersionSign
Uname: Linux 2.6.35-20-generic i686
Architecture: i386
Date: Wed Sep 8 12:18:29 2010
InstallationMedia: Ubuntu-Netbook 10.10 "Maverick Meerkat" - Alpha i386 (20100803.1)
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.utf8
SHELL=/bin/bash
SourcePackage: duplicity
Similar problem here (Debian stable with 0.6.08b-1+b1), with the following trace :
Info: File duplicity- inc.20101225T00 1425Z.to. 20101226T001506 Z.manifest. part is not part of a known set; creating new set full-signatures .20101222T16182 1Z.sigtar. gpg is not part of a known set; creating new set full-signatures .20101222T16182 1Z.sigtar. gpg' full.20101222T1 61821Z. manifest. gpg is not part of a known set; creating new set full.20101222T1 61821Z. vol1.difftar. gpg is part of known set full.20101222T1 61821Z. vol2.difftar. gpg is part of known set full.20101222T1 61821Z. vol3.difftar. gpg is part of known set inc.20101222T16 1821Z.to. 20101223T002132 Z.manifest. gpg is not part of a known set; creating new set inc.20101222T16 1821Z.to. 20101223T002132 Z.vol1. difftar. gpg is part of known set inc.20101223T00 2132Z.to. 20101224T001431 Z.manifest. gpg is not part of a known set; creating new set inc.20101223T00 2132Z.to. 20101224T001431 Z.vol1. difftar. gpg is part of known set inc.20101224T00 1431Z.to. 20101225T001425 Z.manifest. gpg is not part of a known set; creating new set inc.20101224T00 1431Z.to. 20101225T001425 Z.vol1. difftar. gpg is part of known set g1LQZX- tempdir/ mkstemp- zwaTeY- 1 duplicity" , line 1251, in <module> duplicity" , line 1244, in with_tempdir duplicity" , line 1149, in main archive_ dir).set_ values( ) python2. 6/dist- packages/ duplicity/ collections. py", line 676, in set_values backup_ chains( partials + backend_ filename_ list) python2. 6/dist- packages/ duplicity/ collections. py", line 799, in get_backup_chains python2. 6/dist- packages/ duplicity/ collections. py", line 789, in add_to_sets filename( filename) : python2. 6/dist- packages/ duplicity/ collections. py", line 89, in add_filename manifest( filename) python2. 6/dist- packages/ duplicity/ collections. py", line 118, in set_manifest inc.20101225T00 1425Z.to. 20101226T001506 Z.manifest. part', 'duplicity- inc.20101225T00 1425Z.to. 20101226T001506 Z.manifest. gpg')
Info: File duplicity-
Info: Ignoring file (rejected by backup set) 'duplicity-
Info: File duplicity-
Info: File duplicity-
Info: File duplicity-
Info: File duplicity-
Info: File duplicity-
Info: File duplicity-
Info: File duplicity-
Info: File duplicity-
Info: File duplicity-
Info: File duplicity-
Info: Removing still remembered temporary file /tmp/duplicity-
Info: Traceback (most recent call last):
Info: File "/usr/bin/
Info: with_tempdir(main)
Info: File "/usr/bin/
Info: fn()
Info: File "/usr/bin/
Info: globals.
Info: File "/usr/lib/
Info: self.get_
Info: File "/usr/lib/
Info: map(add_to_sets, filename_list)
Info: File "/usr/lib/
Info: if set.add_
Info: File "/usr/lib/
Info: self.set_
Info: File "/usr/lib/
Info: remote_filename)
Info: AssertionError: ('duplicity-
Fatal: Duplicity failed.
I noticed that the file in the local cache was more or less normal (size > 0), whereas the distant one was of size 0.
I guess that situation has happened as the file was transferred once on the distant server, which was over quota, so the file was created with size 0... then the resulting failures on next run.
The situation may be a bit different from the other reporter's, but duplicity should try and handle such events better or at least explain such failures in more details.
Hope this helps.