Opened 13 years ago

Last modified 9 years ago

#29371 closed defect

list index out of range error when running a duplicity restore — at Version 1

Reported by: colmtroy@… Owned by: singingwolfboy@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: duplicity

Description (last modified by jmroot (Joshua Root))

Hi there,

I have installed duplicity 0.6.13 via macports on Mac OS X 10.6.6

Everything works fine until I attempt a restore of a backup from an S3 bucket using the --restore flag.

I get the error shown below.

It's strange because when I look at the restore location, I can see half my files have restored so it looks like a timeout or some hard limit is being reached.

Any ideas what it could be?

Attempting to restore now ...
Traceback (most recent call last):
  File "/opt/local/bin/duplicity", line 1250, in <module>
    with_tempdir(main)
  File "/opt/local/bin/duplicity", line 1243, in with_tempdir
    fn()
  File "/opt/local/bin/duplicity", line 1197, in main
    restore(col_stats)
  File "/opt/local/bin/duplicity", line 539, in restore
    restore_get_patched_rop_iter(col_stats)):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/duplicity/patchdir.py", line 523, in Write_ROPaths
    ITR( ropath.index, ropath )
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/duplicity/lazy.py", line 329, in __call__
    if self.finish_branches(index) is None:
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/duplicity/lazy.py", line 272, in finish_branches
    to_be_finished = branches[-1]
IndexError: list index out of range

Change History (1)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Description: modified (diff)
Milestone: MacPorts 2.0.0
Owner: changed from macports-tickets@… to singingwolfboy@…

As per the ticket guidelines linked from the New Ticket page, please don't set the Milestone field, and remember to cc the maintainer.

Note: See TracTickets for help on using tickets.