-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Picovoice status to exception; keyword file 2.2 v 3.0; and wake word error #17
Comments
That sounds like a great project! I would like to see how it comes out. PicoVoice updated the Porcupine library from 2.2.0 to 3.0.0 a couple of days ago. I just now uploaded a new version of the keyword file, DaVinci_raspberry_pi.ppn, that is compatible with 3.0.0. Use that new file and everything should work. |
Thank you so much for making that update to the library! Once I get this tuned up, the next task will be to make the XGO2 robot's mic and speaker perform the functions. At this time, only raspberrypi is talking and listening via RealVNC access.. the robot its self isn't performing as DaVinci just yet. |
Getting a new error today:
Traceback (most recent call last):
File "/home/pi/DaVinci/DaVinci.py", line 276, in <module>
o = create(
File "/home/pi/.local/lib/python3.9/site-packages/pvleopard/_factory.py",
line 40, in create
return Leopard(
File "/home/pi/.local/lib/python3.9/site-packages/pvleopard/_leopard.py",
line 158, in __init__
raise self._PICOVOICE_STATUS_TO_EXCEPTION[status]()
pvleopard._leopard.LeopardActivationRefusedError
…------------------
(program exited with code: 1)
Press return to continue
On Sun, Oct 29, 2023 at 3:43 AM DevMiser ***@***.***> wrote:
That sounds like a great project! I would like to see how it comes out.
PicoVoice updated the Porcupine library from 2.2.0 to 3.0.0 a couple of
days ago. I just now uploaded a new version of the keyword file,
DaVinci_raspberry_pi.ppn, that is compatible with 3.0.0. Use that new file
and everything should work.
—
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BDS3HZ4MMF2FLY3OM7IX4U3YBYCIPAVCNFSM6AAAAAA6UQQKD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBUGAZDINBUGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
*Love Science & Technology LLC*
2771 Monument Rd. STE 29-312
Jacksonville, FL 32225
*This email message (including attachments) contains information which may
be confidential and/or legally privileged. Unless you are the intended
recipient, you may not use, copy or disclose to anyone the message or any
information contained in the message or from any attachments that were sent
with this email, and If you have received this email message in error,
please advise the sender by email, and delete the message. Unauthorized
disclosure and/or use of information contained in this email may result in
civil and criminal liability.*
|
Excellent instructions. I'm hung up on just these few things. Any suggestions? I'm adding this into my CM4 XGO-lite Robot Kit V2 in hopes of making the robot intelligent =)
pi@raspberrypi:~ $ cd /home/pi/DaVinci
pi@raspberrypi:~/DaVinci $ python3 DaVinci.py
Traceback (most recent call last):
File "/home/pi/DaVinci/DaVinci.py", line 295, in
wake_word()
File "/home/pi/DaVinci/DaVinci.py", line 146, in wake_word
porcupine = pvporcupine.create(keywords=["computer", "jarvis", "DaVinci",],
File "/home/pi/.local/lib/python3.9/site-packages/pvporcupine/_factory.py", line 69, in create
return Porcupine(
File "/home/pi/.local/lib/python3.9/site-packages/pvporcupine/_porcupine.py", line 198, in init
raise self._PICOVOICE_STATUS_TO_EXCEPTION[status](
pvporcupine._porcupine.PorcupineInvalidArgumentError: Initialization failed:
[0] Keyword file (.ppn) file belongs to a different version of the library. File is
2.2.0
while library is3.0.0
.[1] Loading keyword file at
/home/pi/.local/lib/python3.9/site-packages/pvporcupine/resources/keyword_files/raspberry-pi/DaVinci_raspberry-pi.ppn
failed withINVALID_ARGUMENT
.The text was updated successfully, but these errors were encountered: