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

2012-11-19 Thread Yasir Saleem
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 the

[web2py] How to import file within another directory of modules

2013-01-04 Thread Yasir Saleem
Hi all, In my modules directory, I created a new directory named "users" and create a python file "test_users.py" within "users" directory. The structure is like this: *my_application/modules/users/test_users.py* I know that files within modules directory can be imported simply by "*import fi