Edgewall Software

Changes between Version 72 and Version 73 of TracSubversion


Ignore:
Timestamp:
Apr 18, 2010, 10:12:33 AM (14 years ago)
Author:
kilbyc@…
Comment:

4.5 hours of troubleshooting. Win 7 x86_64 running x86 versions of Apache 2.2.11, Subversion 1.6.6, Trac 0.11.7, and Python 2.6.5. This was the only thing that worked.

Legend:

Unmodified
Added
Removed
Modified
  • TracSubversion

    v72 v73  
    225225in your Python site-packages folder with the above folder path as its
    226226single line content (an example on a FreeBSD installation, again: /usr/local/lib/pythonN.N/site-packages/). One simple solution for rpm-based operating systems, is to install the subversion-python bindings rpm. The [http://subversion.tigris.org/project_packages.html official subversion site] points [http://summersoft.fay.ar.us/pub/subversion/latest/ here] to download those packages.
     227'''Windows Users'''
     228
     229According to the README.txt file for the Subversion bindings, if you are using Python 2.5+ you need to rename all the .dll files in the libsvn folder to .pyd files. Upon further research, http://www.python.org/doc/faq/windows/#is-a-pyd-file-the-same-as-a-dll indicates you may need to have both the .pyd and .dll version of the libsvn files available. This resolved both the 'ImportError: No module named _core' error (with only the DLL) and the 'ImportError: DLL load failed' (with only the pyd) when testing from the console, and the browswer.
    227230
    228231If you get the message {{{ImportError: libsvn_swig_py-1.so.0: cannot open shared object file: No such file or directory}}} even though you can see the .so file in the correct place, then try {{{ldconfig -v}}} as root.