https://forum.vectorworks.net/index.php?/topic/44990-syntaxerror-eol-while-scanning-literal/
Apparently it's a Vectorworks Python API bug. Can we please have this fixed, as after this error occurs you cant get rid of the error until you restart Vectorworks