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

Re: problem with svnshell

From: Greg Stein <gstein_at_lyra.org>
Date: 2003-05-13 02:22:31 CEST

On Tue, May 13, 2003 at 12:14:52AM +0100, Colin Watson wrote:
> On Mon, May 12, 2003 at 07:35:06PM +0000, Faheem Mitha wrote:
> > I'm running subversion 0.21 backported to Debian Woody (by Colin
> > Watson).
> >
> > I get the following error message when trying to run svnshell. I just
> > want to check whether this is a real problem or I am doing something
> > wrong.
> Weird; I can't reproduce it on either the official 0.21 packages from
> unstable or on my build (admittedly on the machine that built it).
> I also can't find PyType_IsSubtype anywhere in the built source tree.

I think that I've seen this before. If I recall correctly, it is due to a
mismatch between the SWIG runtime library and the version of Python that is
being used. For example, the runtime might have been built for Python 1.5,
but you've built the wrapper module for Python 2.x and are running the whole
mess under a 2.x interpreter.

The answer is to check your SWIG configuration to ensure that the runtime
library is built for the same version of Python that you intend to use with
the wrapper extension modules.

> > Versions of packages subversion depends on:
> > ii db4.1-util 4.1.25-4 Berkeley v4.1 Database Utilities
> > ii libapr0 2.0.45-2.woody.2 The Apache Portable Runtime
> > ii libc6 2.3.1-16 GNU C Library: Shared libraries an
> That's testing or unstable, not woody. I've never tried my package
> builds there ... perhaps Python has changed?

Check the swig packages, too. Debian might have to add dependencies between
the SWIG package and specific versions of Python. Possibly different SWIG
runtimes based on which Python needs to use it.

Of course, I could be misremembering the PyType_IsSubType problem. But take
a look and see what you find...


Greg Stein, http://www.lyra.org/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 13 02:20:53 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.