[Trac] Re: os x install woes
It seems from the error messages that your path to your project parent
directory is invalid ("/path/to/project/" in your Apache file). You'd
better provide the actual paths here to get some help, i.e. report the
actual paths rather than the fake "/path/to/project/" and "
/path/to/svn/repos" paths). "/Users/bnik/trac/" is defined somewhere
but does not appear in the config files you've posted.
base_url should not be left undefined in your trac.ini file
Finally, I would recommend that your start with a simple (i.e. much
simpler) configuration first.
Cheers,
Manu
On 1/3/07, ra <rusted.androgyne@...> wrote:
>
> 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
>
>
> >
>
--
--
Manu
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users@...
To unsubscribe from this group, send email to trac-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---