stereolabs / zed-python-api

Python API for the ZED SDK
https://www.stereolabs.com/docs/app-development/python/install/
MIT License
209 stars 95 forks source link

Exception for broken SVO #202

Closed jorgeuliana1 closed 2 years ago

jorgeuliana1 commented 2 years ago

Preliminary Checks

Proposal

When opening an corrupted SVO with sl.Camera.open no exception is thrown. In Windows, the process keeps running (apparently it is IO bound forever). In Linux, the process is aborted. I tried a lot of thing, but all I can do is to have some workarounds done. It would be really nice if I could just have a try-except block to treat an eventual exception.

Use-Case

It would make possible to just treat errors instead of just closing the script or having to close the terminal.

Anything else?

No response

adujardin commented 2 years ago

Thanks for the report, could you share an SVO file that trigger this error? You can send it to support@stereolabs.com if it's not meant to be public

jorgeuliana1 commented 2 years ago

Okay, I will send it to you right now. Thank you!

adujardin commented 2 years ago

The ZED SDK 3.6.4 is released and includes the fix for this issue https://www.stereolabs.com/developers/release/

jorgeuliana1 commented 2 years ago

Thank you!