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
>
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 /bugs.launchpad .net/ubuntu/ +source/ deja-dup/ +bug/ +attachment/ 5098011/ +files/ vol43.txt. xz /bugs.launchpad .net/bugs/ 498933 duplicity" , line 825, in <module> duplicity" , line 818, in with_tempdir duplicity" , line 775, in main duplicity" , line 436, in restore get_patched_ rop_iter( col_stats) ): python2. 6/dist- packages/ duplicity/ patchdir. py", line python2. 6/dist- packages/ duplicity/ lazy.py" , line 336, fast_process, args) python2. 6/dist- packages/ duplicity/ robust. py", line 38, python2. 6/dist- packages/ duplicity/ patchdir. py", line copy(self. base_path. new_index( index)) python2. 6/dist- packages/ duplicity/ path.py" , line 412, obj(self. open("rb" )) python2. 6/dist- packages/ duplicity/ path.py" , line 574, _copy_blocksize ) python2. 6/dist- packages/ duplicity/ patchdir. py", line python2. 6/dist- packages/ duplicity/ patchdir. py", line list[0] = self.tar_ iter.next( ) python2. 6/dist- packages/ duplicity/ patchdir. py", line python2. 6/dist- packages/ duplicity/ patchdir. py", line iter.next( ) duplicity" , line 472, in get_fileobj_iter set.volume_ name_dict[ vol_num] , ature: Ubuntu 2.6.31- 16.53-generic /bugs.launchpad .net/deja- dup/+bug/ 498933/ +subscriptions
> compressed because it is otherwise 5 MiB.
>
> ** Attachment added: "result of `grep -C 10 "vol43\." deja-dup.log`"
> https:/
> 498933/
>
> --
> You received this bug notification because you are subscribed to
> Duplicity.
> https:/
>
> 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/
> with_tempdir(main)
> File "/usr/bin/
> fn()
> File "/usr/bin/
> restore(col_stats)
> File "/usr/bin/
> restore_
> File "/usr/lib/
> 521, in Write_ROPaths
> ITR(ropath.index, ropath)
> File "/usr/lib/
> in __call__
> last_branch.
> File "/usr/lib/
> in check_common_error
> return function(*args)
> File "/usr/lib/
> 574, in fast_process
> ropath.
> File "/usr/lib/
> in copy
> other.writefile
> File "/usr/lib/
> in writefileobj
> buf = fin.read(
> File "/usr/lib/
> 199, in read
> if not self.addtobuffer():
> File "/usr/lib/
> 224, in addtobuffer
> self.tarinfo_
> File "/usr/lib/
> 331, in next
> self.set_tarfile()
> File "/usr/lib/
> 320, in set_tarfile
> self.current_fp = self.fileobj_
> File "/usr/bin/
> backup_
> 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
> ProcVersionSign
> SourcePackage: deja-dup
> Uname: Linux 2.6.31-16-generic i686
>
> To manage notifications about this bug go to:
> https:/
>