-
Notifications
You must be signed in to change notification settings - Fork 503
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
Porcupine throws runtime error on running #617
Comments
the same document clearly asks you to keep your
|
do you have internet connectivity? you do need to have connectivity to verify your |
ya my bad I altered it now! |
yes, internet connectivity is available, I am making it sure with the below code.
and here is the output of the above.
|
Just waiting to know any possible fix for it!! |
Can you also install porcupine via PIP (not Conda) and verify you can reproduce it? |
@OnlinePage we're going to look into this. Thanks for your patience. |
@OnlinePage we are unable to reproduce this issue on a Windows 11 machine. The only thing that we can think of here is that you may have a non-standard environment variable set up. To check that, can you open Powershell and input the following two commands: echo $env:userprofile
echo $env:homedrive$env:homepath One of these commands should print the value to your home user directory. If not, then that would cause the error. |
Thanks again for your reply! I tried running the above command in windows Powershell, below is the screenshot of it. You can see I am getting the home user directory as the output on both commands, still confused why it's not working 😣. |
Okay, thank you - that disproves our original hunch. Unfortunately, since we can't reproduce this issue with the same setup, we can only ask you to perform some more diagnostic steps in order to narrow down the problem with your specific environment. Could you try turning off your internet and initializing Porcupine? If you get the same error, that will tell us a bit about where the error is being produced. |
Yeah I did run that command and enable the execution policies and now those red warnings are no more and bingo, the script is now running great!! 😎😀. So I guess picovoice runs a PowerShell script in the backend since it was disabled that's why it was causing an error? can you just explain a little about it? Well, thanks again @laves and Picovoice team for working and finding the cause of the issue!! I hope you guys will mention and fix such scenarios in upcoming updates. |
Great! I won't get into any specifics, but we don't run any Powershell script files. That block of error text however was making its way into a system call we use. We'll be applying a permanent fix for this in the next release so that this should not effect future users. Thanks for bringing this to our attention! |
ya fine, thanks again! 😀😎😀 |
Hi, I have been trying to use porcupine in python with pvpocrupine on PyPI, with a very basic example of instantiating the porcupine object with access_key and keywords, it throws an unknown runtime error.
Here is the code.
this throws below error
system spec:-
Earlier with pvporcupine 1.9.0, it runs flawlessly great.
Please let me know the possible fix to the above issue.
The text was updated successfully, but these errors were encountered: