# Error 'Stream' object has no attribute 'handle'

**URL:** <https://discourse.psychopy.org/t/error-stream-object-has-no-attribute-handle/26560>\
**Category:** Builder\
**Created:** [December 21, 2021, 11:20pm UTC](https://discourse.psychopy.org/t/error-stream-object-has-no-attribute-handle/26560 "2021-12-21T23:20:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [December 22, 2021, 7:19am UTC](https://discourse.psychopy.org/t/error-stream-object-has-no-attribute-handle/26560/2 "2021-12-22T07:19:06Z")

</div>

Do you have a microphone component?

> [@Audio problem: " 'Stream' object has no attribute 'handle' "](https://discourse.psychopy.org/t/audio-problem-stream-object-has-no-attribute-handle/25168/4):
>
> I actually managed to fix the microphone problem in my experiment also when running it offline in PsychoPy by doing two things: changing the sample rate from 16kHz to 44.1kHz (click on microphone component and then change the sample rate under the tab “Hardware”) disabling all microphone components except for one (only relevant if you have more than one microphone component in your experiment) Maybe these changes will help you too. I think the problem with the resources is not caused by the …

---

_[View the full topic](https://discourse.psychopy.org/t/error-stream-object-has-no-attribute-handle/26560)._
