id summary reporter owner description type status priority milestone component version severity resolution keywords cc branch changelog apichanges internalchanges 2611 Problem with SVN bindings (SVN 1.3.0, Trac r2771) Manuzhai Christian Boos "Every morning when I first try to get to Trac, I get this error on the first request: {{{ Mod_python error: ""PythonHandler trac.web.modpython_frontend"" Traceback (most recent call last): ... File ""/home/manuzhai/dev/trac/trac/versioncontrol/svn_fs.py"", line 31, in ? from svn import fs, repos, core, delta File ""/usr/lib/python2.4/site-packages/svn/fs.py"", line 19, in ? from libsvn.fs import * File ""/usr/lib/python2.4/site-packages/libsvn/fs.py"", line 29, in ? import core File ""/usr/lib/python2.4/site-packages/libsvn/core.py"", line 3049, in ? svn_pool_create() File ""/usr/lib/python2.4/site-packages/libsvn/core.py"", line 1098, in svn_pool_create return apply(_core.svn_pool_create, args) TypeError: argument number 0: a 'apr_pool_t *' is expected, 'instance()' is received }}} ''Similar symptoms: '' {{{ [Fri Sep 29 22:05:12 2006] [error] [client 127.0.0.1] PythonHandler trac.web.modpython_frontend: TypeError: argument number 0: a 'apr_pool_t *' is expected, 'instance()' is received }}} Subsequent requests seem to just work... === Note === This is now a well-known issue having to do with the way the SVN Python bindings behaves when multiple Python interpreters are used within the same process, as this can be the case with mod_python e.g. when more than one virtual host is used. Most SVN binding versions are affected, though there's no confirmed report of this with 1.2.x (the bug started to be reported with 1.3.0) and reverting to SVN 1.2.4 is sometimes mentioned as a workaround. There are other documented workarounds where one can keep using SVN 1.3.x and 1.4.x: - see #3455 - see comment:72 Related issue: #3371 " defect new high 2.0 version control devel major svn13 svn14 joshland@… manuzhai@… odela01@… pjenvey@… shishz@… james82@… mark@… dgeller@… chasetheblues@… brian@… blaufalke@… marc@… neofutur@… bock@… andrew.fecheyr@… boris@…