durusmail: quixote-users: CGIHTTPServer
CGIHTTPServer
2003-05-22
2003-05-22
Re: CGIHTTPServer
2003-05-22
2003-05-22
2003-05-22
2003-05-22
Re: CGIHTTPServer
2003-05-22
2003-05-23
CGIHTTPServer
Mark Bucciarelli
2003-05-19
I can't get Quixote to work with Python's CGIHTTPServer.  This issue
was raised back in March of 2002, and Greg Ward suggested that the
reason is that Python's CGIHTTPRequestHandler fills stdin differently
than Apache.

The call to _sock.accept() in line 243 of fcgi.py raises a
socket.error 22 ('Invalid argument').

Has there been anything further been discovered on this issue?

Also, it looks like the FCGI.__del__ assumes that the err attribute
always exists, which in this particular case it does not.

I'd like to get this working, so if you have any suggestions for how
to debug this, please send them my way.  Thanks.

ref:
http://mail.mems-exchange.org/pipermail/quixote-users/2002-March/000342.html

--
Mark Bucciarelli, www.hubcapconsulting.com
    He who receives an idea from me, receives instruction himself
without lessening mine; as he who lights his taper at mine receives
light without darkening me.   -- Thomas Jefferson


reply