We're running multiple Trac environments with mod_python and Apache2
and one of the instances seems to be messing up mod_python. The error
I see in the Apache log says:

[Thu Oct 25 09:51:24 2007] [error] [client 161.221.68.43]
PythonHandler trac.web.modpython_frontend: Traceback (most recent call
last):

[Thu Oct 25 09:51:24 2007] [error] [client 161.221.68.43]
PythonHandler trac.web.modpython_frontend:   File "/usr/local/lib/
python2.4/site-packages/mod_python/apache.py", line 299, in
HandlerDispatch\n    result = object(req)

[Thu Oct 25 09:51:24 2007] [error] [client 161.221.68.43]
PythonHandler trac.web.modpython_frontend:   File "/usr/local/lib/
python2.4/site-packages/trac/web/modpython_frontend.py", line 87, in
handler\n    gateway.run(dispatch_request)

[Thu Oct 25 09:51:24 2007] [error] [client 161.221.68.43]
PythonHandler trac.web.modpython_frontend:   File "/usr/local/lib/
python2.4/site-packages/trac/web/wsgi.py", line 87, in run\n
response = application(self.environ, self._start_response)

[Thu Oct 25 09:51:24 2007] [error] [client 161.221.68.43]
PythonHandler trac.web.modpython_frontend:   File "/usr/local/lib/
python2.4/site-packages/trac/web/main.py", line 391, in
dispatch_request\n    env = _open_environment(env_path,
run_once=run_once)

[Thu Oct 25 09:51:24 2007] [error] [client 161.221.68.43]
PythonHandler trac.web.modpython_frontend:   File "/usr/local/lib/
python2.4/site-packages/trac/web/main.py", line 58, in
_open_environment\n    env_cache[env_path] =
open_environment(env_path)

[Thu Oct 25 09:51:24 2007] [error] [client 161.221.68.43]
PythonHandler trac.web.modpython_frontend:   File "/usr/local/lib/
python2.4/site-packages/trac/env.py", line 462, in open_environment
\n    env = Environment(env_path)

[Thu Oct 25 09:51:24 2007] [error] [client 161.221.68.43]
PythonHandler trac.web.modpython_frontend:   File "/usr/local/lib/
python2.4/site-packages/trac/env.py", line 142, in __init__\n
load_components(self)

[Thu Oct 25 09:51:24 2007] [error] [client 161.221.68.43]
PythonHandler trac.web.modpython_frontend:   File "/usr/local/lib/
python2.4/site-packages/trac/loader.py", line 140, in load_components
\n    __import__(module)

[Thu Oct 25 09:51:24 2007] [error] [client 161.221.68.43]
PythonHandler trac.web.modpython_frontend:   File "/usr/local/lib/
python2.4/site-packages/trac/versioncontrol/svn_fs.py", line 56, in ?
\n    from svn import fs, repos, core, delta

[Thu Oct 25 09:51:24 2007] [error] [client 161.221.68.43]
PythonHandler trac.web.modpython_frontend:   File "/usr/local/lib/
python2.4/svn/fs.py", line 19, in ?\n    from libsvn.fs import *

[Thu Oct 25 09:51:24 2007] [error] [client 161.221.68.43]
PythonHandler trac.web.modpython_frontend:   File "/usr/local/lib/
python2.4/libsvn/fs.py", line 29, in ?\n    import core

[Thu Oct 25 09:51:24 2007] [error] [client 161.221.68.43]
PythonHandler trac.web.modpython_frontend:   File "/usr/local/lib/
python2.4/libsvn/core.py", line 3057, in ?\n    svn_pool_create()

[Thu Oct 25 09:51:24 2007] [error] [client 161.221.68.43]
PythonHandler trac.web.modpython_frontend:   File "/usr/local/lib/
python2.4/libsvn/core.py", line 1098, in svn_pool_create\n    return
apply(_core.svn_pool_create, args)

[Thu Oct 25 09:51:24 2007] [error] [client 161.221.68.43]
PythonHandler trac.web.modpython_frontend: TypeError: argument number
0: a 'apr_pool_t *' is expected,
'instance(<libsvn.core.GenericSWIGWrapper instance at 0x8b3fb6c>)' is
received


(Ive removed referrer info from this log).

Is there a way to re-create an environment but save all the existing
database and attachments? I tried doing a trac-admin upgrade on the
messed up environment. it runs for awhile before crashing mod_python
again. I dont know Python so this is hard to troubleshoot for me.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to