pipecat icon indicating copy to clipboard operation
pipecat copied to clipboard

`AzureTTSService` blocks forever if `PYTHONASYNCIODEBUG=1`

Open muranski opened this issue 1 year ago • 2 comments

Description

AzureTTSService blocks forever on chunk = await self._audio_queue.get() if PYTHONASYNCIODEBUG=1 environment variable is set.

Affected line of code: https://github.com/pipecat-ai/pipecat/blob/fb9f72d38b43ac1875a601bea91c3d2b947f06ec/src/pipecat/services/azure.py#L586C16-L586C54

Environment

  • pipecat-ai version: 0.0.51
  • python version: 3.12
  • OS: macOS 15.1.1

muranski avatar Dec 18 '24 14:12 muranski

@muranski is this still impacting you?

markbackman avatar May 07 '25 22:05 markbackman

Yes, the issue is still present in v0.0.67. It's easy to replicate, just set PYTHONASYNCIODEBUG=1 env variable.

muranski avatar May 13 '25 10:05 muranski