combined installer natlink/vocola/unimacro beta (charlie) version released

Hello all,

People have been waiting a long time for a complete installer which incorporates recent changes and works with Vista and NatSpeak 9.5. I want to thank Scott Weinstein for making the previous installer, which served us several years. Unfortunately Scott has no time any more to maintain this installer.

Others unfortunately didn't succeed taking over. So I decided in the beginning of January to try to do it. It took some time, because I hit upon several issues which are described im my unimacro website as well. Note this is a beta (charlie) version, which is not tested by many people yet.

please try - at your own risk - and report your experiences.

Having said that, I want to announce this new installer: setup-natlink-3.1.charlie.

See installation pages on unimacro website for more details.

The highlights:
-no .net needed anymore
-installer which installs natlink/vocola and unimacro files, as they are in the natlink repository and in the unimacro repository (of SourceForge).
-The installer files also on SourceForge, the website mentioned above has the appropriate links.
-configuration GUI program, written in wxPython.
-all needed the registry settings are done in the configuration GUI. The installer only installs files and makes two entries in the start menu.
-natlink/vocola and unimacro now come in one installer.
-it works, at least in one, mine, Vista computer, but there was some struggling with UAC (User Account Control). I have a special page on this issue.
-I advise to install on C:\natlink or D:\natlink...

Vocola:
-the callback sequence has been changed, Vocola (_vocola_main to be precise) gets a special treatment in the natlinkmain beginCallback function. See explanation page for more information about this important change.
-can now manage more languages, English always being the default
-can also, optionally, take unimacro actions. Needs in that case the include file "usc.vch" to do unimacro shorthand commands. This include file is copied to the Vocola commands directory automatically if you choose that option.
-Simpscrp can be disabled, and another commands file editor can be specified. If Simpscrp is disabled the reloading of Vocola command files is done with a "os.system" call from python. The python window flashes short when this happens. You will also notice that the reloading of commands is done only when something has been changed in a command file. And at loading time of NaturallySpeaking, or when you change user speech profiles.

Unimacro:
-should need more attention after this release.
-in this release only a few grammars are put into the NatLink user directory by default. See instructions on above-mentioned website.

Greetings, Quintijn

Comment viewing options

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

improved to 3.1.delta

I just uploaded a slightly improved installer: 3.1.delta, which installs natlink/vocola and unimacro.

At my new installed (Windows XP) machine I hit a nasty error right at the start of the configure program, which I hope I have fixed now.

I also improved a few texts in the installer wizard.

Please try (again) and report. I did not receive feedback yet on success or failure of this new installer.

Quintijn

Finally I have some feedback

Finally I have some feedback for you! Below are my experiences when installing everything from scratch (apart from using existing vocola commands) on a new XP computer. Most things work just fine, but there are some commands that I thought unimacro handled which I am lacking (see end, "Try some standard unimacro"):

NaturallySpeaking_Preferred_B.exe
Run & register online
Skip training (will move my user profile to new computer later)

Install mouseless browsing firefox addon

download python2.3.5neededfornatlink.exe from SF
Unzip to temp folder
Run Python-2.3.5.exe, install with all default settings
Question: What are the other three will files inside the archive?

download setup-natlink-3.1.delta.exe from SF
Run, install to c:\perh\natlink

Start natspeak
- vocola and unimacro do not work

Restart computer
Re-read instructions ( Smiling )
Installed other three files inside python archive

Start natspeak
- still no vocola or unimacro

Open natlink configuration GUI
- enable natlink
- enable vocola (at this point, I wondered about what different options meant, and re-read instructions for second time, finding configuration section ). Point config to a copy of my existing vocola folder
- enable unimacro

Folder structure (guess it is better to use local drive than network drive):
c:\perh\natlink
c:\perh\natlink\natlink
c:\perh\natlink\vocola
c:\perh\natlink\unimacro

Startup log:
use default (simpscrp) for editing vocola command files
getUserDirectory: C:\perh\natlink\unimacro
getLanguage: enx
getUser: Per Haglund (logitech)
IniGrammar switched on: tasks (1.12)
initializing/loading DictGrammar!!
messageDictGrammar initialized
_general, files in wordsFolder C:\perh\natlink\unimacro\enx_words\Per Haglund (logitech): []
IniGrammar switched on: general (---)
fillInstantVariables for
IniGrammar switched on: lines (1.10)
warning _folders, virtualdrive "nl" does not exist: d:\natlink
warning _folders, folder "unimacro" does not exist: "nl:\unimacro"
warning _folders, folder "natlink system" does not exist: "C:\Program Files\natlink\macrosystem\core"
warning _folders, file "python natlinkmain" does not exist: "C:\Program Files\natlink\macrosystem\core\natlinkmain.py"
IniGrammar switched on: folders (1.20)
Starting natlinkmain with language: enx (DNSversion: 9, WindowsVersion: XP)
natlinkmain CVS version: 1.21
natlinkmain started (imported)

Restart natspeak
- "Messages from Python Macros" Window shows up, sign that installation good

Try "Edit global commands"
- "simpsrcp call failed ???"
- Windows OS popup to select appropriate application, choose notepad
- Close notepad

Try "Edit global commands"
- "simpsrcp call failed ???" in log, but notepad opens

Disable simpsrcp in GUI, restart natspeak

Try "Edit global commands"
- Notepad opens, no warnings in log

Try "task position 1"
- Log shows expected output, "setting task position: 1"

Set task position 3, try "task 2"
- Works

Switch tasks a few times
- windows explorer crash
- Dr watson debugger crash

Kill natspeak.exe process, drwatson32.exe (?), ctfmon.exe processes, restart natspeak

Switch tasks a few times
- windows explorer crash
- Dr watson debugger crash

kill only drwatson32.exe (?), windows explorer restarts

Switch tasks a few times
- no crash

Try some standard unimacro
- "up two" -> typed, no cursor movement??
- "OK" -> typed, not equivalent of Enter key??
- "backspace 5" -> 5 previous characters deleted as expected
- Firefox browsing works as usual

Comments:
- Great job! Thanks for all the hard work
- Some commands not working - see above. Did i miss something?
- Nice with clear status in GUI, and guide to select folders popping up when enable Vocola / Unimacro
- Nice with reminder to restart natspeak when exit GUI - maybe same thing at end of natlink install?
- Maybe remove your entries in _folders and replace with standard locations (as examples)? Not a big issue

Per Haglund wrote: Finally

Per Haglund wrote:

Finally I have some feedback for you!

Thanks, I will comment below.

Per Haglund wrote:

Question: What are the other three will files inside the archive?

Well, you experienced yourself. They should be installed all (well ... the pyXML file is only needed by voicecode).

The others are the windows extensions for python and wxPython, which is used by the configure program (and by voicecode).

Per Haglund wrote:

Folder structure (guess it is better to use local drive than network drive):
c:\perh\natlink
c:\perh\natlink\natlink
c:\perh\natlink\vocola
c:\perh\natlink\unimacro

Looks good, I think on a network drive this will work (nearly) equally well. Please try.

Per Haglund wrote:

Try "Edit global commands"
- "simpsrcp call failed ???"
- Windows OS popup to select appropriate application, choose notepad

I do not know why simpscrp fails. But without it vocola works as well now. I must make a fix in case importing simpscrp already gives an error, because in that case now _vocola_main.py (and with it all the command files) cannot even start.

Per Haglund wrote:

Switch tasks a few times
- windows explorer crash
- Dr watson debugger crash

Kill natspeak.exe process, drwatson32.exe (?), ctfmon.exe processes, restart natspeak

Probably a ctfmon problem.

I repeat a sample of node 1352:
To remove ctfmon.exe if your using Windows XP (...) follow these steps:

- Open "Regional and Language Options" in the control panel
- Click the "Languages" tab
- Click the "Details" button under "Text services and input languages" heading
- Click the "Advanced" tab
- Place a check mark in "Turn off advanced text services" under the "System Configuration" heading

Mike

Per Haglund wrote:

Try some standard unimacro
- "up two" -> typed, no cursor movement??
- "OK" -> typed, not equivalent of Enter key??
- "backspace 5" -> 5 previous characters deleted as expected

This is the grammar _keystrokes.py, which I moved into the folder "DisabledGrammars" in the installer. Because it can hit too often if you are not aware of its presence. Simply move (or copy) from this folder into the unimacro folder, toggle the microphone and the commands above will be in.

Per Haglund wrote:

Comments:
- Great job! Thanks for all the hard work
- Some commands not working - see above. Did i miss something?
- Nice with clear status in GUI, and guide to select folders popping up when enable Vocola / Unimacro
- Nice with reminder to restart natspeak when exit GUI - maybe same thing at end of natlink install?
- Maybe remove your entries in _folders and replace with standard locations (as examples)? Not a big issue

I will note your remarks. More information at the end of the installer is already in, maybe not clear enough.

I will work on a unimacro user directory like the vocola user directory.

Greetings, Quintijn

Quintijn wrote: Looks good,

Quintijn wrote:

Looks good, I think on a network drive this will work (nearly) equally well. Please try.

That is how I used to have it before, never noticed any real problems but thought this might improve performance slightly. So it definitely works but right now I can't tell if there is any difference.

Quintijn wrote:

Probably a ctfmon problem.

I repeat a sample of node 1352:
To remove ctfmon.exe if your using Windows XP (...) follow these steps:

- Open "Regional and Language Options" in the control panel
- Click the "Languages" tab
- Click the "Details" button under "Text services and input languages" heading
- Click the "Advanced" tab
- Place a check mark in "Turn off advanced text services" under the "System Configuration" heading

Ok, will let you know if the problem reappears

Quintijn wrote:

This is the grammar _keystrokes.py, which I moved into the folder "DisabledGrammars" in the installer. Because it can hit too often if you are not aware of its presence. Simply move (or copy) from this folder into the unimacro folder, toggle the microphone and the commands above will be in.

Beautiful! Everything is working as expected now.

Thanks for the quick response. Overall, I think the installer worked really well. Next step for me will be to copy my natspeak profile across and investigate host-specific Vocola command files, but I will cover any problems with those stages outside of this thread.

How do I change the editor for the latest version of natlink?

I'm trying to use both the graphical and command line configurer where t nothing seems to work...

What is the exact command line that I need to type in assuming that I want to use alter edit 32 and is located at C:\Program Files\ULTRAEDT\UEDIT32.EXE

Any help would be much appreciated... as I am killing my hands trying to figure this out

The CLI (command line

The CLI (command line interface for configuring natlink/vocola/unimacro) uses:

-the command "p" for setting/clearing the editor for unimacro ini files,
-the command "w" for setting/clearing the editor for vocola files.

(so you type: p C:\Program Files\ULTRAEDT\UEDIT32.EXE or
w C:\Program Files\ULTRAEDT\UEDIT32.EXE in your case).

The website pages were not updated with these changes, but I did just now, see the natlinkconfigfunctions page. Note you need these only when the configure GUI is not working for some or another reason.

Succes, Quintijn

Commandline error

Thank you for your quick reply.
I tried both command lines in the order that you specify.
Both of them gave me the following error message.

Please specify a valid path for vocola command files editor

I then tried to run the "edit voice commands" and Notepad still popped up.

Any further insights would be much appreciated.
Thanks again
Jeff

The answer is probably even

The answer is probably even "Please specifiy ..." Smiling. I will correct the typo.

But serious: you entered an invalid path, that is the message. Please try again, with the correct path to your editor program.

Quintijn

admin's picture

Thomasjeffreyandersontwin

Thomasjeffreyandersontwin wrote:

Thank you for your quick reply.
I tried both command lines in the order that you specify.
Both of them gave me the following error message.

Please specify a valid path for vocola command files editor

I then tried to run the "edit voice commands" and Notepad still popped up.

Any further insights would be much appreciated.
Thanks again
Jeff

I wonder if you need to put paths that contain spaces inside quotation marks (") on the command line?

Yes, probably, sorry to

Yes, probably, sorry to forget that. I install in D:\natlink\... and have no problems with that.

Thanks Skip!

Quintijn

reload everything causes natlink to crash

I've noticed that
when I say "vocola window"

Then when I say "reload everything"

Natlink, and sometimes NaturallySpeaking completely bombs.

Is there anyway to get Natlink to automatically pick up my changes whenever I create a new/update in Natlink macro? This used to work.
Thanks for any help
Jeff

http://agileconsulting.blogspot.com

Please see my answer in a

Please see my answer in a new thread:

http://www.speechcomputing.com/node/2026

Quintijn

still cannot get alternative editor to work...

I could never get this working, but decided to tough it out with the default editor...

now that the holidays are honest I have some time to look at this again, so I tried playing around with the commandline to try and getan alternative editor working.

Here is a listing of commands which all fail...

natlink config> p C:\Program Files\ULTRAEDT\UEDIT32.EXE
Please specifiy a valid path for Unimacro Ini files editor

natlink config> p "C:\Program Files\ULTRAEDT\UEDIT32.EXE"
Please specifiy a valid path for Unimacro Ini files editor

natlink config> p "C:\Progra~1\ULTRAEDT\UEDIT32.EXE"
Please specifiy a valid path for Unimacro Ini files editor

natlink config> w C:\Progra~1\ULTRAEDT\UEDIT32.EXE
Please specifiy a valid path for vocola command files editor

natlink config> w "C:\Progra~1\ULTRAEDT\UEDIT32.EXE"
Please specifiy a valid path for vocola command files editor

I have checked the path numerous times, and copy it right out of Windows Explorer, it is definitely correct.

If anyone has any insight (Quintijn Smiling)
that would be sincerely appreciated...
regards
Jeff

For more information, try to

For more information, try to change line 1011 (of the file natlinkconfigfunctions.py) to:

            print 'Please specifiy a valid path for Unimacro Ini files editor, not |%s|'% arg

and line 1105 to:

            print 'Please specifiy a valid path for vocola command files editor: |%s|'% arg

I think your first line:

p C:\Program Files\ULTRAEDT\UEDIT32.EXE

should be correct. I am puzzled otherwise.

Success, Quintijn

still unsuccessful

thank you for getting back to me so quickly...

I updated the line of code as suggested and tried again with the following results...

natlink config> p c:\program files\ultraedt\uedit32.exe
Setting (path to) Unimacro Ini Files editor to c:\program files\ultraedt\uedit32.exe

natlink config> p C:\Program Files\ULTRAEDT\UEDIT32.EXE
Please specifiy a valid path for Unimacro Ini files editor, not |C:\Program Files\ULTRAEDT\UEDIT32.EXE|

natlink config> p c:\program files\ultraedt\uedit32.exe
Setting (path to) Unimacro Ini Files editor to c:\program files\ultraedt\uedit32.exe
natlink config>

What's interesting to note that if I take the path from the actual Windows Explorer bar I get an error condition...

If I use the all lowercase version that you have provided, no error message appears, however whenever I say "edit voice command" I still get Notepad.

Should I disable simp script from the graphical user interface first? Are there any other commands/other debugging that I could do?

Thank you again for your assistance...
Jeff

success at last :-)

actually it looks like the lowercase version worked,

I'm not sure which combination of steps worked but I did the following
1) disabled simp script
2) ran the w command as well (whoops)
3) restarted Natlink

I think the command has to be in lower case or else the path is not properly interpreted...

again thanks for the support...

Regards
Jeff
http://agileconsulting.blogspot.com

Comment viewing options

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


Syndicate content