Re: "Premature end of script headers: wsgihandler.py" on usage of BytesIO()

2012-11-19 Thread Hans Mulder
and then run from different machines OR > from different browsers in same machine then the server > becomes halt and in apache error log, I found this error > message: > > Premature end of script headers: wsgihandler.py, > > Furthermore, it occurs only when I use BytesIO() stream fo

"Premature end of script headers: wsgihandler.py" on usage of BytesIO()

2012-11-19 Thread Yasir Saleem
chine then the server becomes halt and in apache error log, I found this error message: Premature end of script headers: wsgihandler.py, Furthermore, it occurs only when I use BytesIO() stream for generating graphs. In all other cases, it run smoothly. Please guide me that how I should resolve

Re: Premature End Of Script Headers

2010-01-04 Thread Steve Holden
Victor Subervi wrote: > Hi; > > Here's my entire test script: > > #!/usr/bin/python > > def myMail(): > print 'Content-type: text/html' > print > print ''' > > > > > > > ''' > > H

Premature End Of Script Headers

2010-01-04 Thread Victor Subervi
Hi; Here's my entire test script: #!/usr/bin/python def myMail(): print 'Content-type: text/html' print print ''' ''' Here's the error: [Mon Jan 04 12:59:15 2010] [error] [client 66.82.9.61] Premature end of script headers: mail.py