We have been able to solve this error in SPIS4.0 win32: in the UI, in the GlobalParameters module, in the Volume Interactors tab, "parameter3VolInteract" is a float by default. However, the code is expecting an integer here (see manual "Controlling Num from UI"), so just choose "int" instead of "float" and it should work.
Matias