[MacPorts] #29371: list index out of range error when running a duplicity restore

MacPorts noreply at macports.org
Wed May 4 14:34:19 PDT 2011


#29371: list index out of range error when running a duplicity restore
--------------------------------+-------------------------------------------
 Reporter:  colmtroy@…          |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:  MacPorts 2.0.0                       
Component:  ports               |     Version:  1.9.2                                
 Keywords:                      |        Port:  duplicity                            
--------------------------------+-------------------------------------------
 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

-- 
Ticket URL: <https://trac.macports.org/ticket/29371>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list