Hello All,

I am using the Following Environment:
Linux: Ubuntu; 2.6.17-11-generic
Apache 2.0
mod_python/3.2.8 Python/2.4.4c1

I have Installed trac 0.10 and created a project IMSTestBed in the
following dir
/home/atmesh/trac-0.10.4/

I am using the Following settings in the apache2.conf file
<Location /projects/IMSTestBed>
  PythonPath "sys.path + ['/usr/lib/python2.4/site-packages/']"
</Location>

<Location /projects/IMSTestBed>
   SetHandler mod_python
   PythonInterpreter main_interpreter
   PythonHandler trac.web.modpython_frontend
   PythonOption TracEnv /home/atmesh/trac-0.10.4/IMSTestBed/
   PythonOption TracUriRoot /home/atmesh/trac-0.10.4/
</Location>

But on running the page from the browser i get the following errors:
[Wed Aug 22 13:31:23 2007] [error] [client 10.25.118.170]
PythonHandler trac.web.modpython_frontend: Traceback (most recent call
last):
[Wed Aug 22 13:31:23 2007] [error] [client 10.25.118.170]
PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/
site-packages/mod_python/apache.py", line 299, in HandlerDispatch\n
result = object(req)
[Wed Aug 22 13:31:23 2007] [error] [client 10.25.118.170]
PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/
site-packages/trac/web/modpython_frontend.py", line 87, in handler
\n    gateway.run(dispatch_request)
[Wed Aug 22 13:31:23 2007] [error] [client 10.25.118.170]
PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/
site-packages/trac/web/wsgi.py", line 87, in run\n    response =
application(self.environ, self._start_response)
[Wed Aug 22 13:31:23 2007] [error] [client 10.25.118.170]
PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/
site-packages/trac/web/main.py", line 430, in dispatch_request\n
env.log.exception(e)
[Wed Aug 22 13:31:23 2007] [error] [client 10.25.118.170]
PythonHandler trac.web.modpython_frontend: AttributeError: 'NoneType'
object has no attribute 'log'

The document root is set to the following:
DocumentRoot /var/www

The trac.web.modpython_frontend does'nt seem to be working; maybe i am
missing something in the options for Path or some link.

Any responses will be appreciated.

Thanks and Regards,
Atmesh


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