[personal profile] muwlgr
Just a couple of notes to remember :

1. When you upgrade your Trac module, easy_install --upgrade Trac is often not enough. You have to check and remove all traces of older Trac versions from site-packages directory. Installation of older Tracs created site-packages/trac directory which has to be removed by your own hands. Together with other Trac*egg files and directories. Or else you have a chance to get into delusion that you are using newer Trac, while really you are still using older one or even worse, a mix of older and newer. "Database newer than Trac version" is a symptom of this kind.

2. mod_python 3.x is still unable to import modules from .zipped .egg-files. Command-line python (even older version 2.4 which is included into RHEL5/CentOS5) imports modules from zipped eggs without any problem, but not mod_python for the same version because it overrides the standard importer in its own special way. So with command-line python you can easily import 'trac' and all required submodules, but mod_python will tell you that there is no module named 'trac'. The solution is found to be: easy_install --always_unzip Trac

Yeah, that's reality of the opensource : you really get what you have paid for :>

Thanks!

Date: 2010-05-28 02:50 pm (UTC)
From: (Anonymous)
This was my problem exactly; thanks for your helpful post.

Profile

Volodymyr Mutel

February 2026

S M T W T F S
1234567
89 1011121314
15161718192021
22232425262728

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 11th, 2026 12:38 pm
Powered by Dreamwidth Studios