No available projects? [Errno 2] No such file or directory

17 views
Skip to first unread message

mong...@gmail.com

unread,
Oct 31, 2006, 2:55:20 PM10/31/06
to Trac Users
I'm trying to upgrade to .10 but I've seemed to misconfigure something.
When I go to my install of trac (at, for example: www.site.com/trac)
I'm presented with just an h1 of "Available Projects". It doesn't list
a single project!

in my vhosts file, I've set up the following configuration:

<VirtualHost *:80>
### trac
Alias /trac/ "/home/www/web4/web/trac"
<Directory "/home/www/web4/web/trac">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all

# mod_python speeds things up considerably
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir "/home/www/web4/web/trac/htdocs"
PythonOption TracUriRoot "/trac"
</Directory>
</VirtualHost>

I got to believe that the fault is with TracEnvParentDir. From what
I've read, TracEnvParentDir is suppose to be just TracEnv, but if I
change it to the following configuration, I get 500 errors.

### trac
Alias /trac/ "/home/www/web4/web/trac/"
<Directory "/home/www/web4/web/trac/">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all

# mod_python speeds things up considerably
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv "/home/www/web4/web/trac"
PythonOption TracUriRoot "/trac/"

</Directory>

Or if I change it back to this:

### trac
Alias /trac/ "/home/www/web4/web/trac/"
<Directory "/home/www/web4/web/trac/">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all

# mod_python speeds things up considerably
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir "/home/www/web4/web/trac"
PythonOption TracUriRoot "/trac/"

</Directory>


that runs me into this:
http://groups.google.com/group/trac-users/msg/47bb357c7fa90755


Available Projects

attachments: Error
([Errno 2] No such file or directory:
'/home/www/web4/web/trac/attachments/VERSION')
conf: Error
([Errno 2] No such file or directory:
'/home/www/web4/web/trac/conf/VERSION')
db: Error
([Errno 2] No such file or directory:
'/home/www/web4/web/trac/db/VERSION')
htdocs: Error
([Errno 2] No such file or directory:
'/home/www/web4/web/trac/htdocs/VERSION')
log: Error
([Errno 2] No such file or directory:
'/home/www/web4/web/trac/log/VERSION')
plugins: Error
([Errno 2] No such file or directory:
'/home/www/web4/web/trac/plugins/VERSION')
templates: Error
([Errno 2] No such file or directory:
'/home/www/web4/web/trac/templates/VERSION')
wiki-macros: Error
([Errno 2] No such file or directory:
'/home/www/web4/web/trac/wiki-macros/VERSION')


Any idea on why my configuration isn't working?

Reply all
Reply to author
Forward
0 new messages