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

Problem with Python bindings to SVN 1.7.4 on Windows

From: Brian Neal <bgneal_at_gmail.com>
Date: Wed, 21 Mar 2012 11:12:59 -0500

Hello -

I'm trying to upgrade a Subversion and Trac install running on Windows
Server 2003 sp2.

I've installed Subversion 1.7.4 from the .msi file found here:
http://sourceforge.net/projects/win32svn/files/1.7.4/

I'm also using the Python 2.7 bindings found in that same directory
(svn-win32-1.7.4_py27.zip).

I've unzipped the Python binding into C:\Python27\Lib\site-packages.

Trac isn't able to load the bindings.

Here is a troubleshooting step and the output:

E:\Trac_Data>python
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> from svn import client
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python27\lib\site-packages\svn\client.py", line 26, in <module>
    from libsvn.client import *
  File "C:\Python27\lib\site-packages\libsvn\client.py", line 25, in <module>
    _client = swig_import_helper()
  File "C:\Python27\lib\site-packages\libsvn\client.py", line 21, in swig_import
_helper
    _mod = imp.load_module('_client', fp, pathname, description)
ImportError: DLL load failed: The operating system cannot run %1

Does anyone have any ideas? I noticed there are no DLL files in the
libsvn folder in the bindings. In the past, with older versions of
Subversion, I've had to rename the libsvn/*.dll files to *.pyd to get
stuff to work. Now there is just *.pyd files in libsvn.

Thank you,
BN
Received on 2012-03-21 17:13:32 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.