[Catalyst] Hangs in RenderView in "end"

Tomas Doran bobtfish at bobtfish.net
Sun Jun 28 15:13:39 GMT 2009


On 28 Jun 2009, at 07:35, Gunnar Strand wrote:
> [debug] Rendering template "users/create_form.tt2"
> [info] Request took 795.658106s (0.001/s)
> .------------------------------------------------------------ 
> +-----------.
> | Action                                                     |  
> Time      |
> +------------------------------------------------------------ 
> +-----------+
> | /users/create                                              |  
> 0.005603s |
> | /end                                                       |  
> 795.6377s |
> |  -> Cupper::View::TT->process                              |  
> 795.6356s |
> '------------------------------------------------------------ 
> +-----------'
>
> As you can see, "end" has hanged in 795 seconds, and this output  
> was not printed until AFTER I hit "Stop" in Firefox. Below is the  
> code in users/create:
>

This shows that the template processing is going into an infinite loop.

Something in users/create_form.tt2 is going mad. I'd replace it with  
a blank template, check that fixes the issue, then work backwards  
from there, re-adding chunks of code until you find the culprit.

Cheers
t0m



More information about the Catalyst mailing list