Open
Description
Hi I am using pythonocc to read a step file thanks to the read_step_file function of the OCC.Extend.DataExchange module. In case of a corrupted file (e.g. missing references) the above function generates a crash in python without generating exceptions. I have already tried using a try-except statement without results.
I have read in the C++ documentation about the OSD::SetSignal() function (joined with OCC_CATCH_SIGNALS in linux) which is supposed to turn application kill signals into exceptions.
Searching the python library I have not found how to enable this feature and the program keeps crashing without exception. Does anyone know if these options are available?