Possibly this is the cause/workaround for a similar problem when using
the toolbox on some windows machines?

On 12/22/05, Tim Diggins <[EMAIL PROTECTED]> wrote:
>
> Ok, I seem to have solved this problem or at least found the cause & a
> workaround. For others reference here it is:
>
> when working turbogears for deployment under mod_python (with mpcp)...
>
> if you have a template in a package (e.g. mymodule.templates.welcome)
> which extends another template (like mymodule.templates.master) then
> the you can't use the standard reference
>     py:extends="'master.kid'"
> as apache/mod_python seems to hang in trying to compile the kid /import
> the pyc.
>
> Instead you need to specify the exact package for the kid template
> somehow. The way i've got this to work is to use the following:
>
> <?python
> import mymodule.templates.master
> ?><html xmlns="http://www.w3.org/1999/xhtml";
> xmlns:py="http://purl.org/kid/ns#";
>     py:extends="mymodule.templates.master">
>
> If this is true, then it ought to go into some docs/wiki, but I'm not
> confident enough that I haven't made some configuration mistake to
> propose this.
>
>

Reply via email to