I'm unable to use about 1/2 the macros that I try. For example, I
can't use [[MacroList]] and I am aware of the PythonOptimize command
that is supposed to fix it.
I've added it here in my modules.d/* file
<IfDefine PYTHON>
<IfModule !mod_python.c>
LoadModule python_module modules/mod_python.so
PythonOptimize Off
</IfModule>
</IfDefine>
Some errors:
Error: Macro LastModified(WikiStart) failed
not all arguments converted during string formatting
Error: Macro MacroList(None) failed
global name 'inspect' is not defined
Any ideas? I'm running Apache 2.0.55 and mod_python 3.1.4 and trac
0.9.3 under Gentoo. Anyone have this problem and solved it?
Update:
I've run it with plain tracd, cutting out Apache and mod_python, same
result. Very mysterous and it seems no one has my problem. I'll try
a new python...
Through process of elimination I found that removing
graphviz-0.5.1-py2.4.egg allows [[MacroList]] to work!
But still |[[LastModified]] does not work (with the above error) - but I
guess third-party stuff is hit and miss? Seems I have 2 misses here.
|
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac