[Trac-tickets] [The Trac Project] #2889: 500 Internal error with TracEnvIndexTemplate set

The Trac Project noreply at edgewall.com
Thu Mar 16 20:03:53 CST 2006


#2889: 500 Internal error with TracEnvIndexTemplate set
-------------------------------------------------------------+--------------
 Reporter:  Pedro Algarvio, aka, s0undt3ch <ufs at ufsoft.org>  |       Owner:  cmlenz
     Type:  defect                                           |      Status:  new   
 Priority:  high                                             |   Milestone:        
Component:  mod_python frontend                              |     Version:  devel 
 Severity:  blocker                                          |    Keywords:        
-------------------------------------------------------------+--------------
 I'm using current trunk, ie, [3018], and when I set:
 {{{
 PythonOption TracEnvIndexTemplate
 "/var/trac/myTemplates/projects_index.cs"
 }}}
 I get:
 {{{
 [Fri Mar 17 01:56:46 2006] [error] [client 10.1.0.2] PythonHandler
 trac.web.modpython_frontend: Traceback (most recent call last):
 [Fri Mar 17 01:56:46 2006] [error] [client 10.1.0.2] PythonHandler
 trac.web.modpython_frontend:   File "/usr/lib/python2.4/site-
 packages/mod_python/apache.py", line 299, in HandlerDispatch\n    result =
 object(req)
 [Fri Mar 17 01:56:46 2006] [error] [client 10.1.0.2] PythonHandler
 trac.web.modpython_frontend:   File "/usr/lib/python2.4/site-
 packages/trac/web/modpython_frontend.py", line 86, in handler\n
 gateway.run(dispatch_request)
 [Fri Mar 17 01:56:46 2006] [error] [client 10.1.0.2] 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)
 [Fri Mar 17 01:56:46 2006] [error] [client 10.1.0.2] PythonHandler
 trac.web.modpython_frontend:   File "/usr/lib/python2.4/site-
 packages/trac/web/main.py", line 247, in dispatch_request\n    env_paths)
 [Fri Mar 17 01:56:46 2006] [error] [client 10.1.0.2] PythonHandler
 trac.web.modpython_frontend:   File "/usr/lib/python2.4/site-
 packages/trac/web/main.py", line 367, in send_project_index\n
 req.display(template)
 [Fri Mar 17 01:56:46 2006] [error] [client 10.1.0.2] PythonHandler
 trac.web.modpython_frontend:   File "/usr/lib/python2.4/site-
 packages/trac/web/api.py", line 317, in display\n    data =
 self.hdf.render(template)
 [Fri Mar 17 01:56:46 2006] [error] [client 10.1.0.2] PythonHandler
 trac.web.modpython_frontend:   File "/usr/lib/python2.4/site-
 packages/trac/web/clearsilver.py", line 276, in render\n
 template.parseFile(filename)
 [Fri Mar 17 01:56:46 2006] [error] [client 10.1.0.2] PythonHandler
 trac.web.modpython_frontend: Error: Traceback (innermost last):\n  File
 "csparse.c", line 293, in cs_parse_file()\n  File "neo_hdf.c", line 1909,
 in hdf_search_path()\nNotFoundError: Path projects_index.cs not found\n
 }}}

 That template exists and it worked before I updated to trunk, unfortunatly
 I can't remember on which revision I was at
 Now, why am I getting this?

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2889>
The Trac Project <http://trac.edgewall.com/>


More information about the Trac-Tickets mailing list