Sorry it took so long to get back, but it looks like Trac is not  
installed in your Python 2.5.1 installation site-packages.

This can be accomplished by either installing Trac in your site- 
packages or adding the correct directives in your Apache config.

Please see http://trac.edgewall.org/wiki/TracDownload#Tracstable for  
a brief summary.

In short, to just use Apache, add a line looking like:

PythonPath "['/path/to/your/trac/installation/site-packages'] + syspath"

However, please be aware that if your Trac installation resides in  
your existing Python 2.3.x site-packages, including it might break a  
lot of other things.  You should be able to either create a new  
instance of Trac following the link above or if your existing  
installation is not in the Python 2.3.x site-packages, you can use it.

Hope that helps.

Thanks,


Joshua Preston
[EMAIL PROTECTED]

760 Communications Pkwy
Columbus, OH 43214

Office: 614-442-1215 x308
Mobile: 614-204-9546
Fax:            614-442-3075


On Oct 20, 2007, at 8:31 PM, stephenrs wrote:

>
> Here's the Trac-related apache conf (included from httpd.conf as
> trac.conf). I should note that this config works fine with the 2.3.4
> version of mod_python (which I saved, and have switched back to for
> the time being).
>
> Also, some follow up questions: Do I really need Python 2.5.1 to get
> the latest XMLRPC plugin working with the latest stable Trac 0.10?
> Have others found success with 2.3.4 or similar?
>
> Thanks Joshua for looking at this,
>
> Stephen
>
> <VirtualHost *:443>
>     ServerName trac.<servername>
>     ServerAdmin webmaster@<servername>
>     DocumentRoot /usr/share/trac/htdocs
>     CustomLog      /etc/httpd/logs/trac-access_log combined
>     ErrorLog       /etc/httpd/logs/trac-error_log
>
>     SetEnv PYTHON_EGG_CACHE /.python-eggs
>
>     SSLEngine on
>     CustomLog /etc/httpd/logs/trac-ssl_request_log \
>               "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
>
>     <Location />
>       SetHandler mod_python
>       PythonHandler trac.web.modpython_frontend
>       PythonOption TracEnv /var/www/vhosts/trac
>       PythonOption TracUriRoot /
>     </Location>

--~--~---------~--~----~------------~-------~--~----~
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