Same problem here.

Seems to me it's a Mako related exception handling bug.  It stalls in it's
mako/exception.py file when a `line` is None..

Was this solved or reported to the Mako guys ?

thanks

Alexandre


On Fri, Apr 16, 2010 at 2:06 PM, Mike Orr <[email protected]> wrote:

> On Fri, Apr 16, 2010 at 10:22 AM, kazin <[email protected]> wrote:
> >> I'm going to go try recreating the whole app and copying over my
> >> changes to see if I can track where it goes astray.
> >
> > My problem was caused by me adding a @nocache decorator to the
> > BaseController's __call__method.  As soon as that was removed,
> > Template errors started appearing again.
> >
> > I must have screwed up when I tested removing it before.Sorry for the
> > trouble, and thanks for the help!
>
> Still, does this mean there's a bug? Shouldn't errors pass through
> @nocache cleanly?
>
> I guess it depends on whether it's reasonable to put @nocache on the
> base controller, and that I don't know because I don't use it. If
> somebody thinks it should work, and can confirm it's not behaving
> properly in the case of missing template variables, please open a bug
> ticket for it.
>
> --
> Mike Orr <[email protected]>
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<pylons-discuss%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/pylons-discuss?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to