(this is a posting reapplying information already contained in the
mod_python +tg -apache hangs on some requests thread... sorry if the
duplication irks.)
If it is a problem with py:extends, you might try reversing out the
change to kid.template_util.py :: get_base_class, r.173, namely:
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).
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
Hi -
I've got tg working with some of my work and I wanted to see how I
would deploy it under mod_python. I've used mod_python a bit before.
I've got it partly working, but it only works for a controller with no
template defined:
@turbogears.expose()
def something(self, *args):
4 matches
Mail list logo