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

AW: hot-backup.py not working

From: Unterberg, Norbert <Norbert.Unterberg_at_DBT.DE>
Date: 2004-07-02 14:09:56 CEST

> 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.

No, svnlook youngest /path/to/repos works and returns a single number.
The problem here is that svnlook.exe itself could not be executed. The
script tries to run "@SVN_BINDIR@/svnlook". Can anyone tell me where the
python script is supposed to get @SVN_BINDIR@ from? Do I have to set an
environment variable, install some binding or what? Os is that a
python/svn feature that is not implemented in the windows version?

When I replace "@SVN_BINDIR@/svnlook" with just "svnlook" in the script,
hot-backup.py executes for some more lines, until it failes here:

C:\x\svn_test>hot-backup.py test backup
Beginning hot backup of 'test'.
Youngest revision is 0
Backing up repository to 'backup\test-0'...
Traceback (most recent call last):
  File "C:\x\svn_test\hot-backup.py", line 130, in ?
    backup_subdir, "--clean-logs")
  File "C:\PROGRA~1\PYTHON~1.3\Lib\os.py", line 523, in spawnl
    return spawnv(mode, file, args)
OSError: [Errno 2] No such file or directory

It can not find the svnadmin application.

Only if I change the svnadmin and svnlook variables to specify the
complete path of the applications, it works.

What is the configuration error I made? Where does the @SVN_BINDIR@
directory name come from?


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 2 14:11:49 2004

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.