[New-bugs-announce] [issue7681] Incorrect division in [wave.py] causing crash

Alf P. Steinbach report at bugs.python.org
Tue Jan 12 13:01:23 CET 2010


New submission from Alf P. Steinbach <alfps at start.no>:

CPython 3.1.1 in Windows XP.

Traceback (most recent call last):
  File "C:\Documents and Settings\Alf\sound\error.py", line 6, in <module>
    writer.setframerate( framerate )
NameError: name 'framerate' is not defined
Exception wave.Error: Error('sampling rate not specified',) in <bound method Wave_write.__del__ of <wave.Wave_write obje
ct at 0x00FE87F0>> ignored

TO FIX:

"/" needs to be changed to "//" in lines and 243 464 of [wave.py]

----------
components: Library (Lib)
files: error.py
messages: 97629
nosy: alfps
severity: normal
status: open
title: Incorrect division in [wave.py] causing crash
type: crash
versions: Python 3.1
Added file: http://bugs.python.org/file15834/error.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7681>
_______________________________________


More information about the New-bugs-announce mailing list