« Return to Thread: Hangs in RenderView in "end"

Re: Hangs in RenderView in "end"

by Tomas Doran :: Rate this Message:

Reply to Author | View in Thread


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

_______________________________________________
List: Catalyst@...
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@.../
Dev site: http://dev.catalyst.perl.org/

 « Return to Thread: Hangs in RenderView in "end"