[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: exception in hot-backup.py

From: Tobias Ringström <tobias_at_ringstrom.mine.nu>
Date: 2004-09-05 17:37:29 CEST

Gilbert Fine [范瑞恒] wrote:

>Hi All,
> I have a server has two separate repository simultaneously, using
>Apache over HTTPS. OS is FreeBSD. Subversion is 1.0.6. I want to run
>hot-backup.py everyday for each of the repositories. But only one repository
>is successfully backup'ed. The other one got an exception:
>Beginning hot backup of '/home/svn_repos_ff'.
>Traceback (most recent call last):
> File "/usr/local/subversion/bin/hot-backup.py", line 97, in ?
> youngest = string.strip(stdout_lines[0])
>IndexError: list index out of range
That is probably happens because "svnlook youngest /home/svn_repos_ff"
fails. Try to run this command by hand and see what you get. The error
checking in svnlook.py seems to be very primitive. It does not even
check if the path you supplied points to a repository. Patches are very


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Sep 5 17:37:53 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.