← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] handle LoadBoard IOError exception in python scripts


Hi Damien,

I merged your patch into the development branch. Thank you for your contribution to KiCad.



On 02/10/2018 07:49 AM, Damien Espitallier wrote:

Loading a wrong file or an non-existing file with the LoadBoard python function kill the program with the following message:

terminate called after throwing an instance of 'IO_ERROR'
Abandon (core dumped)

The attached patch enable exception handling for the LoadBoard function.

Damien Espitallier

Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp