Upps... I'm very sorry I misplaced my message. O:-) Sorry for the 
inconvenience!!
So here it is again in the right place....


Hi all,

I have a strange problem with the PythonPath directive. Would be great 
if someone have a little hint for me. :-)
So here's the problem...

As described here http://trac.edgewall.org/wiki/TracModPython I setup my 
Apache config like this:
<Directory />
       SetHandler mod_python
       PythonHandler trac.web.modpython_frontend
       PythonOption TracEnvParentDir /opt/trac-envs/
       PythonOption TracUriRoot /
       PythonPath "sys.path + 
['/opt/trac-0.10.5dev/lib/python2.5/site-packages']"
...
</Directory>
So far this works well, I can browse through the trac environments. But 
trac ignores every plugin that is placed in 
'/opt/trac-0.10.5dev/lib/python2.5/site-packages'! I tried both - the 
egg file and the extracted version, nothing worked.
And now the wired thing. If I specify the environment variable 
PYHTONPATH like this:
export 
PYTHONPATH=/opt/trac-0.10.5dev/lib/python2.5/site-packages:$PYTHONPATH
everything works fine - I get trac and the installed plugins. (Of course 
in the latter case I can omit the PythonPath directive.)

Is there a possibility to configure the whole thing (trac and the 
plugins) through the PythonPath directive? Maybe I misplaced something?
Thanks in advance for any hint. :-)
Chavez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to