win10 -- ctrl-c causes error "forrtl: error (200): program aborting due to control-C event"
alexiscatnip opened this issue · 0 comments
alexiscatnip commented
Task: I am trying to open the camera, detect the charuco points, and display it using opencv. In a simple main loop.
When I press the stop button in pycharm (which i assume is ctrl-c), I ran into this error message --
forrtl: error (200): program aborting due to control-C event
Image PC Routine Line Source
libifcoremd.dll 00007FF8BE5D3B58 Unknown Unknown Unknown
KERNELBASE.dll 00007FF91B3B4F93 Unknown Unknown Unknown
KERNEL32.DLL 00007FF91C337974 Unknown Unknown Unknown
ntdll.dll 00007FF91E3FA2F1 Unknown Unknown Unknown
-- at this point, pycharm is unable to kill the application. The only way to proceed is to kill and restart pycharm.
The culprit is narrowed down to the import of CharucoBoard class:
import time
from aniposelib.boards import CharucoBoard # <-- this import, even if the code does not use it, causes the error message.
from bin.api.SynchronisedCameraCapture import SynchronisedCameraCapture
import cv2