Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#414 closed defect (worksforme)

TRAC_ENV

Reported by: daragh@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.7
Severity: blocker Keywords: windows
Cc: Branch:
Release Notes:
API Changes:

Description

trac.cgi responds with:

Missing environment variable "TRAC_ENV". Trac requires this variable to point to a valid Trac Environment. Traceback (most recent call last):

File "D:\Python23\Lib\site-packages\trac\core.py", line 445, in cgi_start

real_cgi_start()

File "D:\Python23\Lib\site-packages\trac\core.py", line 396, in real_cgi_start

env = open_environment()

File "D:\Python23\Lib\site-packages\trac\core.py", line 164, in open_environment

raise EnvironmentError, \

EnvironmentError: Missing environment variable "TRAC_ENV". Trac requires this variable to point to a valid Trac Environment.

Attachments (0)

Change History (1)

comment:1 by daragh@…, 15 years ago

Resolution: worksforme
Status: newclosed

Simply change (if upgrading from 0.61 to 0.7) the httpd.conf file to read:

<Location "/cgi-bin/trac.cgi"> # TRAC v0.61 # SetEnv TRAC_DB "d:/svn/trac.db" # TRAC v0.7

SetEnv TRAC_ENV "d:/svn/trac"

</Location>

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to as closed The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.