Is that the full error message you're being shown "invalid syntax"?

-Andy