Skip to content
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

Cobra Issue: running alongside Porcupine Angular creates IO_ERROR #109

Closed
sandeepsn1997 opened this issue Jun 3, 2022 · 6 comments
Closed
Assignees
Labels
help wanted Extra attention is needed

Comments

@sandeepsn1997
Copy link

Cobra stops working when porcupine service in installed and used in angular

getting this error

core.mjs:6494 ERROR Error: Uncaught (in promise): Error: 'pv_cobra_init' failed with status IO_ERROR
at resolvePromise (zone.js:1211:1)
at zone.js:1118:1
at asyncGeneratorStep (asyncToGenerator.js:6:1)
at _throw (asyncToGenerator.js:29:1)
at _ZoneDelegate.invoke (zone.js:372:1)
at Object.onInvoke (core.mjs:25608:1)
at _ZoneDelegate.invoke (zone.js:371:1)
at Zone.run (zone.js:134:1)
at zone.js:1275:1
at _ZoneDelegate.invokeTask (zone.js:406:1)

when working with only cobra VAD it works fine, but once i installed porcupine service it stops working

@sandeepsn1997 sandeepsn1997 added the bug Something isn't working label Jun 3, 2022
@kenarsa kenarsa self-assigned this Jun 3, 2022
@kenarsa kenarsa added help wanted Extra attention is needed and removed bug Something isn't working labels Jun 3, 2022
@kenarsa
Copy link
Member

kenarsa commented Jun 3, 2022

thanks for the report. can you please share a repo that allows us to reproduce the issue and then we can work on it? it is ok if the repo is private.

@sandeepsn1997
Copy link
Author

sandeepsn1997 commented Jun 3, 2022

cobra bug.zip
I have zipped and shared the angular project.

@mrrostam mrrostam self-assigned this Jun 6, 2022
@mrrostam
Copy link
Member

mrrostam commented Jun 6, 2022

@sandeepsn1997 Thank you for sharing the project, but I couldn't reproduce the issue described above as it only has Cobra and not Porcupine. Can you send me either another project with the problem you mentioned or a step-by-step guide on reproducing it with the one you already sent?

P.S: I deleted the link to the attached project since it has your AccessKey in plain text. Make sure to keep your AccessKey secret and removed from shared projects next time.

@mrrostam mrrostam changed the title Cobra Issue: Cobra Issue: running alongside Porcupine Angular creates IOError Jun 6, 2022
@mrrostam mrrostam changed the title Cobra Issue: running alongside Porcupine Angular creates IOError Cobra Issue: running alongside Porcupine Angular creates IO_ERROR Jun 6, 2022
@mrrostam
Copy link
Member

mrrostam commented Jun 6, 2022

@sandeepsn1997 I was able to reproduce what you got by creating a dummy angular project, and released a hotfix for our Cobra web binding, could you please try version 1.1.7 and see if that solves the issue?

@sandeepsn1997
Copy link
Author

Hello @mrrostam,

I deleted the link to the attached project Thanks, I realised it after uploading🙂.
I did try 1.1.7 version and the issue is resolved.
Thank you soo much for your quick response.
Can't wait to build cool things using PicoVoice. 👍

@mrrostam
Copy link
Member

mrrostam commented Jun 7, 2022

@sandeepsn1997 We are looking forward to seeing your projects. keep us posted!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants