Matthew Good schrieb:
On Thu, 2006-02-02 at 00:08 +0100, Manuzhai wrote:
SetEnv PYTHON_EGG_CACHE /tmp/eggs
And it still doesn't work? I'm not familiar with how Trac is installed
on Debian.
If you look at the site-packages, do you see a trac
directory?
Yes there is the trac directory.
ls /usr/lib/python2.3/site-packages/trac/
About.py Search.pyo __init__.pyc core.py db_default.pyo
log.pyc siteconfig.pyc util.pyc
About.pyc Settings.py __init__.pyo core.pyc env.py
log.pyo siteconfig.pyo util.pyo
About.pyo Settings.pyc attachment.py core.pyo env.pyc
mimeview test.py versioncontrol
Notify.py Settings.pyo attachment.pyc db.py env.pyo
perm.py test.pyc web
Notify.pyc Timeline.py attachment.pyo db.pyc loader.py
perm.pyc test.pyo wiki
Notify.pyo Timeline.pyc config.py db.pyo loader.pyc
perm.pyo ticket
Search.py Timeline.pyo config.pyc db_default.py loader.pyo
scripts upgrades
Search.pyc __init__.py config.pyo db_default.pyc log.py
siteconfig.py util.py
Make sure you've enabled Trac's logging in trac.ini and check there for
more information.
I've enabled it:
[logging]
log_file = trac.log
log_level = DEBUG
log_type = file
There is an empty of file.....
Without some sort of error message it's impossible to
tell what might be happening here.
That's my problem... there are no logs...
With the standalone tracd there is no problem accesing the trac system:
http://mobile.mediovis.de:5555/mobilemediovis/
But with the following Virtual host configuration:
---------------------------------------------------------
<VirtualHost *>
DocumentRoot /home/svn/trac-files/mobilemediovis
ServerName mobile.mediovis.de
ServerAlias www.mobile.mediovis.de
ServerAdmin [EMAIL PROTECTED]
<Location />
SetHandler python-program
PythonDebug On
PythonPath "sys.path + ['/usr/share/trac']"
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv "/home/svn/trac-files/mobilemediovis"
PythonOption TracUriRoot /
</Location>
<Location /login>
AuthType Digest
AuthName "mobilemediovis"
AuthUserFile /srv/www/merkste-was-de/dav_svn.passwd
Require valid-user
</Location>
ErrorLog /srv/www/mobile-mediovis-de/log/error.log
LogLevel debug
CustomLog /srv/www/mobile-mediovis-de/log/access.log combined
ServerSignature On
</VirtualHost>
------------------------------------------------------------------
there is no chance to get this working..... It's frustrating.
I disabled the DocumentRoot.. no change
I changed the SetHandler from mod_python to python-program...no chnage...
I tried it wihtout the Location tags around the / Location....no change...
Any hints for me....
Best regards
Carsten Marx
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac