TracDiscussion no longer works with Python2.4
|Reported by:||tgdrozda@…||Owned by:||rjollos|
|Severity:||normal||Keywords:||discussion, python2.4, 0.11, Trac 12.2|
Description (last modified by rjollos)
I would like to enable Discussion plugin 0.11 (from svn) for Trac 12.2 on my enterprise RHEL 5.4 system running python2.4. However, it appears that several lines of python 2.5 code (if oneliners for example) break python 2.4 compatibility. I noticed that there was a python2.4 patch few revisions back, so I tried to check out SVN r9590, apply the patch, and install the plugin. This did not work and Trac kept issuing a WARNING in the log:
Component <tracdiscussion.init.DiscussionInit object at 0x2ade4de3d7d0> requires environment upgrade.
Running trac-admin ... upgrade did not solve the issue, even though permissions were set correctly. I am currently stuck.
Does anyone maintain a more current python2.4 patch?
It is a shame that this valuable plugin does not maintain compatibility with widely used (especially on older and enterprise systems) python2.4 for reason no other than to save a few lines of code.
Change History (10)
comment:1 Changed 5 years ago by tgdrozda@…
- Component changed from SELECT A HACK to DiscussionPlugin
- Owner changed from anonymous to Blackhex
comment:8 Changed 4 years ago by rjollos
- Description modified (diff)
- Owner changed from Blackhex to rjollos
- Status changed from assigned to new
comment:9 in reply to: ↑ 7 Changed 4 years ago by rjollos
- Resolution set to duplicate
- Status changed from new to closed