-
Notifications
You must be signed in to change notification settings - Fork 240
Open
Description
Hi,
when I exit precise with a keyboard interrupt, it always raise an exception.
I already tried to catch it but without success. Would be nice to have a way to exit it without any exception.
Exception ignored in: <module 'threading' from '/home/pi/precise_trigger/precise-engine/threading.pyc'>
Traceback (most recent call last):
File "threading.py", line 1279, in _shutdown
KeyboardInterrupt
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/usr/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.7/dist-packages/precise_runner/runner.py", line 236, in _handle_predictions
prob = self.engine.get_prediction(chunk)
File "/usr/local/lib/python3.7/dist-packages/precise_runner/runner.py", line 67, in get_prediction
return float(self.proc.stdout.readline())
ValueError: could not convert string to float:
I hope someone got a hint for me how to catch this exception.
Thanks.
Metadata
Metadata
Assignees
Labels
No labels