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

Re: Problems with hot_backup.py on Windows XP

From: John Szakmeister <john_at_szakmeister.net>
Date: 2005-04-07 11:04:15 CEST

On Thursday 07 April 2005 04:37, David Colton wrote:
[snip]
> C:\Program Files\Subversion\tools\backup>hot-backup.py \SVNRepository
> \SVNBackup
>
> Beginning hot backup of '\SVNRepository'.
>
> Youngest revision is 2270
>
> Backing up repository to '\SVNBackup\SVNRepository-2270'...
>
> Traceback (most recent call last):
>
> File "C:\Program Files\Subversion\tools\backup\hot-backup.py", line
> 129, in ?
>
> backup_subdir, "--clean-logs")
>
> File "C:\PROGRA~1\PYTHON~2\lib\os.py", line 523, in spawnl
>
> return spawnv(mode, file, args)
>
> OSError: [Errno 2] No such file or directory
>
> I've tried rewriting the os.spawnl as os.spawnv with no luck. I've
> tried all forms of paths. I've tried running in sh.exe from the Gnu
> UnixTools. I always get this exact same error.

The above error suggests that it isn't finding your 'svnadmin' tool. If
you edit hotcopy.py, there are two lines at the top:
  # Path to svnlook utility
  svnlook = "/usr/local/bin/svnlook"

  # Path to svnadmin utility
  svnadmin = "/usr/local/bin/svnadmin"

You need to edit those paths so that they point to the 'svnlook' and
'svnadmin' tool, respectively.

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 7 16:40:27 2005

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.