[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 attributeerror: popen3

From: Tim Moloney <moloney_at_mrsl.com>
Date: 2002-05-05 17:16:26 CEST

Nathan Fiedler wrote:
> What are the requirements for getting the tools/backup/hot-backup.py
> script to work? When I run it, I get this error.
>
> Beginning hot backup of '/usr/local/svn/repos'.
> Traceback (innermost last):
> File "/etc/cron.daily/hot-backup.py", line 54, in ?
> infile, outfile, errfile = os.popen3(svnadmin + " youngest " +
> repo_dir)
> AttributeError: popen3
>
> [...]

Let me preface this by saying that I'm a Python newbie...

I managed to get hot-backup.py to work by doing either of the following.

- execute is via
   bash> python2 ./hot-backup.py'

- change the first line of hot-backup.py to read
   #!/usr/bin/env python2

Since you have python2 installed, either of these should work for you.

-- 
Tim Moloney
ManTech Real-time Systems Laboratory
2015 Cattlemen Road                             \     /
Sarasota, FL  34232                     .________\(O)/________.
(941) 377-6775 x208                        '  '  O(.)O  '  '
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun May 5 17:17:29 2002

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.