Hi All,

Just upgraded python from 2.4 to 2.5, then upgrade trac 0.10 to
0.11rc1...

Got this error:
---------------
Oops...

Trac detected an internal error: No module named trac.web

Traceback (most recent call last):
  File "/usr/local/share/trac/cgi-bin/trac.cgi", line 19, in ?
    from trac.web import cgi_frontend
ImportError: No module named trac.web
---------------

I the new trac is installed in:
/usr/local/lib/python2.5/site-packages

but it seems its still looking to the old path:
/usr/local/lib/python2.4/site-packages

here's the relevant portion from httpd.conf
---------------------
ScriptAlias /trac /usr/local/share/trac/cgi-bin/trac.cgi
<Location "/trac">
        SetEnv TRAC_ENV_PARENT_DIR "/home/svn/tracenv/"
</Location>

<LocationMatch "/trac/[^/]+/login">
        AuthType Basic
        AuthName "My Trac"
        AuthUserFile /srv/svn/conf/passwd
        Require valid-user
</LocationMatch>
---------------------

Adding this line in <Location "/trac"> doesn't seem to work:
SetEnv PYTHONPATH "/usr/local/lib/python2.5/site-packages"

Thanks for any help,
Yayan.

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