Problem with GUI builder, kernel script syntax error

Hi,

I am using Abaqus CAE 6.14-1 and trying to build a plug in via the Really Simple GUI Dialogue Builder (RSB).

I have created the front end and named and typed the appropriate variables and then linked a kernel code.

Unfortunately I keep getting the following error,

syntaxError:('invlid syntax',('.\\RigidPyticle.py',22,86,'def setUp( modName, target, radMax, radMin, Vx, Vy, Vz, hght, wdth, zLen, numSphere )\\n'))

The line of code being referred to ,

def setUp( modName, target, radMax, radMin, Vx, Vy, Vz, hght, wdth, zLen, numSphere ):

 

The original kernel code is a mature piece of code that runs with no problem from CAE's CLI. The only change is the wrapping up into a function ie putting def setup().....return around the code & indenting as appropriate.

Frankly I am at a loss, from the error it looks like the ':' is being stripped during parsing, if that is so then this is an internal error & nothing to do with my code, so I'm not sure how to proceed if this is the case.

I suspect it is not but as there is a scarcity of information about the RSB its proving hard to debug.

I can post the code generated by the RSB along with my own kernel code if needed.

Thanks

Nic