[Tutor] Having trouble figuring out bug

Steven D'Aprano steve at pearwood.info
Thu Feb 14 00:56:16 CET 2013

On 14/02/13 10:14, richard kappler wrote:
> I have tried to run the Google speech recognition code found here:
> https://github.com/jeysonmc/python-google-speech-scripts/blob/master/stt_google.py
> I am getting the following traceback:
> Traceback (most recent call last):
>    File "<stdin>", line 1, in<module>
>    File "GoogSTT.py", line 43, in listen_for_speech
>      data = stream.read(chunk)
>    File "/usr/lib/python2.7/dist-packages/pyaudio.py", line 605, in read
>      return pa.read_stream(self._stream, num_frames)


Richard, if you hang around this mailing list for a while, you will soon see that we tutors have a lot of trouble convincing newbies to post the entire traceback, not just the error message. But this is the first time that somebody has posted the traceback EXCEPT for the error message.

Well done, you win the Internet :-)

Please try again and post the entire traceback, including the error message at the end.

Thank you.


More information about the Tutor mailing list