Manera, Villiam
vmanera at manord.com
Mon Apr 26 08:57:43 EST 2004
on my Apache/2.0.49 (win 2000) mod_python/3.1.3 Python/2.3.3 the long string return correctly Villiam -----Messaggio originale----- Da: mod_python-bounces at modpython.org [mailto:mod_python-bounces at modpython.org]Per conto di Gregory (Grisha) Trubetskoy Inviato: domenica 25 aprile 2004 22.06 A: Lisa Cc: mod_python at modpython.org Oggetto: Re: [mod_python] Long string being corrupted 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 > _______________________________________________ Mod_python mailing list Mod_python at modpython.org http://mailman.modpython.org/mailman/listinfo/mod_python
|