If gesture not set, print error message and exit