Empty microphone record folder when record voice through microphone component

Hello everyone!

I am having a problem recording audio responses on builder.
I get the mic result folder empty.
I tried to make the recording limited to specific seconds, but that did not solve the problem. I also added a keyboard key that forces to stop the routine, and that also did not work!
I am using PsychoPy v2021.2.3
I have a MacBook (Catalina, 10.15.7)
And I get this message:

Traceback (most recent call last):
File “/Users/Documents/audio recording_lastrun.py”, line 227, in
mic.stop()
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/sound/microphone.py”, line 803, in stop
“Cannot stop a stream that has not been started.”)
psychopy.sound.exceptions.AudioStreamError: Cannot stop a stream that has not been started.
Experiment ended.

Any idea? Thank you in advance!

you have a try : mic.stop

Could you please provide more details?
I am really waiting for an answer as my experiment is now on hold because of this problem.

did you used two microphone components

No, It is just one!

You may check your computer driver of sound card

I think you are right because it works properly when uploaded the experiment to Pavlovia!

Thank you for your response!