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

MacPorts noreply at macports.org
Wed May 4 15:29:43 PDT 2011


#29371: list index out of range error when running a duplicity restore
--------------------------------+-------------------------------------------
 Reporter:  colmtroy@…          |       Owner:  singingwolfboy@…           
     Type:  defect              |      Status:  new                        
 Priority:  Normal              |   Milestone:                             
Component:  ports               |     Version:  1.9.2                      
 Keywords:                      |        Port:  duplicity                  
--------------------------------+-------------------------------------------
Changes (by jmr@…):

  * owner:  macports-tickets@… => singingwolfboy@…
  * milestone:  MacPorts 2.0.0 =>


Old description:

> 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

New description:

 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
 }}}

--

Comment:

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

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


More information about the macports-tickets mailing list