On 2/7/06, Mike Sarahan <[EMAIL PROTECTED]> wrote:
> here's the output:
>
> >>> import pkg_resources
> >>> pkg_resources.resource_filename("turbogears.fastdata.templates","sitetemplate.kid")
> '/home/.castor/mikez0r/lib/lib/python2.4/site-packages/TurboGears-0.9a0dev_r646-py2.4.egg/turbogears/fastdata/templates/sitetemplate.kid'
> >>>I believe this is exactly the code used by kidsupport to find the template. That would seem to imply that something is different between running in the shell and when you're running in TurboGears. I just noticed something fishy... from your original recent message: ine 108, in load_template raise Exception, "Template not found: %s (in %s)" % ( Exception: Template not found: turbogears.fastdata.templates.sitetemplate (in /home/.castor/mikez0r/elementarycatastrophe.com, /) The name "turbogears.fastdata.templates.sitetemplate" clearly isn't going to work as a filename in the system. It would seem that this filename wasn't getting resolved as a name along the pythonpath. Kevin

