On 5/3/2010 2:59 PM, stivlo wrote:
Hi All,

I tried to setup Trac (0.12b1) on a Ubuntu 9.10 host without success,
despite many different tests. Anybody could be so kind to tell me what
I'm doing wrong?

When I use the internal server on port 8000 it seems to work, for what
I can see with lynx. However when I point my browser to the host, I
see the following errors.

Available Projects

     * attachments: Error
       ((2, 'No such file or directory'))
     * cgi-bin: Error
       ((2, 'No such file or directory'))
     * conf: Error
       ((2, 'No such file or directory'))
     * db: Error
       ((2, 'No such file or directory'))
     * htdocs: Error
       ((2, 'No such file or directory'))
     * log: Error
       ((2, 'No such file or directory'))
     * plugins: Error
       ((2, 'No such file or directory'))
     * templates: Error
       ((2, 'No such file or directory'))

Here is what I do (SVN/apache are already configured). I want all trac
stuff in /mnt/svn/trac.kines.it
My temp dir: /mnt/svn/trac.kines.it/tmp

My env dir: /mnt/svn/trac.kines.it/tracenv

See below.

My web dir: /mnt/svn/trac.kines.it/www

I'm stuck.. please help!

# apt-get install python-setuptools python-subversion libapache2-mod-
python
# apt-get install build-essential graphviz
# apt-get install htmldoc enscript
# apt-get install python-pygment
# apt-get install python-docutils

# easy_install Trac

Wow! I didn't realize `easy_install Trac` would fetch 0.12b1 by default...

I hope there's a way to change that back to the latest stable 0.11.7, otherwise I'll be forced to remove the links to 0.12b1 from TracDownload. Too bad, as it's really nice to be able to do:
 easy_install Trac==0.12b1.


# easy_install Babel
# mkdir /mnt/svn/trac.kines.it
# cd /mnt/svn/trac.kines.it
# mkdir tracenv
# mkdir log stats tmp www
# chown www-data www tracenv tmp

# trac-admin /mnt/svn/trac.kines.it/tracenv  initenv

Project Name [My Project]>  kines_api
Database connection string [sqlite:db/trac.db]>

# trac-admin /mnt/svn/trac.kines.it/tracenv  deploy /tmp/deploy
# mv /tmp/deploy/* /mnt/svn/trac.kines.it/tracenv/
# chown -R www-data tracenv/



<VirtualHost *:80>
         ServerName trac.kines.it
         DocumentRoot /mnt/svn/trac.kines.it/www
         ErrorLog /mnt/svn/trac.kines.it/log/error.log
         CustomLog /mnt/svn/trac.kines.it/log/access.log combined

         <Location />
                 SetHandler mod_python
                 PythonInterpreter main_interpreter
                 PythonHandler trac.web.modpython_frontend
                 PythonOption TracEnvParentDir /mnt/svn/trac.kines.it/
tracenv

Should have been:

PythonOption TracEnvParentDir /mnt/svn/trac.kines.it/


But I'm sure others will have corrected you before I manage to send this mail.


My main point was regarding easy_install. Any hints about what I should do to make 0.11.7 the default appreciated.

-- Christian

--
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