We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,124 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

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

Hi all,

I am generating graphs using "cairo plot" in web2py project. Here I am using BytesIO() stream for generating graphs. Everything runs fine when I run on localhost but when I deploy it on apache server 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 for generating graphs. In all other cases, it run smoothly.

Please guide me that how I should resolve this issue. Furthermore, please also guide, if I can use any stream other BytesIO()

1
Contributor
0
Replies
1
View
yasirsaleem
Newbie Poster
1 post since Nov 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0528 seconds using 2.66MB