Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug with Natlink and Dragon16: natlink.execScript #64

Open
quintijn opened this issue Feb 4, 2024 · 3 comments
Open

bug with Natlink and Dragon16: natlink.execScript #64

quintijn opened this issue Feb 4, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@quintijn
Copy link
Collaborator

quintijn commented Feb 4, 2024

When calling natlink.execScript, Dragon freezes.

When running the testscript, the playEvents action is performed, but the windows error message shows up.
playevents error 2024-02-03

(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.

@dougransom dougransom added the bug Something isn't working label Feb 19, 2024
@quintijn
Copy link
Collaborator Author

quintijn commented Feb 24, 2024

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)...

@quintijn
Copy link
Collaborator Author

Above error message arose from a playString in the script. No new BUG. The upper example remains.

@quintijn
Copy link
Collaborator Author

quintijn commented Mar 2, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants