Hi Michal, that's curious. Okay, I've already implemented a timeout wrapper that kills the tool if it takes too long. Do you have any comments on the other fixes I proposed? Joe
On Apr 13, 2010, at 7:22 PM, Michal Ludvig wrote: > Hi Joe, > > Amazon S3 doesn't seem to respond with an error when you request info > about a non-existent object. Will keep it on my list of things to look > at but at the moment I can hardly do anything about it I'm afraid. > > Michal > > > On 04/13/2010 11:53 AM, Joe Holt wrote: >> Howdy, >> >> s3cmd info hangs if you give it a non-existent file. For example, >> >> $ s3cmd info s3://existing-bucket/non-existent-file.png >> >> I've traced it into S3.py:send_request() where it hangs on the >> conn.getresponse() call, which appears to me (unfamiliar with python) to be >> part of an official HTTP lib, so I don't want to go mucking in there. This >> is completely reproducible. Any help fixing this would be appreciated. >> >> Joe > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > S3tools-general mailing list > S3tools-general@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/s3tools-general ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ S3tools-general mailing list S3tools-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/s3tools-general