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

mailer.py question, please help

From: <ark-d_at_betasystems.com>
Date: 2005-03-16 16:17:54 CET

Hi,

I'm trying to get mailer.py working on my Subversion 1.1.1 Installation for
/svn/repos.

I've copied the post-commit.tmpl as post-commit hook script under
/svn/repos/hooks directory and made it executable and it looks like this:

#bin/sh

REPOS="$1"
REV="$2"

/svn/repos/hooks/mailer.py commit "$REPOS" "$REV"
/svn/repos/hooks/mailer.conf

the mailer.py is owned by wwwrun.

My users are using https to access the repositoy and are authenticated over
their ldap accounts, they are not allowed to access the server as non-root
user.

even if I run:

/svn/repos/hooks/mailer.py commit /svn/repos 2
/svn/repos/hooks/mailer.conf

by the hand as root, I will become this error:

Traceback (most recent call last):
  File "./mailer.py", line 27, in ?
    import svn.fs
ImportError: No module named svn.fs

I've compiled svn with --with-swig and --enable-swig-bindings=python
switches.

Is that correct?
What's the svn.fs module?

Thanks for any help
Arash

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 16 16:20:30 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.