Closed dvanderfaeillie closed 3 years ago
Thank you for the report. Indeed we have encountered this once or twice while testing, the error simply means that while the camera did not actually manage to capture an image (for an unknown reason -> making the debugging difficult), the script still tries to process the (non-existent) image. We will look into this and either try to find out what circumstances can result in a failed image capture, or wrap this command in a try/except check, and loop back to a new capture in case the resizing fails.
Agreed, failure to capture an image (even for unknown reasons) shouldn't result in a crash of the service. Catching it would be an improvement.
The service
telraam_monitoring
crashed and the following was logged: