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

Getting Error "7/No Match" #159

Open
imyagnesh opened this issue Feb 22, 2019 · 35 comments
Open

Getting Error "7/No Match" #159

imyagnesh opened this issue Feb 22, 2019 · 35 comments

Comments

@imyagnesh
Copy link

After few seconds of start recording getting "7/No Match" Error. I have also tried with sample code and I am getting same error.

My React Native setup is as below

react": "^16.6.3",
"react-native": "^0.57.5",
"react-native-voice": "^0.2.6",

Attached Log details as well as snapshot.
screenshot 2019-02-22 at 1 25 40 pm
screenshot_20190222-132222_get engaged

@shivam4ukhandelwal
Copy link

Hey i am also having the same error

@tunm1228
Copy link

i am also having the same error

@Goye
Copy link

Goye commented Apr 22, 2019

To solve that problem you need to pass the following config to the .start method:

Voice.start('es_US', {
  "RECOGNIZER_ENGINE": "GOOGLE",
   "EXTRA_PARTIAL_RESULTS": true
})

I think the RECOGNIZER_ENGINE is not necessary haha

@mrengineer20
Copy link

I am also having the same error!

@AlkanV
Copy link

AlkanV commented Mar 2, 2021

i am also getting same error. iOS works seamlessly perfect but on android it throws such error. i put only console.log for every event so that you can see the logs more clearly.

[Tue Mar 02 2021 14:24:26.978]  LOG      services:  ["com.google.android.googlequicksearchbox"]
[Tue Mar 02 2021 14:24:28.464]  LOG      onSpeechStart:  {"error": false}
[Tue Mar 02 2021 14:24:28.578]  LOG      onSpeechVolumeChanged:  {"value": -2}
[Tue Mar 02 2021 14:24:28.817]  LOG      onSpeechVolumeChanged:  {"value": -0.440000057220459}
[Tue Mar 02 2021 14:24:28.849]  LOG      onSpeechVolumeChanged:  {"value": -2}
[Tue Mar 02 2021 14:24:29.360]  LOG      onSpeechVolumeChanged:  {"value": 1.119999885559082}
[Tue Mar 02 2021 14:24:29.710]  LOG      onSpeechVolumeChanged:  {"value": 0.039999961853027344}
[Tue Mar 02 2021 14:24:29.800]  LOG      onSpeechVolumeChanged:  {"value": 0.7599999904632568}
[Tue Mar 02 2021 14:24:29.104]  LOG      onSpeechVolumeChanged:  {"value": -0.440000057220459}
[Tue Mar 02 2021 14:24:29.113]  LOG      onSpeechVolumeChanged:  {"value": 0.8799998760223389}
[Tue Mar 02 2021 14:24:29.210]  LOG      onSpeechVolumeChanged:  {"value": 0.16000008583068848}
[Tue Mar 02 2021 14:24:29.212]  LOG      onSpeechVolumeChanged:  {"value": 1}
[Tue Mar 02 2021 14:24:29.212]  LOG      onSpeechVolumeChanged:  {"value": 10}
[Tue Mar 02 2021 14:24:29.469]  LOG      onSpeechVolumeChanged:  {"value": -2}
[Tue Mar 02 2021 14:24:33.729]  LOG      onSpeechError:  {"error": {"message": "7/No match"}}

and this is my start function with options:

        Voice.start('en-US', {
          RECOGNIZER_ENGINE: 'services',
          EXTRA_PARTIAL_RESULTS: true,
        })

any help will be appreciated, thank you

@TruongLCC
Copy link

TruongLCC commented Apr 19, 2021

yep, I get same err too. It is OK in fist time, and return an err in next time. I am using their example code and add this code but it still have err
Voice.start('es_US', {
"RECOGNIZER_ENGINE": "GOOGLE",
"EXTRA_PARTIAL_RESULTS": true
})

@Nikita279
Copy link

I'm facing the same issue. Did anyone find a solution to this?

@JJ810
Copy link

JJ810 commented Jun 4, 2021

Hey guys! I am also having this issue! Does anyone have any solution for this?

@learncodingforweb
Copy link

learncodingforweb commented Jun 29, 2021

Getting same issue on android,
Not working

@lefnire
Copy link

lefnire commented Oct 1, 2021

Same issue. Either 5/Client side error or 7/No match, very frequent and I can't spot a pattern. Sometimes it will try to listen for a bit, other times it will be immediate on Voice.start()

@LucasRobert123
Copy link

Mesmo problema, alguém achou a solução?

@khaihoan2306
Copy link

try running on API level 30, I cant run it on 31 but working on API 30

@lefnire
Copy link

lefnire commented Jun 7, 2022

@khaihoan2306 I'm on 30. Thanks for the possibility though, was worth taking a look (I forgot which I was on). It's not a certain thing; it's like 50/50 (successful recognition vs 5, 7, or 8). Where I left off last year, my hunch was that there's some sort of race condition on the assigned functions. Eg, recognize/start/stop competing; possibly if it picks up background noise against the speaker.

@DasSumana558025
Copy link

I am facing the same issue , Does anyone find any solution

@Vishal-Isharani
Copy link

I'm also facing the same issue.

@Sanath91009
Copy link

Any updates on this issue ? @imyagnesh

@Jfmetcalf5
Copy link

Any updates? I just came across this issue as well

@jsdev-mario
Copy link

Any updates?

@hgamage
Copy link

hgamage commented Sep 29, 2022

im also facing this issue

@BastienSaulnier
Copy link

Facing same issue here.

@amalraj7980
Copy link

i also facing the same issue

@lucadev22
Copy link

be sure to have checked the "Virtual microphone uses hosta audio input" option, in Microphone options from the android emulator

@WillGITCode
Copy link

be sure to have checked the "Virtual microphone uses hosta audio input" option, in the Microphone options from the android emulator
@lucadev22 That was it, thanks!

@branchdev98
Copy link

Any update? I have same error!

@peterhck
Copy link

Has no one been able to solve this issue?

@inderweb
Copy link

inderweb commented Sep 5, 2023

If you are using android emulator, make sure to tick Microphone => "Virtual microphone uses host audio input" which you can get by clicking "..." in Running Devices. If must work fine on real device.

I was using emulator and for me checking "Virtual microphone uses host audio input" solved it. Although a lot of delay in detecting voice but was good enough to confirm that it works :-)

@aniketjha9179
Copy link

If you are using android emulator, make sure to tick Microphone => "Virtual microphone uses host audio input" which you can get by clicking "..." in Running Devices. If must work fine on real device.

I was using emulator and for me checking "Virtual microphone uses host audio input" solved it. Although a lot of delay in detecting voice but was good enough to confirm that it works :-)

bro you really solved my issue I just turned my microphone from emulator and all is good now . I was getting this error since yesterday : LOG speech error: {"error": {"message": "7/No match"}}
now all is good let's meet somewhere else on some different issue 🤝🧡

@yahiaslim12
Copy link

has no one able to solve this error ! ;(

@Muhammad-Nafees
Copy link

I'm using real device and still i couldn't solve this issue PLEASE help someone.

@Muhammad-Nafees
Copy link

@lucadev22 do you know how to solve this problem in Android Real Device not emulator?

@abhay-keyvalue
Copy link

Any solution for this issue??
"Virtual microphone uses hosta audio input" option ticked but not fix not worked for me

@m2001said
Copy link

image

this is the solution for me and it worked well

@jernland0279
Copy link

recognize

Thanks a lot, it works!

@jernland0279
Copy link

You're right. It works for me, thanks.

@hassnain0
Copy link

Thanks, that worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests