DevMiser / DaVinci

DaVinci - The ChatGPT AI Virtual Assistant
150 stars 21 forks source link

Failed to initialize pv_recorder #8

Open t0mer opened 1 year ago

t0mer commented 1 year ago

Hi, I am running on Rpi 4 with 4G memory, 128GB sd card, and 64bit os. The Wakeup word is working, but second after the response, I'm getting the following error:

  File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
    self.run()
  File "/opt/webplant/app.py", line 281, in run
    recorder = PvRecorder(device_index=-1, frame_length=1024)
  File "/usr/local/lib/python3.9/dist-packages/pvrecorder/pvrecorder.py", line 81, in __init__
    raise self._PVRECORDER_STATUS_TO_EXCEPTION[status]("Failed to initialize pv_recorder.")
RuntimeError: Failed to initialize pv_recorder.

Thanks

jimbo0378 commented 1 year ago

Did you find a solution? I'm running into the same issue