AssertionError in patch_seq2ropath
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
New
|
Undecided
|
Unassigned |
Bug Description
I'm trying to restore a backup consisting of 1 full backup and 4 incremental, but duplicity exits with an assertion error while writing the restored files.
One of the incremental backup operations was interrupted due to a read-error on the source file system. Could that be the cause of the problem? Anyhow, as the source disk has now died, it's important to me that duplicity could somehow complete the restore operation. Using --ignore-errors seems to make no difference here.
The particular assertion error is similar to the one in Bug #531178, however in my case the backup as well as the restore is with duplicity 0.6.
Traceback (most recent call last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/bin/
restore(
File "/usr/bin/
restore_
File "/usr/lib/
for ropath in rop_iter:
File "/usr/lib/
final_ropath = patch_seq2ropath( normalize_ps( patch_seq ) )
File "/usr/lib/
assert first.difftype != "diff", patch_seq
AssertionError: [(('a', 'b', 'c') reg)]
=======
duplicity 0.6.13 (April 02, 2011)
Args: /usr/bin/duplicity restore --no-encryption --file-to-restore xxx file:///yyy/ /zzz
Linux xxx 2.6.35-
/usr/bin/python 2.6.6 (r266:84292, Sep 15 2010, 15:52:39)
[GCC 4.4.5]