more detailed error messages
Merge pull request #505 from goodfeli/space_error

more detailed error messages