Duplicity fails with assertion error 'assert first.difftype != "diff", patch_seq'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
New
|
Undecided
|
Unassigned |
Bug Description
I am trying to restore a directory "Bureau".
Duplicity restores some files, then fails with assertion error.
duplicity --file-to-restore Bureau file://
[sudo] password for mvargena:
Les métadonnées locales et distantes sont déjà synchronisées. Aucune synchronisation nécessaire.
Date de dernière sauvegarde intégrale : Tue Feb 8 10:34:04 2011
GnuPG passphrase:
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: [(('Domoservice
duplicity --version
duplicity 0.6.15
python --version
Python 2.7.2+
cat /etc/motd
Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-12-generic i686)
Hello,
Removing the duplicity cache at ~/.cache/duplicity/ solved the problem.
Still, the assertion error should be replaced by a meaningful error indicating the cache corruption.
Best regards,