[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: a traceback error when I try Vocola



 > From: "Vocola" <http://www.attbi.com/~Vocola>
 > Date: Mon, 27 May 2002 15:39:42 -0400
 >
 > "COMPUTERNAME" is an "environment variable" which Vocola looks for to
 > discover the name of your machine (to implement machine-specific commands).
 > 
 > Apparently it is not defined on your computer. Could you please let me know
 > what version of Windows you're running?
 > 
 > I've attached a corrected version of _vocola_main.py which should work
 > whether or not that variable is defined. Copy it into your
 > NatLink\MacroSystem folder and you should be all set.
 > 
 > -Rick

I got it to work.

I had to edit autoexec.bat so the PATH included "perl", which apparently
is necessary for converting the VCL files.  (I use Cygwin.)  I can
successfully do "Load Voice Commands" and "Start Notepad" works.  But!
"Edit Voice Commands" says:

File 'cmd' not found.

Traceback (most recent call last):
  File "c:\nalink007\macrosystem\natlinkutils.py", line 511, in resultsCallback
    self.callIfExists( 'gotResults_'+x[1], (x[0], fullResults) )
      File "c:\nalink007\macrosystem\natlinkutils.py", line 210, in callIfExists
    else: apply(func, argList)
      File "c:\nalink007\macrosystem\_vocola_mail.py", line 44, in gotResults_2
    self.openFile(file, comment)
      File "c:\nalink007\macrosystem\_vocola_mail.py", line 88, in openFile
    natlink.execScript('ShellExecute "cmd /c ' + filename + '", 6')
    natlink.NatError: Error 62159 executing script execScript (line 1)

Am I supposed to create a shortcut called "cmd"?  Or, am I supposed to
edit _vocola_main.py ?  (Note that the file that you sent me was called
"_vocola_mail.py".  I assume that this was an accident.  It works,
anyway.)



Why do you want this page removed?