Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#2922 closed defect (invalid)

installing svn/trac on windows Server 2003 goes smooth until very end

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

Attachments (0)

Change History (7)

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)

comment:3 by jordan@…, 18 years ago

I'm sorry for miss-prioritizing the ticket; I wasn't sure if it would be responsed to without some kind of flagging….it's nice to see you're on top of things, thank you and please forgive. ;-)

Here is the Apache (2.0.54) config entry for Trac:

# TRAC Alias /trac "C:/Python23/share/trac/htdocs"

<Location /cgi-bin/trac.cgi>

SetEnv TRAC_ENV "c:/svn/trac.db" SetEnv PYTHONPATH "c:/Subversion/bin" # if you are running Apache as a user other than System, the TMP variable # needs to be set to a place where that user can write scratch files. Make # sure that this directory is created and writable by that user. # SetEnv TMP "c:/svn/trac.db/tmp

</Location>

<Location /cgi-bin/trac.cgi/login>

AuthType Basic AuthName "Project" AuthUserFile C:/svn/.htaccess Require valid-user

</Location>

<Directory "C:/Python23/share/trac/htdocs">

Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all

</Directory>

comment:4 by anonymous, 18 years ago

but, as I suspected, as soon as a ticket gets a lower priority, no one even looks at it.

thanks.

comment:5 by Emmanuel Blot, 18 years ago

blocker means that the Trac cannot be used at all, whereas it seems you have an installation issue (until proved otherwise…).
Again, installation issues have better chances to be supported when posted to the ML - as it reaches more people, and people with similar environment - rather than logged as ticket.

As you've probably noticed, it's quite hard to look at your config file as you have not used the verbatim wiki tags ( ... ).

Can you list the content of c:\svn\trac.db, to double check this point ? Thanks.

comment:6 by Emmanuel Blot, 18 years ago

Sorry, I meant {{{ ... }}} tags.

comment:7 by Matthew Good, 18 years ago

Resolution: invalid
Status: newclosed

As eblot mentioned, this is an installation support issue, so please use the MailingList.

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