Comment 8 for bug 1806466

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote : Re: [Bug 1806466] Re: duplicity won't restore backup due to unknown error

No, move one out of the way and try again.

On Wed, Jan 23, 2019 at 7:55 AM mariana xavier <email address hidden>
wrote:

> Yes, there are two vol46 files. Should I delete one of them?
>
> --
> You received this bug notification because you are subscribed to
> Duplicity.
> https://bugs.launchpad.net/bugs/1806466
>
> Title:
> duplicity won't restore backup due to unknown error
>
> Status in Duplicity:
> New
>
> Bug description:
> Hello,
>
> Last week I did a fresh install on my Ubuntu but now I can't restore
> the backup I had made. I get the following error message:
>
>
> Traceback (innermost last):
> File "/usr/bin/duplicity", line 1560, in <module>
> with_tempdir(main)
> File "/usr/bin/duplicity", line 1546, in with_tempdir
> fn()
> File "/usr/bin/duplicity", line 1398, in main
> do_backup(action)
> File "/usr/bin/duplicity", line 1477, in do_backup
> restore(col_stats)
> File "/usr/bin/duplicity", line 733, in restore
> restore_get_patched_rop_iter(col_stats)):
> File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line
> 558, in Write_ROPaths
> for ropath in rop_iter:
> File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line
> 521, in integrate_patch_iters
> for patch_seq in collated:
> File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line
> 389, in yield_tuples
> setrorps(overflow, elems)
> File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line
> 378, in setrorps
> elems[i] = iter_list[i].next()
> File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line
> 121, in difftar2path_iter
> tarinfo_list = [tar_iter.next()]
> File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line
> 339, in next
> self.set_tarfile()
> File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line
> 333, in set_tarfile
> self.current_fp = self.fileobj_iter.next()
> File "/usr/bin/duplicity", line 769, in get_fileobj_iter
> backup_set.volume_name_dict[vol_num],
> KeyError: 1
>
>
> lsb_release -d
> Description: Ubuntu 18.04.1 LTS
>
> dpkg-query -W deja-dup duplicity
> deja-dup 37.1-2fakesync1
> duplicity 0.7.18.2+bzr1367-0ubuntu1~ubuntu18.04.1
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/duplicity/+bug/1806466/+subscriptions
>