Ha I fixed it. If you happen to save your work while you have an output from the script node that isn't connected to anything, this error occurs. As I frequently save my work every minute or so, this is often the case. Creating a stub output indicator and attaching it readily solves the problem