Alf P. Steinbach <al...@start.no> added the comment: Sorry, here's correct error message:
Traceback (most recent call last): File "C:\Documents and Settings\Alf\sound\error.py", line 8, in <module> writer.writeframes( b"\0"*2*4 ) File "C:\Program Files\cpython\python31\lib\wave.py", line 432, in writeframes self.writeframesraw(data) File "C:\Program Files\cpython\python31\lib\wave.py", line 416, in writeframesraw self._ensure_header_written(len(data)) File "C:\Program Files\cpython\python31\lib\wave.py", line 459, in _ensure_header_written self._write_header(datasize) File "C:\Program Files\cpython\python31\lib\wave.py", line 472, in _write_header self._sampwidth * 8, 'data')) struct.error: required argument is not an integer Exception struct.error: 'required argument is not an integer' in <bound method Wave_write.__del__ of <wave.Wave_write ob ject at 0x00FE87F0>> ignored ---------- Added file: http://bugs.python.org/file15835/error.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7681> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com