Opened 19 years ago
Closed 19 years ago
#2026 closed defect (duplicate)
Internal Trac error in displaying timeline data
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | timeline | Version: | 0.8.4 |
Severity: | normal | Keywords: | |
Cc: | enderson@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I have Trac setup using mod_python on a Gentoo server. The installed version of Python is 2.3.5. and the installed version of Subversion is 1.2.3. Whenever I click on the hyperlink for timeline, I get errors. However, refreshing the page two or three times resolves the issue and then the timeline data eventually gets displayed. The error I get is:
'module' object has no attribute 'apr_initialize'
with a Python traceback of:
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/ModPythonHandler.py", line 195, in handler
core.dispatch_request(mpr.path_info, args, mpr, env)
File "/usr/lib/python2.3/site-packages/trac/core.py", line 439, in dispatch_request
module = module_factory(args, env, database, req)
File "/usr/lib/python2.3/site-packages/trac/core.py", line 175, in module_factory
pool, rep, fs_ptr = open_svn_repos(repos_dir)
File "/usr/lib/python2.3/site-packages/trac/core.py", line 452, in open_svn_repos
core.apr_initialize()
AttributeError: 'module' object has no attribute 'apr_initialize'
I'm really not certain if this is a timeline related problem, or a mod_python issue.
Attachments (0)
Change History (4)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
yes, it has to be svn. we have python 2.3.5, mod_python, subversion 1.1.3 with trac 0.8.4 running on a gentoo server without that error.
comment:3 by , 19 years ago
Cc: | added |
---|
I had this problem, i tryed python-updater, and just after upgrade mod_python, and solved the problem.
comment:4 by , 19 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
This problem was certainly due to the SVN python bindings that were not correctly installed.
For better error reporting in the timeline, see #2346.
I know this one!
Its a subversion problem. I had something simular when I installed subversion trunk (1.3.0-dev), going back to 1.2 fixed things.
(except i wasn't using mod python)