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

Trouble with Trac 0.11.5, Subversion 1.6.3, Python 2.6.2

From: Robert Whitcomb <delmania_at_gmail.com>
Date: Fri, 31 Jul 2009 17:27:46 -0400

Greetings all,

I am experiencing a bit of difficulty in setting up a Trac/Subversion
environment with the listed version. My troubles seem to circle around the
Subversion 1.6.3 bindings for Python 2.6.2. The environment is running
under Apache 2.2, using mod_wsgi 2.5 for Apache 2.2 and python 2.6, and the
operating system in question is Windows Vista SP2.

To install Python, I ran an elevated Powershell prompt, and installed the
msi via the msiexec command. Then, I right clicked on the executable file
for the bindings, and selected "Run as adminstrator". The bindings install
just fine, and when I execute the statement "from svn import core, fs"
within a Python session, there are no error messages. However, when I
access Trac, I get the following error message in my log file:
2009-07-31 17:11:24,128 Trac[svn_fs] INFO: Failed to load Subversion
bindings
Traceback (most recent call last):
  File
"C:\Python26\lib\site-packages\trac-0.11.5-py2.6.egg\trac\versioncontrol\svn_fs.py",
line 256, in __init__
    _import_svn()
  File
"C:\Python26\lib\site-packages\trac-0.11.5-py2.6.egg\trac\versioncontrol\svn_fs.py",
line 71, in _import_svn
    from svn import fs, repos, core, delta
  File "C:\Python26\lib\site-packages\svn\fs.py", line 19, in <module>
    from libsvn.fs import *
  File "C:\Python26\lib\site-packages\libsvn\fs.py", line 5, in <module>
    import _fs
ImportError: DLL load failed: The specified module could not be found.

I read that since Python 2.5+ cannot load a DLL, I should change the
extensions of the files to PYD. However that does not solve the problem.
Anyone know what the issue is?

Thanks,

Robert Whitcomb

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2377567

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-31 23:31:29 CEST

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.