« Return to Thread: TG2.1, WebError and streaming (using iterators as return values) problems

Re: TG2.1, WebError and streaming (using iterators as return values) problems

by Alessandro Molina-2 :: Rate this Message:

| View in Thread

Sorry, lost it.
You can report the bugs into https://sourceforge.net/p/turbogears2/tickets/

Anyway, even if you enable streaming in RegistryManager you won't be able
to stream the response as the debug middlewares and extensions try to read it.

You must set debug at false in development.ini to make streaming work reliably.

On Tue, Apr 17, 2012 at 5:25 PM, kgk <kkvilekval@...> wrote:

>
> Actually my point was that if you patch
>
>    TurboGears2-2.1.4-py2.6.egg/tg/configuration.py:970
>
> Changing
>     app = RegistryManager(app)
>  to
>     app = RegistryManager(app, streaming = True)
>
> Then WebError works fine.. it's a bug a turbogears but I could find a place
> to
> report this.
>
> Sorry if the message was lost in all the description.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/turbogears/-/UkJdx45qXL8J.
>
> To post to this group, send email to turbogears@....
> To unsubscribe from this group, send email to
> turbogears+unsubscribe@....
> For more options, visit this group at
> http://groups.google.com/group/turbogears?hl=en.

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

 « Return to Thread: TG2.1, WebError and streaming (using iterators as return values) problems