Runs but errors out