AssertionError in manifest.py: assert filecount == len(self.files_changed)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
High
|
Unassigned | ||
duplicity (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Zesty |
Fix Released
|
High
|
Unassigned |
Bug Description
Duplicity was almost finishing a full backup to a FTP server. When I restarted the backup, the following error occured:
root@MyMachine:~# duply MyProfile backup
Start duply v1.11, time is 2016-01-26 23:38:21.
Using profile '/root/
Using installed duplicity version 0.7.06, python 2.7.3, gpg 1.4.12 (Home: ~/.gnupg), awk 'mawk 1.3.3 Nov 1996, Copyright (C) Michael D. Brennan', grep 'grep (GNU grep) 2.12', bash 'GNU bash, Version 4.2.37(1)-release (i486-pc-
Autoset found secret key of first GPG_KEY entry 'XXXXXXXX' for signing.
Checking TEMP_DIR '/tmp' is a folder and writable (OK)
Test - Encrypt to 'XXXXXXXX' & Sign with 'XXXXXXXX' (OK)
Test - Decrypt (OK)
Test - Compare (OK)
Cleanup - Delete '/tmp/duply.
--- Start running command PRE at 23:38:24.349 ---
Skipping n/a script '/root/
--- Finished state OK at 23:38:24.400 - Runtime 00:00:00.051 ---
--- Start running command BKP at 23:38:24.447 ---
LFTP version is 4.3.6
Reading globbing filelist /root/.
Local and Remote metadata are synchronized, no sync needed.
Traceback (most recent call last):
File "/usr/local/
with_
File "/usr/local/
fn()
File "/usr/local/
do_
File "/usr/local/
globals.
File "/usr/local/
self.
File "/usr/local/
add_to_sets(f)
File "/usr/local/
if new_set.
File "/usr/local/
self.
File "/usr/local/
self.
File "/usr/local/
mf = self.get_manifest()
File "/usr/local/
return self.get_
File "/usr/local/
return manifest.
File "/usr/local/
assert filecount == len(self.
AssertionError
23:38:36.860 Task 'BKP' failed with exit code '30'.
--- Finished state FAILED 'code 30' at 23:38:36.860 - Runtime 00:00:12.412 ---
--- Start running command POST at 23:38:36.930 ---
Skipping n/a script '/root/
--- Finished state OK at 23:38:36.983 - Runtime 00:00:00.052 ---
Probably the version of python got updated in the meantime, but I'm not sure about this.
Similar tickets, eventually this bug report is a duplicate of those:
- https:/
- https:/
Changed in duplicity: | |
importance: | Undecided → Medium |
milestone: | none → 0.7.07 |
status: | New → Fix Committed |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
Changed in duplicity (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in duplicity (Ubuntu): | |
status: | Fix Released → New |
Changed in duplicity: | |
assignee: | Michael Terry (mterry) → nobody |
Changed in duplicity: | |
importance: | Medium → High |
Changed in duplicity: | |
assignee: | nobody → Kenneth Loafman (kenneth-loafman) |
status: | Incomplete → In Progress |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
Changed in duplicity (Ubuntu): | |
status: | Confirmed → Fix Released |
This bug was fixed in the package duplicity - 0.7.06-2ubuntu3
---------------
duplicity (0.7.06-2ubuntu3) zesty; urgency=medium
* d/p/backport- fix-tags- in-locked- folders. patch: crash-on- restore. patch: ignore- excluded- locked- files.patch: downgrade- error.patch: flush-after- write.patch: gpg2.patch:
- Fix OSError looking for tag in locked folders with exclude-if-present
(LP: #1620085)
* d/p/backport-
- Guard a chown call to avoid a stacktrace (LP: #1642813)
* d/p/backport-
- Ignore excluded locked files rather than giving noisy errors
(LP: #1089131)
* d/p/backport-
- Make locked file messages be warnings not errors, again. This avoids
confusing deja-dup. (LP: #1605939)
* d/p/backport-
- Flush after writing a temp file, to keep disk in sync (LP: #1538333)
* d/p/backport-
- Improve support for gpg2 (fixing FTBFS in process)
-- Michael Terry <email address hidden> Tue, 07 Mar 2017 18:48:01 -0500