After some experimentation I have found that having jquery_js.inject() in BaseController.__call__ causes the problem.
On Dec 17, 12:46 am, Sam Collinson <[email protected]> wrote: > I am using that same generator (but with a non-infinite loop) and the > output is only displayed once the function has finished execution. I > am using a quickstarted project with ming/mongo and have only added > tw.jquery thus far. > > On Dec 16, 9:37 pm, Alessandro Molina <[email protected]> > wrote: > > > This is strange, > > it should work as stated on the doc. > > > Try with a basic generator, like the one of the > > documentation:http://pastebin.com/mDmx9YtE > > > I have been successful at doing it so I'm quite confident it should work. > > > On Fri, Dec 16, 2011 at 3:41 AM, Sam Collinson <[email protected]> wrote: > > > I wish to make a controller to stream output from console commands > > > (such as ping and traceroute) to the browser, and have been > > > unsuccessful so far with debug mode off and returning a generator as > > > inhttp://wiki.pylonshq.com/display/pylonsfaq/Streaming+Content+to+the+B... > > > Is there any other middleware that could be breaking this > > > functionality, and if so is it possible to turn some middleware off > > > for certain controllers? > > > I am using python2.6, Pylons 1.0 and TurboGears 2.1.4 with ming. > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "TurboGears" 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 > > > athttp://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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

