I figured it out! Why o why does it remember Test project at all... I had 
it in my own shell environment!!!

# env|grep Test
REPOS=/opt/csvn/data/repositories/Test
TRAC_ENV=/opt/trac/Test
# unset TRAC_ENV
# unset REPOS
# /etc/init.d/httpd restart

Thanks,
Mohamed.

On Sunday, February 26, 2012 10:00:27 PM UTC-5, Mohamed Lrhazi wrote:
>
> Hello,
>
> I had a trac environment working fine with a single project 
> called SecureSurveyTool
> I added a new project I called "Test" to play around with Commit Ticket 
> Updater... after I figured it out, I moved the Test project site directory 
> out of my Trac parent dir.....
>
> Now, whenever I go the projects homepage, where I expect to see a link to 
> my only remaining SecureSurveyTool project, I get:
>
> Internal Error
>
> TracError: IOError: [Errno 2] No such file or directory: 
> '/opt/trac/Test/VERSION'
>
>
> I did try restarting apache many time...
>
>
> If I restore the Test directory, then go to the home page, I get my normal 
> trac site for Test project, instead of links to my two projects.
>
>
> If I use 
>
> I was using apache with mod_python, then switched to mod_wsgi, but it did not 
> change anything to my problem.
>
>
> am using Trac version: 0.12.3, on RedHat ent 5.7
>
>
> My current apache config is: 
>
>
> # cat /etc/httpd/conf.d/trac.conf
> WSGIScriptAlias /projects /opt/trac/trac.wsgi
>
> <Directory /opt/trac>
>   WSGIApplicationGroup %{GLOBAL}
>   Options Indexes FollowSymLinks
>   Order allow,deny
>   Allow from all
> </Directory>
>
> <LocationMatch "/projects/[^/]+/login">
>  SSLRequireSSL
>    AuthType Basic
>    AuthName "Project Management"
>    AuthUserFile /etc/webauth/.htpasswd
>    AuthGroupFile /etc/webauth/.htgroup
> #   Require valid-user
>    Require group ARC
> </LocationMatch>
>
> # cat /opt/trac/trac.wsgi
> import sys
> sys.stdout = sys.stderr
>
> import os
> os.environ['TRAC_ENV_PARENT_DIR'] = '/opt/trac'
> os.environ['PYTHON_EGG_CACHE'] = '/opt/trac/eggs'
> import trac.web.main
> application = trac.web.main.dispatch_request
>
>
> Questions:
>
> - Where does it find reference to my Test project, even after I remove the 
> Test directory?
>
> - Can I enable Trac debugging at the apache level, as opposed to per project 
> level?
>
>
> Thanks a lot,
>
> Mohamed.
>
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/trac-users/-/bwSrmKW7lncJ.
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.

Reply via email to