Hi.

I put Trac 1.0.1/Flup through easy_install in my home directory:
$ easy_install -Z Trac
$ easy_install flup

and create a project 
$ trac-admin ~/trac/demo_trac initenv

All the settings I leave as default, so nothing is changed.
Starting Trac through dispatch.fcgi : 

#!/usr/bin/python2.7 -OO
>
> import sys, os, site
>
> # Add a custom Python path.
> PYTHON_CUSTOM_PATH = os.path.abspath (os.path.join (os.path.dirname 
> (os.path.abspath (__file__)), '../python/lib64/python2.7/site-packages'))
> sys.path.insert (0, PYTHON_CUSTOM_PATH)
> site.addsitedir (PYTHON_CUSTOM_PATH)
>
> # Add a custom trac env path.
> MY_TRAC_ENV_PATH = os.path.abspath (os.path.join (os.path.dirname 
> (os.path.abspath (__file__)), '../trac/demo_trac'))
>
> os.environ['TRAC_ENV'] = MY_TRAC_ENV_PATH
>
> from trac.web.main import dispatch_request
> from flup.server.fcgi import WSGIServer
>
> WSGIServer(dispatch_request).run()
>

If you open site, then you get only WikiStart page opened and the needed 
template (menu, searchbox, logo) is missing.
https://www.dropbox.com/s/anpuc7km04k0jt5/fastcgi_no_tmpl.jpg

And if you get it started via tracd with the same trac.ini then you get 
everything correctly. 
https://www.dropbox.com/s/apx4kl6r1cdzmwm/tracd_ok_tmpl.jpg

Do you have any idea what the problem is? And how to fix it?

Thank you in advance.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to