Solved Porcupine keyword file version unmatch
-
Before entering the question, sincerely thank you for developing such fun modules for MagicMirror
I am seeing below errors while trying to load custom porcupine keyword model[10.06.2023 21:52.27.638] [LOG] [DETECTOR] EXT-Detector Version: 2.1.1 rev: 230417
[10.06.2023 21:52.27.643] [LOG] [ALERT] EXT-Alert Version: 1.2.1 rev: 230328
[10.06.2023 21:52.27.740] [LOG] [DETECTOR] [LIB] All libraries loaded!
[10.06.2023 21:52.27.743] [LOG] [DETECTOR] [DATA] Platform: ‘raspberry-pi’; attempting to use ‘arecord’ to access microphone …
[ERROR] keyword file belongs to a different version of the library. keyword file is ‘2.2.0’ while the library is ‘2.1.0’.
[ERROR] loading keyword file at ‘/home/sheldonpi/MagicMirror/modules/EXT-Detector/components/Idiot_en_raspberry-pi_v2_2_0.ppn’ failed with ‘INVALID_ARGUMENT’
[10.06.2023 21:52.27.780] [ERROR] [PORCUPINE] Error: Porcupine failed to initialize
[10.06.2023 21:52.27.789] [ERROR] [DETECTOR] [DATA] No detector initialized! -
Hi,
ah, I will inspect and update it, if needed
Thx for this report
-
Can you try this in your terminal: (copy and past for no error)
cd ~/MagicMirror/modules/EXT-Detector npm install @picovoice/porcupine-node@^2.2.0
and restart MM²
Tell me if better ?
-
bugsounet
-
Hi @bugsounet , it is working fine now. Thanks!
-
ok, I will push the update then
Thanks for your help -
hi @bugsounet whi i can do this issues
cd ~/MagicMirror/modules/EXT-Detector
npm install @picovoice/porcupine-node@^2.2.0 -
you don’t have to do this.
just update EXT-Detector,
It’s already on the last version: v2.1.2
I push to the public the patch so … just update it -
bugsounet