Re: compressed file ended before the logical end-of-stream was detected

2006-07-05 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, Ritesh Raj Sarraf wrote: I have some remarks on exception handling. > 1) compress_the_file() - This function takes files as an argument to it > and put all of them into a zip archive > > def compress_the_file(zip_file_name, files_to_compress, sSourceDir): > '''Condens

compressed file ended before the logical end-of-stream was detected

2006-07-05 Thread Ritesh Raj Sarraf
: "compressed file ended before the logical end-of-stream was detected" Any ideas why this happens ? I don't think it has anything to do with bad packets from the internet. Here's the code. There are two functions: 1) compress_the_file() - This function takes files as an argument