dictation-toolbox / natlinkcore

Other
4 stars 4 forks source link

test problem with natlinktimer.py #69

Open quintijn opened 6 months ago

quintijn commented 6 months ago

When running test_natlinktimer.py (from natlinkcore/tests) (or alltests.py), the following exception is thrown:

Exception ignored in: <function NatlinkTimer.__del__ at 0x044CBA48>
Traceback (most recent call last):
  File "C:\DT\NatlinkcoreDoug\src\natlinkcore\natlinktimer.py", line 97, in __del__
  File "C:\DT\NatlinkcoreDoug\src\natlinkcore\natlinktimer.py", line 284, in stopTimer
natlink.NatError: Calling setTimerCallback is not allowed before calling natConnect

It is not clear why. The natlinktimer module seems to run well.

More intricate tests have been commented out. Maybe need a check too.

quintijn commented 1 month ago

Doug, something wrong with the tests in natlinkcore. Could you have a look or can we discuss this?