You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Unterberg, Norbert" <No...@DBT.DE> on 2004/07/01 14:54:00 UTC

hot-backup.py not working

Hi,

This issue was discussed on this list some time ago, but it did not come
to a solution (at least I did not found any in the list archive). 

I have this problem, while running:

- SVN version 1.0.5 using the latest hot-backup.py
- Windows NT or XP (makes no difference)
- Python 2.3.3


C:\x\svn_test>hot-backup.py test backup
Beginning hot backup of 'test'.
Traceback (most recent call last):
  File "hot-backup.py", line 97, in ?
    youngest = string.strip(stdout_lines[0])
IndexError: list index out of range

Any idea what is going wrong?

Best Regards
Norbert Unterberg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: hot-backup.py not working

Posted by Brian Mathis <bm...@directedge.com>.
There is a problem when running 'svnlook' in the script.  Try running it 
by hand (svnlook youngest /path/to/repos), and you'll see the error.  
Fix the error, and the hotbackup should work.

IMO that script really needs a better error message.


Unterberg, Norbert wrote:

>Hi,
>
>This issue was discussed on this list some time ago, but it did not come
>to a solution (at least I did not found any in the list archive). 
>
>I have this problem, while running:
>
>- SVN version 1.0.5 using the latest hot-backup.py
>- Windows NT or XP (makes no difference)
>- Python 2.3.3
>
>
>C:\x\svn_test>hot-backup.py test backup
>Beginning hot backup of 'test'.
>Traceback (most recent call last):
>  File "hot-backup.py", line 97, in ?
>    youngest = string.strip(stdout_lines[0])
>IndexError: list index out of range
>
>Any idea what is going wrong?
>
>Best Regards
>Norbert Unterberg
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org
>  
>

-- 
Brian Mathis
http://directedge.com/b/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: hot-backup.py not working

Posted by Jan Normann Nielsen <li...@dubbekarl.dk>.
Unterberg, Norbert wrote:

>Hi,
>
>This issue was discussed on this list some time ago, but it did not come
>to a solution (at least I did not found any in the list archive). 
>
>I have this problem, while running:
>
>- SVN version 1.0.5 using the latest hot-backup.py
>- Windows NT or XP (makes no difference)
>- Python 2.3.3
>
>
>C:\x\svn_test>hot-backup.py test backup
>Beginning hot backup of 'test'.
>Traceback (most recent call last):
>  File "hot-backup.py", line 97, in ?
>    youngest = string.strip(stdout_lines[0])
>IndexError: list index out of range
>
>Any idea what is going wrong?
>  
>
If I remember correctly, the script gives this error when the target 
directory (in your case "backup") doesn't exist. *Maybe your problem is 
another, I'm not sure.

**http://subversion.tigris.org/servlets/ReadMsg?list=users&msgNo=8989

Best regards,
Jan Nielsen*


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org