Modify ↓
Opened 18 years ago
Closed 18 years ago
#4367 closed defect (duplicate)
PythonHandler crash
Reported by: | anonymous | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | general | Version: | 0.10.3rc1 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Since version 0.10.1 (0.10.2, 0.10.3rc1 - I'm not sure if 0.10 had this problem) sometimes the page is blank or it gives me Internal Server Error in browser. In apache logs I've found this:
PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch\n result = object(req), referer: http://dev.website.ro/chrome/common/css/trac.css PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 87, in handler\n gateway.run(dispatch_request), referer: http://dev.website.ro/chrome/common/css/trac.css PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/trac/web/wsgi.py", line 87, in run\n response = application(self.environ, self._start_response), referer: http://dev.website.ro/chrome/common/css/trac.css PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 377, in dispatch_request\n env = _open_environment(env_path, run_once=run_once), referer: http://dev.website.ro/chrome/common/css/trac.css PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 58, in _open_environment\n env_cache[env_path] = open_environment(env_path), referer: http://dev.website.ro/chrome/common/css/trac.css PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/trac/env.py", line 434, in open_environment\n env = Environment(env_path), referer: http://dev.website.ro/chrome/common/css/trac.css PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/trac/env.py", line 121, in __init__\n load_components(self), referer: http://dev.website.ro/chrome/common/css/trac.css PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/trac/loader.py", line 140, in load_components\n __import__(module), referer: http://dev.website.ro/chrome/common/css/trac.css PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py", line 56, in ?\n from svn import fs, repos, core, delta, referer: http://dev.website.ro/chrome/common/css/trac.css PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/svn/fs.py", line 19, in ?\n from libsvn.fs import *, referer: http://dev.website.ro/chrome/common/css/trac.css PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/libsvn/fs.py", line 29, in ?\n import core, referer: http://dev.website.ro/chrome/common/css/trac.css PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/libsvn/core.py", line 3342, in ?\n svn_pool_create(), referer: http://dev.website.ro/chrome/common/css/trac.css PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/libsvn/core.py", line 1137, in svn_pool_create\n return apply(_core.svn_pool_create, args), referer: http://dev.website.ro/chrome/common/css/trac.css PythonHandler trac.web.modpython_frontend: TypeError: argument number 0: a 'apr_pool_t *' is expected, 'instance(<libsvn.core.GenericSWIGWrapper instance at 0xb63dd50c>)' is received, referer: http://dev.website.ro/chrome/common/css/trac.css
I'm using Gentoo x86, apache 2.0.58, python 2.4.3, mod_python 3.1.4 and I have multiple tracs.
Before version 0.10 it never gave me that error.
Attachments (0)
Note:
See TracTickets
for help on using tickets.
Well, I guess that's because you also upgraded your SVN bindings and you use multiple virtual hosts.
See #2611, which is about the same problem and explains the reason and workaround, in the note in the ticket's description.