From: Dean M. B. <mik...@gm...> - 2008-08-11 17:17:27
|
Hi Divye, On Tue, Aug 12, 2008 at 12:25 AM, Divye Kapoor <div...@gm...> wrote: > > 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 open htgoebel > 1436206 24 months ago CGIHTTPServer doesn't handle path names with embeded > space open rick-eci > 1235 7 months ago CGIHTTPRequestHandler.run_cgi() does not run on Windows if > sys.executable contains blanks > Nice one, I think working in Linux with no paths with spaces seems like the best option for me. :D BTW, WRT text_file_query, at this point, I'm at a loss -- maybe Python is also the culprit here, because the response seems to be missing exactly 4 characters (assuming we're missing the \r from the file in the filesystem). Python might be munging the line-endings in Windows? That's the only explanation I can think of at the moment though. Does this manifest when testing against IIS/Apache in Windows? Can anybody test this? -- Dean Michael C. Berris Software Engineer, Friendster, Inc. |