R. David Murray rdmur...@bitdance.com added the comment:
Fixed in r72100. Thanks everyone. Now for issue 2259...
--
resolution: - fixed
stage: test needed - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Santiago Peresón y...@yaco.net added the comment:
the attached file triggers the bug.
--
Added file: http://bugs.python.org/file13803/Sine-1000Hz-300ms.aif.zip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2245
R. David Murray rdmur...@bitdance.com added the comment:
If someone can supply a small sample audio file that will trigger the
failure(s) in the existing code, I will write the tests and commit the
issue2259 patch.
--
assignee: - r.david.murray
___
Santiago Peresón y...@yaco.net added the comment:
according to the spec at http://www.cnpbagwell.com/aiff-c.txt [1]:
Dealing with Unrecognized Local Chunks
When reading an IFF file, your program may encounter local chunk types
that it doesn't recognize, perhaps extensions defined after your
Santiago Peresón y...@yaco.net added the comment:
[1] couldn't find the spec at developer.apple.com, but the linked one
seems to be a copy of the original 1991 spec.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2245
R. David Murray rdmur...@bitdance.com added the comment:
The patch posted in issue 2259 solves this issue by deleting the
skiplist entirely and simply ignoring any unknown chunk. Given the
relatively long list of skipped types compared to the short list of
handled types, this may be reasonable.
Sjoerd Mullender sjo...@acm.org added the comment:
I wrote the module 16 years ago, but haven't done anything with AIFF
files for probably at least 10, so I can't really comment on the merits
of the two solutions (delete _skiplist or add CHAN to _skiplist). I'm
fine with either.
However, the
HiroakiKawai [EMAIL PROTECTED] added the comment:
Issue2259 patches will also fix this issue. :-)
--
nosy: +kawai
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2245
__
New submission from Oki Mikito:
When aifc tries to open an AIFF audio file, it collects the file's chunk
information. Apparently some AIFF files contain a chunk type string CHAN,
and the module just won't open the files...
Here's a captured error message:
import os
os.getcwd()