I've done more investigation on this problem and it seems (by addition
of multiple logging lines), the hanging is going on in kid.importer.py:
_create_module function, line:
    "exec code in mod.__dict__"

I'm not sure why it's hanging - it's not throwing an exception (I've
trying catching it).

Am I meant to set kid.precompiled to True for mod_python/mpcp? (this is
not set in my prod.cfg, but perhaps I should - will report back after
trying this). Will also try to investigate the code object (strangely
it reports that it comes from path-to-my-template.py rather than
path-tomy-template.kid or .pyc - wonder if this is an issue).

again any recommendations or ideas here would be helpful.

thanks

tim

Reply via email to