Hi

I have installed Subversion 1.10.6 and python bindings (subversion-python) to 
CentOS 8 server from opensource.wandisco.com repo. My goal is to get Trac and 
Subversion working with CentOS 8.

After installation I encoutered two problems with python bindings:


  1.  If I run ----> ’python2 -c "from svn import core"’
     *   then ’ImportError: No module named _core’ raises
  2.  If I specify PYTHONHOME and PYTHONPATH ----> ’PYTHONHOME=/usr 
PYTHONPATH=/usr/lib64/python2.7/site-packages/libsvn/ python2 -c "from svn 
import core"’
     *   then ’ImportError: /usr/lib64/libsvn_swig_py-1.so.0: undefined symbol: 
PyUnicode_FromFormat’ raises

                                                               i.      It seems 
that our CentOS 8 server has ’PyUnicodeUCS4_FromFormat’ instead of 
’PyUnicode_FromFormat’

Is there currently any workaround to this without building Subversion from 
source code?

CentOS Linux release 8.1.1911
Python 2.7.16
svn, version 1.10.6 (r1863367), compiled Jan 16 2020, 12:37:21 on 
x86_64-redhat-linux-gnu

BR,

Jarkko Hyvärinen

Reply via email to