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

Python SVN Bindings on Windows Server 2008 x64

From: Brian Ellis <bellis_at_ticketbiscuit.com>
Date: Tue, 15 Feb 2011 13:39:58 -0600

Hi, sorry if this has been covered before but I'm new to Subversion admin
and can't really find a clear answer. My goal is to use the python scripts
in subversion\tools, specifically validate-extensions.py in this case. I am
running VisualSVN Server 2.15, built on Subversion 1.6.15 and have 32-bit
Python 2.7.1 set up on the machine at the moment.

When I set up the hook, I got an error that the svn module could not be
found. I installed the latest libsvn bindings I could find (
http://trac.edgewall.org/attachment/wiki/TracSubversion/svn-win32-1.6.15_py_2.7.zipfrom
http://trac.edgewall.org/wiki/TracSubversion) but I still can't load the svn
module. If I run 'from svn import repos' from the command line, I get:

*File "C:\Python27\lib\site-packages\libsvn\core.py", line 21, in
swig_import_helper
_mod = imp.load_module('_core', fp, pathname, description)
ImportError: DLL load failed: The specified procedure could not be found.
*

Am I missing something? I also tried the Python27 64-bit release but
precompiled svn bindings don't appear to be available for it and I would
prefer not to go through everything required to build them myself.

Thank you in advance for your help.

Brian Ellis
Received on 2011-02-15 20:45:59 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.