I'm on a VM with Red Hat Enterprise Linux Server release 6.8 (Santiago) so I'm limited to the packages I can get through yum, but I used the RPM to get Python 2.7 installed. I replicated the files on our old Subversion server for the mailer.conf, post-commit, and the mailer.py. The new server has Subversion 1.9.4 (r1740329 wd-1) installed. I'm not a Python programmer so I don't know what packages are required to transition the mailer.py script to work with the Subversion 1.9 installed and the Python 2.7 version.
Here is the error I get during testing.
$ svn ci -m "addin readme" README
Transmitting file data .
Committed revision 2.
Warning: post-commit hook failed (exit code 1) with output:
You need version 1.5.0 or better of the Subversion Python bindings.
Is there an RPM or set of them I need to install to make this work? Is there a path issue? Any steps necessary to edit the script?
From: Pavel Lyalyakin [mailto:pavel.lyalyakin_at_visualsvn.com]
Sent: Thursday, January 26, 2017 3:16 AM
To: Michael Silberman <Michael.Silberman_at_Netgear.com>
Subject: Re: Setup post-commit mailer fails
On Thu, Jan 26, 2017 at 1:27 AM, Michael Silberman <Michael.Silberman_at_netgear.com> wrote:
> I’ve upgraded Subversion to 1.9 and Python to 2.7. Where can I find the Subversion Python binding and Python script mailer.py? Does anyone have instructions to configure the notification script environment so email notices work with this script?
What exactly do you mean by "setup post-commit mailer fails"?
Anyway, `mailer.py` is available at
With best regards,
Received on 2017-01-26 19:34:10 CET