Open simonireilly opened 4 years ago
Nothing obvious is jumping out at me here. Both the old and new Dragonfly's Choice takes four arguments (plus implicit self), as do the testing mock and aenea's, so I'd expect this to work. Might try adding logging to see what exactly is being imported as Choice (I think you can just use print Choice before the crash and it should print to the Natlink window messages?) That should give you the filename where Choice is coming from, which would give more information. I don't know of a version in Aenea or related projects that takes 4 arguments (including self).
Most likely a configuration or install issue, though it's been awhile since I've worked actively on this. May also be worth asking on the dictation-toolbox Gitter.
Thanks for the response. I have a work around as: https://github.com/simonireilly/aenea/blob/master/dragonfly_grammars/cli_typescript.py.
Using the defaults of the mapping rule and with the Choice being optional. Not pretty but works.
I expected it was probably an import issue but I setup my remote vdi last year and just restore it from the cloud on new machines.
Love this project, kept me in a job during 5 months of RSI, thanks for your work 👍
When attempting to provide a default value for a choice object in a mapping rule, The following error is observed on the remote machine running in the virtual box.
Backedtrace
Inclusion
_terminal.py
Grammar
cli_typescript.py