[Trac] No default template providers?
Russ Brown
pickscrape at gmail.com
Tue Oct 4 13:28:41 CDT 2005
Hi,
We're running trac from trunk at present, and have come across a problem
with the site 'chrome'. I've had to insert the following code in
Chrome.process_request (just before the warning command at the end) that
does the following:
self.log.warning('Providing chrome via hack!!!!!')
req.send_file(os.path.normpath(os.path.join('/path/to/trac/htdocs/',
filename)))
return
Without this, the warning gets raised and we see no CSS, Images etc. I've
tried tracing the code and all I can figure out is that
self.template_providers appears to be empty.
Is there some configuration option that we need to set to enable a default
template provider? Can anybody suggest a fix or better workaround?
Thanks.
--
Russ
More information about the Trac
mailing list