recogntionMimic intermittent failure

I have a natpython script that works on one computer, but not another. The error message is as follows. Why would this work on one machine, and not another? However,if I actually speak the words "select ears through period", it will highlight the appropriate sentence. Could you offer me some advice?

got phword: review
got phword: ears
got phword: tinnitus
Traceback (most recent call last):
File "C:\NatLink\NatLink\MacroSystem\core\natlinkutils.py", line 529, in resultsCallback
self.callIfExists( 'gotResults_'+x[1], (x[0], fullResults) )
File "C:\NatLink\NatLink\MacroSystem\core\natlinkutils.py", line 215, in callIfExists
else: apply(func, argList)
File "C:\NatLink\NatLink\MacroSystem\_editROS.py", line 99, in gotResults_selectHistory
natlink.recognitionMimic(['select', 'ears','through','.'])
natlink.MimicFailed: recognitionMimic call failed (The speech engine returned the following error: MimicNoResults)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Just from my memory: try

Just from my memory:

try 'to' instead of 'through'.

try '.\\period' instead of '.'

Quintijn

Best to you,From a previus

Best to you,
From a previus post of yours, I have used all permutations. So far either restarting DNS may work as well as inserting a Time.sleep(.5) seems to help. The macro will work and then seems to get the error after adding or changing some code.
Allan

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


Syndicate content