Search code examples
python-2.7svntrac

Unsupported version control system when I try to resync trac with svn


I just finishing installing

  • Windows server 2016 x64
  • Apache 2.2 (x86)
  • Python 27 (x86)
  • subversion 1.9.7 (from visualsvn 3.8 x64 because Win server don't accept x86 version)
  • Trac 1.2.2

This a part of my trac.ini configuration for svn

[components]
tracopt.versioncontrol.svn.* = enabled

[repositories]
proj_web.dir = C:\Repositories\proj_web
proj_web.description = This is the ''main'' project repository.
proj_web.type = svn
proj_web.url = http://192.168.0.55:8080/svn/proj_web/

.alias = proj_web

SVN is working, trac also but I want now to synchronize trac with svn (migration), so I'm using the command:

trac-admin C:\Trac\proj_web repository resync proj_web

and the error was:

InvalidConnector: Unsupported version control system "svn": DLL load failed:

How can I know which dll failed to load ? Someone have an idea of the problem?

Thanks a lot.


Solution

  • Try loading the svn bindings from your Python interpreter. Open a Python shell and run: from svn import core.

    If that fails, then you either need to modify your path, or use an x64 build of Python. I'd first try changing to an x64 build of Python. There's a troubleshooting checklist on the TracSubversion page, but it's probably a little out-of-date.