Opened 13 years ago

Closed 9 years ago

#29371 closed defect (worksforme)

duplicity: list index out of range error when running a restore

Reported by: colmtroy@… Owned by: macports-tickets@…
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 (5)

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.

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Is this still a problem with 0.6.18?

comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from singingwolfboy@… to macports-tickets@…
Summary: list index out of range error when running a duplicity restoreduplicity: list index out of range error when running a restore

Is this still a problem with 0.6.21?

comment:4 Changed 9 years ago by neverpanic (Clemens Lang)

Is this still a problem with 0.7.01 from r133434? If it is, did you file a ticket upstream?

comment:5 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

Duplicity is now at 0.7.02. If you still experience this problem, please report it the developers of duplicity; it does not sound like a MacPorts-specific problem.

Note: See TracTickets for help on using tickets.