Comment 50 for bug 498933

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote : Re: [Bug 498933] Re: Crash when restoring data KeyError

OK, this is an old bug. The file list coming back from the remote is
truncated, however, I can clearly see vol43 in the list for
the 20171228T132324Z backup. Very confusing.

Would you look on the remote manually and compare the number of files? I'm
sure it is higher.

On Sun, Apr 1, 2018 at 10:41 AM, Václav Haisman <email address hidden> wrote:

> Here is the result of `grep -C 10 "vol43\." deja-dup.log`. It is
> compressed because it is otherwise 5 MiB.
>
> ** Attachment added: "result of `grep -C 10 "vol43\." deja-dup.log`"
> https://bugs.launchpad.net/ubuntu/+source/deja-dup/+bug/
> 498933/+attachment/5098011/+files/vol43.txt.xz
>
> --
> You received this bug notification because you are subscribed to
> Duplicity.
> https://bugs.launchpad.net/bugs/498933
>
> Title:
> Crash when restoring data KeyError
>
> Status in Déjà Dup:
> Invalid
> Status in Duplicity:
> Confirmed
> Status in deja-dup package in Ubuntu:
> Invalid
>
> Bug description:
> Binary package hint: deja-dup
>
> 1) Ubuntu 9.10
> 2) Deja Dup 10.2-0ubuntu1.1
> 3) I expected my backup to be restored
> 4) Deja Dup crashed instead.
>
> I just tried to restore the backup I made, and it crashes repeatedly
> when trying to restore.
>
> I have it setup to backup my home directory, and tried restoring to
> both the original location as well as a completely different folder.
> Both lead to the same error message.
>
>
> Traceback (most recent call last):
> File "/usr/bin/duplicity", line 825, in <module>
> with_tempdir(main)
> File "/usr/bin/duplicity", line 818, in with_tempdir
> fn()
> File "/usr/bin/duplicity", line 775, in main
> restore(col_stats)
> File "/usr/bin/duplicity", line 436, in restore
> restore_get_patched_rop_iter(col_stats)):
> File "/usr/lib/python2.6/dist-packages/duplicity/patchdir.py", line
> 521, in Write_ROPaths
> ITR(ropath.index, ropath)
> File "/usr/lib/python2.6/dist-packages/duplicity/lazy.py", line 336,
> in __call__
> last_branch.fast_process, args)
> File "/usr/lib/python2.6/dist-packages/duplicity/robust.py", line 38,
> in check_common_error
> return function(*args)
> File "/usr/lib/python2.6/dist-packages/duplicity/patchdir.py", line
> 574, in fast_process
> ropath.copy(self.base_path.new_index(index))
> File "/usr/lib/python2.6/dist-packages/duplicity/path.py", line 412,
> in copy
> other.writefileobj(self.open("rb"))
> File "/usr/lib/python2.6/dist-packages/duplicity/path.py", line 574,
> in writefileobj
> buf = fin.read(_copy_blocksize)
> File "/usr/lib/python2.6/dist-packages/duplicity/patchdir.py", line
> 199, in read
> if not self.addtobuffer():
> File "/usr/lib/python2.6/dist-packages/duplicity/patchdir.py", line
> 224, in addtobuffer
> self.tarinfo_list[0] = self.tar_iter.next()
> File "/usr/lib/python2.6/dist-packages/duplicity/patchdir.py", line
> 331, in next
> self.set_tarfile()
> File "/usr/lib/python2.6/dist-packages/duplicity/patchdir.py", line
> 320, in set_tarfile
> self.current_fp = self.fileobj_iter.next()
> File "/usr/bin/duplicity", line 472, in get_fileobj_iter
> backup_set.volume_name_dict[vol_num],
> KeyError: 15
>
> ProblemType: Bug
> Architecture: i386
> Date: Sun Dec 20 19:59:06 2009
> DistroRelease: Ubuntu 9.10
> ExecutablePath: /usr/bin/deja-dup
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
> Package: deja-dup 10.2-0ubuntu1.1
> ProcEnviron:
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.31-16.53-generic
> SourcePackage: deja-dup
> Uname: Linux 2.6.31-16-generic i686
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/deja-dup/+bug/498933/+subscriptions
>