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

Re: Subversion commit email script and "unprintable" characters

From: Alfred von Campe <alfred_at_von-campe.com>
Date: Tue, 19 Jan 2016 14:15:56 -0500

On Jan 17, 2016, at 21:26, Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:
>
> Alfred von Campe wrote on Wed, Jan 13, 2016 at 20:54:12 -0500:
>> Is there any documentation for this script (other than the script
>> itself)?
>
> There's mailer.conf.example in the same directory.

Thanks, Daniel, but I am trying to run this script by specifying most of the option of the mailer.con file on the command line.

In any event, I have bigger issues trying to get the mailer.py script to run on RHEL 6. First, I had not installed the subversion-python package so the script was failing at the first “import fs.xxx” command. After installing that package, it’s still failing with the following error now:

>>> import svn.fs
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/site-packages/svn/fs.py", line 26, in <module>
    from libsvn.fs import *
  File "/usr/lib/python2.6/site-packages/libsvn/fs.py", line 26, in <module>
    _fs = swig_import_helper()
  File "/usr/lib/python2.6/site-packages/libsvn/fs.py", line 22, in swig_import_helper
    _mod = imp.load_module('_fs', fp, pathname, description)
ImportError: /usr/lib/libsvn_swig_py-1.so.0: undefined symbol: PyCapsule_Import

Has anyone gotten mailer.py to run on RHEL (or CentOS) 6?

Alfred
Received on 2016-01-19 20:16:27 CET

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.