Trouble with PolyCurve By Profile Family Type

OK, The Get All Line Styles from archi-lab works fine as do the other nodes i have tried in the recent past.

Copied the python node over into my graph and received the below error.