Open quintijn opened 7 months ago
it also "hangs" with the test grammar _setlistbug.py, It is not easy to a speak a correct command, but see the example in line 3 of the script. (corrected, this was a fake message)...
Above error message arose from a playString in the script. No new BUG. The upper example remains.
trying to catch the calls natlink.playString, natlink.playEvents, natlink.buttonClick in the init.py file of natlink.
Help wanted, also with getting the unittests converted to pytest, if possible.
When calling natlink.execScript, Dragon freezes.
When running the testscript, the playEvents action is performed, but the windows error message shows up.
(not the code as shown in the image has been changed a bit after it was taken). replace unimacroutils. by natlinkutils., as is now correct in the test file, (buttonclicktest.py in natlinkcore.tests)
The problem shows up with natlinkutils.buttonClick.
When you need this buttonClick function, you can circumvent via unimacroutils, then it runs via natlink.execScript, which also shows, that this function is working.
When the test script runs without Dragon is running, , the code runs (the right click is performed), but afterwards the "ESP" error is hit.
When Dragon is running, it freezes, and must be closed with the windows task manager.