Hi everyone -

I am new to trac and having some difficulty installing it on an os x
server. I followed the instructions for DarwinPorts at
http://trac.edgewall.org/wiki/TracOnOsx#UsingDarwinPorts and everything
seemed to go fine. trac-admin /path/to/project initenv seemed to go
fine, too. My virtual host for apache2 is set up like this:

<VirtualHost *:8081>
       ServerName www.host.com:8081

       #
       # Trac mod_python configuration
       #
       Alias /trachtdocs/ "/opt/local/share/trac/htdocs/"
       <Location />
               SetHandler mod_python
               #PythonHandler trac.ModPythonHandler
               PythonHandler trac.web.modpython_frontend
               PythonOption TracUriRoot "/"
               PythonOption TracEnvParentDir "/path/to/project/"
       </Location>

        <LocationMatch /[[:alnum:]]+/login>
                AuthType Basic
                AuthName "Trac"
                AuthUserFile "/opt/local/etc/trac-auth-file"
                Require valid-user
        </LocationMatch>
</VirtualHost>

and the trac section of my trac.ini looks like this:

[trac]
authz_file =
authz_module_name =
base_url =
check_auth_ip = true
database = sqlite:db/trac.db
default_charset = iso-8859-15
default_handler = WikiModule
htdocs_location =
ignore_auth_case = false
mainnav = wiki,timeline,roadmap,browser,tickets,newticket,search
metanav = login,logout,settings,help,about
permission_store = DefaultPermissionStore
repository_dir = /path/to/svn/repos
repository_type = svn
# request_filters = <set in global trac.ini>
templates_dir = /opt/local/share/trac/templates

But when I browse to www.host.com:8081, I get:

Available Projects

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

Does anyone have any ideas on how to solve this? I have not been able
to find much via google.

Thanks a lot, and let me know if you need any more info.

ra


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
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