Registering and logging in removes this ad.
Registering and logging in removes this ad.
Firefox sometimes hangs when using vocola together with mouseless browsing extension
Hi,
I'm using the mouseless browsing extension for Firefox (It attaches a visible ID number to each link, allowing you to follow link by saying "click 'ID number'"). Occasionally Firefox will hang, the process consuming 100% of the CPU, and NatLink eventually producing the trace back below.
Traceback (most recent call last):
File "C:\PROGRA~1\NatLink\macrosystem\core\natlinkutils.py", line 514, in resultsCallback
self.callIfExists( 'gotResults_'+x[1], (x[0], fullResults) )
File "C:\PROGRA~1\NatLink\macrosystem\core\natlinkutils.py", line 213, in callIfExists
else: apply(func, argList)
File "C:\PROGRA~1\NatLink\macrosystem\firefox_vcl.py", line 219, in gotResults_12
actions.perform()
File "C:\PROGRA~1\NatLink\macrosystem\core\VocolaUtils.py", line 49, in perform
natlink.playString(value)
natlink.NatError: Error returned from playString (calling natlink.playString)
The macros used are:
<x> := 0..99;
<y> := 1..5;
click <y><x> = {shift+F6}{F6}{NumLock} Eval($1*100+$2) {enter} ;
click <y> hundred = {shift+F6}{F6}{NumLock} Eval($1*100) {enter} ;
click <x> = {shift+F6}{F6}{NumLock} $1 {enter} ;
right click <y><x> = {shift+F6}{F6}{NumLock} Eval($1*100+$2) {shift+F10} ;
right click <x> = {shift+F6}{F6}{NumLock} $1 {shift+F10} ;If anyone has seen this problem and resolved it I would be very grateful. If not, I'd appreciate any pointers in the right direction for investigating it myself. Is there any way to see the full trace back, or do I need to enable debug logging in NatLink?
Thanks a lot,
Per


You just sent a string from
You just sent a string from natlink to firefox here. Natlink cannot get it "played" to firefox.
I also experienced that this MLB is a bit tricky getting to work. A more specialised natpython grammar should be better here. Unimacro provides one, you could try that one.
BTW I am discussing with Mark Lillibridge about cooperation between unimacro and vocola. "Simple" things with vocola, more intricate grammars (which this nearly is, because of the numbers you want to call) or more complicated actions when a command triggers can be handled with unimacro grammars or actions.
Hope to be able to report more soon,
Quintijn
Sounds interesting. I
Sounds interesting. I definitely will have a look at Unimacro once I get my basic workflow sorted out. Thanks for the feedback!
I found the following post
I found the following post covering the same question:
http://www.speechcomputing.com/node/721