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

CentOS 8 Python bindings - opensource.wandisco.com

From: Jarkko Hyvärinen <jarkkohyvarinen_at_hotmail.com>
Date: Sat, 11 Apr 2020 18:14:19 +0000


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


Jarkko Hyvärinen
Received on 2020-04-11 21:21:43 CEST

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.