Just catching up on this thread a little bit.

Unless you have Kid's import hook turned on or the templates
precompiled to .pyc files, it's entirely possible that you can't just
import the template. I note that you don't have a sitetemplate.pyc
file, so that makes sense that you can't import the file.

It's interesting that the TurboGears egg appears twice in your
sys.path (in two different home directories). That shouldn't be a
problem, though. What does this give you:

import pkg_resources
pkg_resources.resource_filename("turbogears.fastdata.templates",
"sitetemplate.kid")

Kevin

On 2/7/06, Mike Sarahan <[EMAIL PROTECTED]> wrote:
>
> Nope - importing any of the kid files in that folder doesn't work.
>
> importing anything up to, but not including those kid files does work
> i.e. import turbogears.fastdata.templates works
>
> This is from a fresh install, and it happens every time I reinstall...
> I've tried re-installing at least 4 times now.  I'll give it another go
> if you think it'll help, but I'm skeptical.
>
>


--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

Reply via email to