<@U084APK40NS> suddenly getting this errror: 2025-...
# ask-ai
f
@millions-hair-24956 suddenly getting this errror: 2025-02-28 220317,442 - ERROR agent-worker - Unhandled exception: module 'livekit.agents.utils' has no attribute 'ConnectionPool' Traceback (most recent call last): File "/app/inbound_pipe.py", line 545, in entrypoint tts=cartesia.TTS(voice="1d3ba41a-96e6-44ad-aabb-9817c56caa68"), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/livekit/plugins/cartesia/tts.py", line 128, in init self._pool = utils.ConnectionPool[aiohttp.ClientWebSocketResponse]( ^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'livekit.agents.utils' has no attribute 'ConnectionPool' Any ideas?
g
It seems likely that the error you're encountering is due to a missing or incorrectly referenced
ConnectionPool
attribute in the
livekit.agents.utils
module. This could be a result of a recent update or change in the LiveKit library that removed or renamed this attribute. To address this, you might want to check if there have been any recent updates to the LiveKit library that could have affected the
ConnectionPool
attribute. Additionally, ensure that your LiveKit library is up-to-date and compatible with the rest of your code. If the issue persists, consider reaching out to the LiveKit support community for further assistance. Would you like more detailed guidance on how to troubleshoot this issue? Sources: - https://livekit-users.slack.com/archives/C07FY8WHGPM/p1730827154.025169 - https://livekit-users.slack.com/archives/C07FY8WHGPM/p1726108612.514559 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.