Changes between Initial Version and Version 84 of Ticket #2611
- Timestamp:
- Nov 22, 2006, 6:03:56 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2611
- Property Severity normal → major
- Property Cc added
- Property Priority normal → high
- Property Keywords svn13 svn14 added
- Property Milestone → 2.0
- Property Owner changed from to
-
Ticket #2611 – Description
initial v84 5 5 6 6 Traceback (most recent call last): 7 8 File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch 9 result = object(req) 10 11 File "/home/manuzhai/dev/trac/trac/web/modpython_frontend.py", line 199, in handler 12 env = get_environment(mpr, project_opts) 13 14 File "/home/manuzhai/dev/trac/trac/web/main.py", line 335, in get_environment 15 return _open_environment(env_path, threaded) 16 17 File "/home/manuzhai/dev/trac/trac/web/main.py", line 51, in _open_environment 18 env_cache[env_path] = open_environment(env_path) 19 20 File "/home/manuzhai/dev/trac/trac/env.py", line 369, in open_environment 21 env = Environment(env_path) 22 23 File "/home/manuzhai/dev/trac/trac/env.py", line 82, in __init__ 24 load_components(self) 25 26 File "/home/manuzhai/dev/trac/trac/loader.py", line 120, in load_components 27 __import__(module) 28 7 ... 29 8 File "/home/manuzhai/dev/trac/trac/versioncontrol/svn_fs.py", line 31, in ? 30 9 from svn import fs, repos, core, delta 31 32 10 File "/usr/lib/python2.4/site-packages/svn/fs.py", line 19, in ? 33 11 from libsvn.fs import * 34 35 12 File "/usr/lib/python2.4/site-packages/libsvn/fs.py", line 29, in ? 36 13 import core 37 38 14 File "/usr/lib/python2.4/site-packages/libsvn/core.py", line 3049, in ? 39 15 svn_pool_create() 40 41 16 File "/usr/lib/python2.4/site-packages/libsvn/core.py", line 1098, in svn_pool_create 42 17 return apply(_core.svn_pool_create, args) … … 45 20 }}} 46 21 22 ''Similar symptoms: '' 23 {{{ 24 [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(<libsvn.core.GenericSWIGWrapper instance at 0xb6924c8c>)' is received 25 }}} 26 47 27 Subsequent requests seem to just work... 28 29 === Note === 30 31 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. 32 33 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. 34 35 There are other documented workarounds where one can keep using SVN 1.3.x and 1.4.x: 36 - see #3455 37 - see comment:72 38 39 Related issue: #3371