Just to give an update:

I used the patch Chris indicated / attached to manually patch
patchdir.py.  I wasn't able to compile Duplicity, but when I tried
restoring my backup again it ran past the error - but I'm experiencing a
different error now (below)!

In terms of Adriano's question asking in which directory to run the
patch: From the errors above, I found the patchdir.py file in
/usr/lib/python2.7/dist-packages/duplicity.

The error I now get is a different error, I think unrelated to this
specific bug report, but here is the new error anyway:

Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1411, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1404, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1338, in main
    restore(col_stats)
  File "/usr/bin/duplicity", line 632, in restore
    restore_get_patched_rop_iter(col_stats)):
  File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 532, in 
Write_ROPaths
    for ropath in rop_iter:
  File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 505, in 
integrate_patch_iters
    final_ropath = patch_seq2ropath( normalize_ps( patch_seq ) )
  File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 463, in 
patch_seq2ropath
    assert first.difftype != "diff", patch_seq
AssertionError: [(('home', 'stuart', '.config', 'chromium', 'Default', 'History 
Index 2013-04') reg), (('home', 'stuart', '.config', 'chromium', 'Default', 
'History Index 2013-04') reg), (('home', 'stuart', '.config', 'chromium', 
'Default', 'History Index 2013-04') reg), (('home', 'stuart', '.config', 
'chromium', 'Default', 'History Index 2013-04') reg), (('home', 'stuart', 
'.config', 'chromium', 'Default', 'History Index 2013-04') reg), (('home', 
'stuart', '.config', 'chromium', 'Default', 'History Index 2013-04') reg), 
(('home', 'stuart', '.config', 'chromium', 'Default', 'History Index 2013-04') 
reg), (('home', 'stuart', '.config', 'chromium', 'Default', 'History Index 
2013-04') reg), (('home', 'stuart', '.config', 'chromium', 'Default', 'History 
Index 2013-04') reg), (('home', 'stuart', '.config', 'chromium', 'Default', 
'History Index 2013-04') reg)]

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/662442

Title:
  restore fails with "librsync error 103 while in patch cycle"

To manage notifications about this bug go to:
https://bugs.launchpad.net/duplicity/+bug/662442/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to