You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the 'interrupt' parameter is True, when it ought to be False, the tickit device has a chance of triggering an exception that is not properly handled. This error will cause all future scheduled updates to fail to run.
I have tried to produce a minimum working example that raises the exception in question.
I have found the input / output field necessary for any tickit device; I am not sure why. It's called 'flux' as it was copied from an example.
Run the simulation: python -m tickit all ./temp_controller.yaml
On a separate terminal, send the multiple requests: ./test_comms.py
Problematic code
@RegexCommand(r"T\?", True, "utf-8") # Causes issues@RegexCommand(r"T\?", False, "utf-8")# Works fine
Error messages
Benign messages:
DEBUG:tickit.core.management.schedulers.base:Scheduler (MasterScheduler) got Interrupt(source='tempcont')
DEBUG:tickit.core.management.schedulers.base:Scheduling tempcont for wakeup at 14296887047
Main error:
Task exception:
Traceback (most recent call last):
File "/venv/lib/python3.10/site-packages/tickit/core/runner.py", line 21, in run_with_error_handling
await awaitable
File "/venv/lib/python3.10/site-packages/tickit/core/management/schedulers/master.py", line 72, in run_forever
await self._do_tick()
File "/venv/lib/python3.10/site-packages/tickit/core/management/schedulers/master.py", line 88, in _do_tick
assert when is not None
AssertionError
If the 'interrupt' parameter is True, when it ought to be False, the tickit device has a chance of triggering an exception that is not properly handled. This error will cause all future scheduled updates to fail to run.
I have tried to produce a minimum working example that raises the exception in question.
I have found the input / output field necessary for any tickit device; I am not sure why. It's called 'flux' as it was copied from an example.
Run the simulation:
python -m tickit all ./temp_controller.yaml
On a separate terminal, send the multiple requests:
./test_comms.py
Problematic code
Error messages
Benign messages:
Main error:
device.py
temp_controller.yaml
test_comms.py
The text was updated successfully, but these errors were encountered: