Opened 19 years ago
Closed 19 years ago
#2922 closed defect (invalid)
installing svn/trac on windows Server 2003 goes smooth until very end
Reported by: | 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 )
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 , 19 years ago
Priority: | highest → normal |
---|---|
Severity: | blocker → normal |
comment:2 by , 19 years ago
Description: | modified (diff) |
---|
comment:3 by , 19 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 , 19 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 , 19 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:7 by , 19 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
As eblot mentioned, this is an installation support issue, so please use the MailingList.
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.