tags 571016 + patch thanks I can reproduce it as well by just installing python-moinmoin and following /usr/share/doc/python-moinmoin/README.Debian.gz instructions (with python-flup installed, using CGI)
Here's what fixed the problem for me (see IRC logs from my previous mail for more details): | diff -r 1ecb884c0deb MoinMoin/web/contexts.py | --- a/MoinMoin/web/contexts.py Tue Jan 19 00:35:00 2010 +0100 | +++ b/MoinMoin/web/contexts.py Thu Feb 25 00:25:06 2010 +0100 | @@ -273,7 +273,7 @@ | # the output related methods | def write(self, *data): | """ Write to output stream. """ | - self.request.stream.writelines(data) | + self.request.out_stream.writelines(data) | | def redirectedOutput(self, function, *args, **kw): | """ Redirect output during function, return redirected output """ | diff -r 1ecb884c0deb MoinMoin/web/request.py | --- a/MoinMoin/web/request.py Tue Jan 19 00:35:00 2010 +0100 | +++ b/MoinMoin/web/request.py Thu Feb 25 00:25:06 2010 +0100 | @@ -47,7 +47,8 @@ | self.response = [] | self.status_code = 200 | | - in_stream = RequestBase.stream | + in_stream = cached_property(RequestBase.stream.func, 'in_stream') | + out_stream = cached_property(ResponseBase.stream.func, 'out_stream') | | @cached_property | def in_data(self): and upsteram fixed it with this patch (which is compatible with Werkzeug 0.5): http://hg.moinmo.in/moin/1.9/rev/ca98db50efac -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

