It crashes on my W7 32 bits install.
Because the script crashes (segfault) when running from a msys shell, i am guessing this script is run by the action script loader and the line:
"board = GetBoard()"
is executed before initializations are made, thus creating a segfault.
Of course, only action plugin scripts should be stored inside C:\Program Files\KiCad\share\kicad\scripting\
It crashes on my W7 32 bits install.
Because the script crashes (segfault) when running from a msys shell, i am guessing this script is run by the action script loader and the line:
"board = GetBoard()"
is executed before initializations are made, thus creating a segfault.
Of course, only action plugin scripts should be stored inside C:\Program Files\KiCad\ share\kicad\ scripting\