[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 - Error: 'IndexError: list index out of range'

From: Sander <boxtel_at_gmail.com>
Date: 2006-02-08 03:47:58 CET

2006/2/8, Sander <boxtel@gmail.com>:
> Hi,
> I use hot-backup.py (included by Subversion package) for daily backups.
> It has been working without problems for some weeks now. However ..
> today i got this error on ONE of my repositories while making backup:
> "Beginning hot backup of '/srv/subversion/spa/svn/Spare'.
> Traceback (most recent call last):
> File "/usr/lib/subversion/tools/backup/hot-backup.py", line 97, in ?
> youngest = string.strip(stdout_lines[0])
> IndexError: list index out of range"
> What's happening here ?
> Is there anyone who can tell me whats wrong or how this can be solved.
> I have changed absolutely nothing on file-permissions or something.
> With regards,
> Sander van Boxtel
> Netherlands

Ok i've found the problem.

'svnlook youngest <repos>' fails ... it says :

'svnlook: Berkeley DB error for filesystem seSpatialExplorer/db while
opening environment:
DB_RUNRECOVERY: Fatal error, run database recovery
svnlook: bdb: PANIC: fatal region error detected; run recovery'

No idea what caused this ...

But i think hot-backup.py could use a better error-message.



To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 8 03:49:25 2006

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

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