Edgewall Software

Opened 18 years ago

Last modified 18 years ago

#2922 closed defect

installing svn/trac on windows Server 2003 goes smooth until very end — at Version 2

Reported by: jordan@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.9.4
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Emmanuel Blot)

hey all,

-I'm posting this here because I'm not sure if this is a trac bug or just how I've configured my installation (probably just me, but help would be greatly appreciated).

I've been successful with every step in installing svn 1.3.1, python 2.3, sqlite 3, pysqlite 1.1.7, trac 0.9.4, and clearsilver 0.9.14. Everything works just fine……..until the path configuration (apparently). I *thought* I had it right but got errors when testing Trac, so I re-installed and reset all the paths…but it is still giving me path errors. Can someone please point me in the right direction, I'm lost. I know, I know…rtfm… …I have gone through the install instructions so many times my eyes are bleery. ;-)

Here's the error:

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).

Traceback (most recent call last):
  File "C:/Apache Group/Apache2/cgi-bin/trac.cgi", line 20, in ?
    cgi_frontend.run()
  File "C:\Python23\Lib\site-packages\trac\web\cgi_frontend.py", line 123, in run
    env = get_environment(req, os.environ, threaded=False)
  File "C:\Python23\Lib\site-packages\trac\web\main.py", line 329, in get_environment
    raise TracError, \
TracError: 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).

-thanks for any and all help 8-)

Change History (2)

comment:1 by Emmanuel Blot, 18 years ago

Priority: highestnormal
Severity: blockernormal

Although I think you'd better have ask first in the ML, it would help a lot understanding the issue if you'd posted the relevant section of your web server config file…

Btw: please be fair with the priority and severity values. If every single user that fails to install Trac logs in a ticket with the highest priority, I don't think it will help prioritizing the development effort.

comment:2 by Emmanuel Blot, 18 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.