From: Divye K. <div...@gm...> - 2008-08-11 16:25:31
|
Hi Dean, The error has something to do with the CGI script not executable > because the path has a space in it. I'm not sure if it's a Python bug > or something else, but because the HTTP server isn't able to run the > CGI script, the socket gets closed prematurely and the client gets the > error as an EOF. > I was able to reproduce the issue. The error lies with a standard library script of python not handling paths with spaces as it should. As of now, moving the files seems to be the only option till a patch can be developed. Python bug ids: 1535504 17 months ago CGIHTTPServer doesn't handle path names with embeded space <http://bugs.python.org/issue1535504> open htgoebel 1436206 24 months ago CGIHTTPServer doesn't handle path names with embeded space<http://bugs.python.org/issue1436206> open rick-eci 1235 7 months ago CGIHTTPRequestHandler.run_cgi() does not run on Windows if sys.executable contains blanks <http://bugs.python.org/issue1235> Divye -- An idealist is one who, on noticing that a rose smells better than a cabbage, concludes that it will also make better soup. H. L. Mencken (1880 - 1956) My official web site: http://people.iitr.ernet.in/shp/061305/ Webmaster: http://www.drkapoorsclinic.com Blog: http://divyekapoor.blogspot.com |