Unknown error at the end

Bug #1865304 reported by W. Milszus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Déjà Dup
Expired
Undecided
Unassigned

Bug Description

The backup is finished, but after the check the program reports:
(could reproduce that)

Traceback (innermost last):
  File "/usr/bin/duplicity", line 1555, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1541, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1393, in main
    do_backup(action)
  File "/usr/bin/duplicity", line 1472, in do_backup
    restore(col_stats)
  File "/usr/bin/duplicity", line 728, 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 107, in filter_path_iter
    for path in path_iter:
  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 764, in get_fileobj_iter
    backup_set.volume_name_dict[vol_num],
 KeyError: 1

Infos:
lsb_release -d
Ubuntu 18.04.4 LTS

dpkg-query -W deja-dup duplicity
deja-dup 37.1-2fakesync1ubuntu0.1
duplicity 0.7.17-0ubuntu1.1

gsettings list-recursively org.gnome.DejaDup
org.gnome.DejaDup last-restore ''
org.gnome.DejaDup periodic true
org.gnome.DejaDup periodic-period 7
org.gnome.DejaDup full-backup-period 90
org.gnome.DejaDup backend 'remote'
org.gnome.DejaDup last-run '2020-02-29T18:29:39.936589Z'
org.gnome.DejaDup nag-check '2020-02-29T17:26:58.030678Z'
org.gnome.DejaDup prompt-check '2020-02-18T20:19:05.542815Z'
org.gnome.DejaDup root-prompt true
org.gnome.DejaDup include-list ['$HOME']
org.gnome.DejaDup exclude-list ['/home/nameofuser/.local/share/Trash', '/home/nameofuser/Downloads', '/home/nameofuser/.config/google-chrome/Default/Service Worker/CacheStorage', '/home/nameofuser/.config/tvbrowser/tvdata', '/home/nameofuser/Dokumente/profile/6gzzqet5.slt/cache2', '/home/nameofuser/Dokumente/profile/default.8t0/cache2']
org.gnome.DejaDup last-backup '2020-02-29T18:29:39.936589Z'
org.gnome.DejaDup allow-metered false
org.gnome.DejaDup delete-after 365
org.gnome.DejaDup.Rackspace username ''
org.gnome.DejaDup.Rackspace container 'Precision-3540'
org.gnome.DejaDup.S3 id ''
org.gnome.DejaDup.S3 bucket ''
org.gnome.DejaDup.S3 folder 'Precision-3540'
org.gnome.DejaDup.OpenStack authurl ''
org.gnome.DejaDup.OpenStack tenant ''
org.gnome.DejaDup.OpenStack username ''
org.gnome.DejaDup.OpenStack container 'Precision-3540'
org.gnome.DejaDup.GCS id ''
org.gnome.DejaDup.GCS bucket ''
org.gnome.DejaDup.GCS folder 'Precision-3540'
org.gnome.DejaDup.Local folder 'Precision-3540'
org.gnome.DejaDup.Remote uri 'smb://WORKGROUP;ftpuser@192.168.178.1/fritz.nas/1TB/Backup-Dell'
org.gnome.DejaDup.Remote folder ''
org.gnome.DejaDup.Drive uuid ''
org.gnome.DejaDup.Drive icon ''
org.gnome.DejaDup.Drive folder '$HOSTNAME'
org.gnome.DejaDup.Drive name ''
org.gnome.DejaDup.GOA id ''
org.gnome.DejaDup.GOA folder 'Precision-3540'
org.gnome.DejaDup.GOA type 'google'
org.gnome.DejaDup.File short-name ''
org.gnome.DejaDup.File type 'normal'
org.gnome.DejaDup.File migrated true
org.gnome.DejaDup.File name ''
org.gnome.DejaDup.File path ''
org.gnome.DejaDup.File uuid ''
org.gnome.DejaDup.File icon ''
org.gnome.DejaDup.File relpath @ay []

DEJA_DUP_DEBUG=1 deja-dup --backup | tail -n 1000 > /tmp/deja-dup.log
/tmp/deja-dup.log is empty

Program reporting:
Traceback (innermost last):
  File "/usr/bin/duplicity", line 1555, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1541, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1393, in main
    do_backup(action)
  File "/usr/bin/duplicity", line 1472, in do_backup
    restore(col_stats)
  File "/usr/bin/duplicity", line 728, 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 107, in filter_path_iter
    for path in path_iter:
  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 764, in get_fileobj_iter
    backup_set.volume_name_dict[vol_num],
 KeyError: 1

Revision history for this message
Michael Terry (mterry) wrote :

This looks like a hard-to-diagnose problem in duplicity that we've seen before. See:
https://bugs.launchpad.net/duplicity/+bug/498933

Can you try the snap version that bundles the latest version of duplicity with it, to see if that helps?

sudo apt remove deja-dup
snap install deja-dup --classic

Changed in deja-dup:
status: New → Incomplete
Revision history for this message
W. Milszus (milszus) wrote : Re: [Bug 1865304] Re: Unknown error at the end

Hi,
I could not post this comment on launchpad, got a very big error message in html.

After the snap installation of DejaDup, the program got stuck on a large (30 Gb) file; even after several tries and many hours. There was no error message and no information in the log file.
I have now created a completely new backup and it went well.

Thank you for your effort.

Regards
Wolfgang

Michael Terry schrieb am 04.03.20 um 20:14:
> This looks like a hard-to-diagnose problem in duplicity that we've seen before. See:
> https://bugs.launchpad.net/duplicity/+bug/498933
>
> Can you try the snap version that bundles the latest version of
> duplicity with it, to see if that helps?
>
> sudo apt remove deja-dup
> snap install deja-dup --classic
>
> ** Changed in: deja-dup
> Status: New => Incomplete
>

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Déjà Dup because there has been no activity for 60 days.]

Changed in deja-dup:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.