python and os.system() failure

Michael Hoffman cam.ac.uk at mh391.invalid
Sun May 1 19:52:25 EDT 2005


kennywiggin wrote:

> .flac: ERROR while decoding data
> state = FLAC__STREAM_DECODER_READ_FRAME
> 
> The script fails to decode any more flac files until the vm
> crashes from having too many open files.

Whoa! Time to start using file.close() after you're done with each
file.

If that doesn't fix your problem (perhaps you are running out of file 
handles?), I'd run strace on the flac invocation and see how a good one 
differs from a bad one.
-- 
Michael Hoffman



More information about the Python-list mailing list