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

RuntimeWarning: Python C API version mismatch...

From: Matt England <mengland_at_mengland.net>
Date: 2005-09-29 16:51:06 CEST

Hello,

I'm going through the ever-expanding process of merging my repos together
(as per previous thread). Here's my latest challenge:

I'm running Dale Hirt's RepoMerge.py script which he so graciously wrote,
and to do so I had to install /usr/local/bin/python rev 2.4.2 (I'm on an
ancient Redhat9 box with /usr/bin/python rev 2.2.2). I had installed the
swig-py bindings prior to the 2.4.2 install. And to clarify: both python
2.4.2 and 2.2.2 are install at the same time in /usr/local and /usr,
respectively. I'd like to keep both, because I have other Python apps
(chief among them GNUMailman) running on my box, and I'd like to not upset
that cart any more then I have to for now.

I'm getting the following warnings when running Dale's script ( from
http://www.thehirts.net/blog/?page_id=24 ), and although the script seems
to be functioning ok (although I have yet had time to test its success...I
have to run to a meeting right now), I want to see if the following
warnings should be of any concern for me:

"
mengland@biz2tek 9:41am [~/scratch/svn-repo-merge-test] 37> setenv
PYTHONPATH /usr/local/lib/svn-python
mengland@biz2tek 9:42am [~/scratch/svn-repo-merge-test] 38> python
RepoMerge.py thirdrepo libpolicy libutil
/usr/local/lib/svn-python/libsvn/core.py:5: RuntimeWarning: Python C API
version mismatch for module _core: This Python has API version 1012, module
_core has version 1011.
   import _core
/usr/local/lib/svn-python/libsvn/core.py:5: RuntimeWarning: Python C API
version mismatch for module swig_runtime_data2: This Python has API version
1012, module swig_runtime_data2 has version 1011.
   import _core
"

In any case, I'd like to eliminiate these warnings for future
cleanliness. Alas, maybe I have to go ask the Python people about this?

-Matt

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 29 17:54:37 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.