Gregory (Grisha) Trubetskoy
grisha at modpython.org
Sun Apr 25 16:06:27 EST 2004
Lisa - I tried, it doesn't happen to me, though my version of Apache is a tad older. Is anyone else seeing this? First thing I would try to isolate this problem is remove as many modules from the apache configuration as apossible, especially ones that act as filters (e.g. include), and see if this can still be replicated. Grisha On Mon, 26 Apr 2004, Lisa wrote: > Hi All, > > Apologies if my previous email makes/made it to the list, I didn't > realise that my subscription didn't work before sending it. > > I'm having some trouble with returning a long string while using > mod_python with publisher, you can see an example of the output I'm > receiving at http://www.stxx.com/test.txt > > my test function is > > def test(): > xx = range(0, 15000) > ss = str() > for x in xx: > ss += str(x)+"\n" > return ss > > this works for the most part however there are garbage characters > inserted at various places in the return string, particularly following > line 14139. > > I'm running Apache/2.0.49 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.3 > > When I run this same file from the command line it provides the correct output. > > > Thanks > Lisa > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python >
|