On Jan 22, 7:41 pm, Andrea Tomasini <[email protected]> wrote:
> On 22 Jan, 2009, at 3:35 , Graham Dumpleton wrote:
>
>
>
> > Can you post the exact error messages from the log.
>
> [Wed Jan 21 11:15:50 2009] [error] [client X.X.X.X]mod_wsgi
> (pid=16999): Exception occurred processing WSGI script '/var/www/
> project/trac.wsgi'., referer:https://localhost/admin/ticket/milestones
> [Wed Jan 21 11:15:50 2009] [error] [client X.X.X.X] Traceback (most
> recent call last):, referer: https:/
> /localhost/admin/ticket/milestones
> [Wed Jan 21 11:15:50 2009] [error] [client X.X.X.X] File "/usr/lib/
> python2.5/site-packages/Trac-0.11.2
> .1-py2.5.egg/trac/web/main.py", line 381, in dispatch_request,
> referer:https://localhost/admin/ticket/milestones
> [Wed Jan 21 11:15:50 2009] [error] [client X.X.X.X] raise
> EnvironmentError('The environment options "TRAC_ENV" or ',
> referer:https://localhost/admin/ticket/milestones
> [Wed Jan 21 11:15:50 2009] [error] [client X.X.X.X] EnvironmentError:
> The environment options "TRAC_ENV" or "TRAC_ENV_PARENT_DIR" or the
> mod_python options "TracEnv" or "TracEnvParentDir" are missing. Trac
> requires
> one of these options to locate the Trac environment(s).,
> referer:https://localhost/admin/ticket/milestones
And what happens if you don't have a trailing slash on:
SetEnv trac.env_path /var/www/project/trac/
and leave out TRAC_ENV os.environ setting?
Are you running mod_python with the same Apache or any other instance
of Trac using either mod_python or mod_wsgi?
Graham
> ANdreaT
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---