It seems like nginx mod_wsgi would not work with wsgihandler.py, or am
i missing something in my setup?
Or is it a known bug?

Nginx is definitely calling up wsgihandler.py, as it logs error below
in
web2py Version 1.61.3 (Default Welcome Application).

Error traceback
Traceback (most recent call last):
  File "gluon/main.py", line 256, in wsgibase
    keep_blank_values=1)
  File "/usr/lib/python2.5/cgi.py", line 213, in parse_qsl
    pairs = [s2 for s1 in qs.split('&') for s2 in s1.split(';')]
AttributeError: 'NoneType' object has no attribute 'split'


Nginx Error Log:

ngx_http_wsgi_cleanup_handler
2009/04/21 09:44:45 [debug] 19031#0: *8 wsgi_handler
2009/04/21 09:44:45 [debug] 19031#0: *8 mod_wsgi: start_response
called
2009/04/21 09:44:45 [debug] 19031#0: *8 wsgi_iterator_handler, step 1
2009/04/21 09:44:45 [debug] 19031#0: *8 mod_wsgi: sent headers, rc: 0,
header_only: 0
2009/04/21 09:44:45 [debug] 19031#0: *8 wsgi_handler done: 0
2009/04/21 09:44:45 [debug] 19031#0: *8 ngx_http_wsgi_cleanup_handler
2009/04/21 09:44:46 [debug] 19031#0: *9 wsgi_handler
2009/04/21 09:44:46 [debug] 19031#0: *9 mod_wsgi: start_response
called
2009/04/21 09:44:46 [debug] 19031#0: *9 wsgi_iterator_handler, step 1
2009/04/21 09:44:46 [debug] 19031#0: *9 mod_wsgi: sent headers, rc: 0,
header_only: 0
2009/04/21 09:44:46 [debug] 19031#0: *9 wsgi_handler done: 0
2009/04/21 09:44:46 [debug] 19031#0: *9 ngx_http_wsgi_cleanup_handler
2009/04/21 09:47:14 [debug] 19031#0: mod_wsgi: finalizing the Python
interpreter
2009/04/21 09:48:03 [debug] 19169#0: mod_wsgi: finalizing the Python
interpreter
2009/04/21 09:48:11 [debug] 19195#0: *1 wsgi_handler
2009/04/21 09:48:11 [debug] 19195#0: *1 mod_wsgi: loading WSGI script
'/root/web2py/wsgihandler.py'
2009/04/21 09:48:12 [error] 19195#0: close failed: [Errno 10] No child
processes

2009/04/21 09:48:12 [error] 19195#0: close failed: [Errno 10] No child
processes

2009/04/21 09:48:12 [error] 19195#0: close failed: [Errno 10] No child
processes

2009/04/21 09:48:12 [error] 19195#0: close failed: [Errno 10] No child
processes

Any Ideas?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to