Dragonfly's dynamic grammar list functionality does not work correctly with Dragon 15 if used in a stand-alone Python process. However, it works just fine in a command module loaded by natspeak.exe. The problem can be replicated by running Dragonfly's test suite in the root directory of this repository:
python setup.py test --test-suite=natlink
The test_grammar_list_doctest.txt test will fail with the older Python 2.7 and newer Python 3.8 versions of Natlink.
This issue, if it is indeed fixable and not another Dragon "quirk" we must simply endure, should be considered low priority since Natlink is not normally used in this fashion.
If you use the Natlink engine back-end and make use of Dragonfly Lists and/or DictLists, it is recommended to load your command modules via the Natlink user directory instead.
dictation-toolbox/natlink#82
Dragonfly's dynamic grammar list functionality does not work correctly with Dragon 15 if used in a stand-alone Python process. However, it works just fine in a command module loaded by natspeak.exe. The problem can be replicated by running Dragonfly's test suite in the root directory of this repository:
The test_grammar_list_doctest.txt test will fail with the older Python 2.7 and newer Python 3.8 versions of Natlink.
This issue, if it is indeed fixable and not another Dragon "quirk" we must simply endure, should be considered low priority since Natlink is not normally used in this fashion.
If you use the Natlink engine back-end and make use of Dragonfly
Lists
and/orDictLists
, it is recommended to load your command modules via the Natlink user directory instead.