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

Re: hot-backup.py failing

From: Michael Hipp <Michael_at_Hipp.com>
Date: 2005-06-04 14:17:47 CEST

John Szakmeister wrote:
> On Friday 03 June 2005 11:01, Michael Hipp wrote:
>
>>Michael Hipp wrote:
>>
>>>I'm trying to back up my repo using hot-backup.py, but here's what I
>>>get.
>>>
>>>$ ./hot-backup.py.in repo repobackups
>>>Beginning hot backup of 'repo'.
>>>Traceback (most recent call last):
>>> File "./hot-backup.py.in", line 97, in ?
>>> youngest = string.strip(stdout_lines[0])
>>>IndexError: list index out of range
>>>
>>>This is a Ubuntu 5.04 server running svnserve 1.1.1. I also tried the
>>>hot-backup.py from 1.2.0 with the same results. Any help?
>>
>>Unfortunately replying to my own post ... but can anyone offer any
>>thoughts on troubleshooting this?
>>
>>Google found one message that said it had to be run as root. But it
>>didn't help.
>>
>>Forgot to mention that I'm using FSFS.
>
>
> This error is generally indicative of something else being wrong. Can you
> try running 'svnlook youngest' directly, as the same user your backup
> process? I've seen this problem most often with wedged BDB repositories.
> I'm not sure why you would be seeing this error with an FSFS repository,
> unless the script is pulling in the wrong svnlook executable, or there is
> something wrong with the repository itself.

Thanks. This seems ok. Gives the same result whether run as me or as root.

$ svnlook youngest repo
67

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jun 4 14:17:28 2005

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