[mod_python] Python 2.5

Graham Dumpleton grahamd at dscpl.com.au
Wed Sep 6 17:55:37 EDT 2006


On 07/09/2006, at 1:38 AM, Honza Rameš wrote:

> Today I managed to get SVN for 2.5 working but using with Trac is  
> impossible bacause apache raises an exception in Python25.dll so I  
> suggest you use either older Python/SVN or wait a while until  
> someone fixes whatever is causing this bug. If this happens I'll be  
> happy to provide you with compiled versions of Apache, Python, SVN  
> etc etc etc....
> But If you want to try to build it anyway I'll be happy to provide  
> you with any information you need.
> My approach was:
> Read the SVN docs
> Build zlib
> Build openssl
> Build apache (to get Apr iconv etc)
> Build svn
> Build python
> Build mod_python
> Get swig (you will need older version the newest one isn't working  
> with the SVN sources, it took me half a day to figure it out)
> Buld swig SVN bindings for python
> But this is not the ultimate guide. During the build proccess I had  
> to change several include paths and find static libraries.
>
> You probably know how I feel right now when I have everything built  
> but the Trac with SVN isn't working.

Which version of mod_python were you using? Current official release  
of Trac will
not work with mod_python 3.3 out of Subversion trunk because it  
relied on accessing
internals of util.FieldStorage which have changed in 3.3. You would  
need to be using
Trac from their Subversion repository which uses a WSGI style adapter  
instead and
doesn't fiddle with util.FieldStorage.

Graham





More information about the Mod_python mailing list