This forum is no longer active. Please post your questions to our new community site

Forums Trac

Failed to load subversion bindings

Subscribe to Failed to load subversion bindings 3 post(s), 2 voice(s)

Avatar davesias 3 post(s)


I’ve just installed trac stack 0.12.2 on a Windows 2003 server, and the trac.log file says the following:

2011-03-22 11:37:52,224 Trac[svn_fs] INFO: Failed to load Subversion bindings
Traceback (most recent call last):
File “build\bdist.win32\egg\trac\versioncontrol\”, line 267, in init
File "build\bdist.win32\egg\trac\versioncontrol\svn", line 68, in _import_svn
from svn import fs, repos, core, delta
File “C:\PROGRA~1\BITNAM~1\python\lib\site-packages\svn\”, line 19, in
from libsvn.fs import *
File “C:\PROGRA~1\BITNAM~1\python\lib\site-packages\libsvn\”, line 5, in
import _fs
ImportError: DLL load failed: The specified procedure could not be found.

I previously had 0.12.1 up and running fine on XP. The other key difference is that I’ve essentially disabled the subversion server service by renaming the subversion folder. This is because I’m obliged for other reasons to use CollabNet Subversion Edge for the server. Trac is directly reading that repository from disc.

Do I have to copy dlls over from the Edge installation? If so, which ones?


Avatar davesias 3 post(s)

I found the fix.

In the following bitnami is my bitnami trac stack install path, e.g. C:\Program Files\BitNami Trac Stack, and edge is collabnet subversion edge install path, e.g. C:\csvn.

Here’s what I did:

  • shut down the service
  • moved bitnami\python\Lib\site-packages\libsvn to a different directory (as a backup)
  • moved bitnami\apache2\bin\libsvn*.dll to a different directory (as a backup)
  • copy the whole edge\lib\svn-python\libsvn folder to bitnami\python\Lib\site-packages\libsvn to replace original
  • copy edge\bin\libsvn*.dll into bitnami\apache2\bin
  • start up the service.


Avatar Beltrán Rueda Administrator 3,714 post(s)

Im glad to hear that. Thanks for posting the solution.

Forums Trac