{"action":"created","issue":{"url":"https://api.github.com/repos/astropy/astropy/issues/3346","labels_url":"https://api.github.com/repos/astropy/astropy/issues/3346/labels{/name}","comments_url":"https://api.github.com/repos/astropy/astropy/issues/3346/comments","events_url":"https://api.github.com/repos/astropy/astropy/issues/3346/events","html_url":"https://github.com/astropy/astropy/issues/3346","id":55313738,"number":3346,"title":"Consider catching exceptions in io.ascii readers and raising as InconsistentTableError","user":{"login":"taldcroft","id":348089,"avatar_url":"https://avatars.githubusercontent.com/u/348089?v=3","gravatar_id":"","url":"https://api.github.com/users/taldcroft","html_url":"https://github.com/taldcroft","followers_url":"https://api.github.com/users/taldcroft/followers","following_url":"https://api.github.com/users/taldcroft/following{/other_user}","gists_url":"https://api.github.com/users/taldcroft/gists{/gist_id}","starred_url":"https://api.github.com/users/taldcroft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taldcroft/subscriptions","organizations_url":"https://api.github.com/users/taldcroft/orgs","repos_url":"https://api.github.com/users/taldcroft/repos","events_url":"https://api.github.com/users/taldcroft/events{/privacy}","received_events_url":"https://api.github.com/users/taldcroft/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/astropy/astropy/labels/Effort-medium","name":"Effort-medium","color":"fef2c0"},{"url":"https://api.github.com/repos/astropy/astropy/labels/io.ascii","name":"io.ascii","color":"c7def8"},{"url":"https://api.github.com/repos/astropy/astropy/labels/Package-expert","name":"Package-expert","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-23T18:15:17Z","updated_at":"2015-01-23T19:10:06Z","closed_at":null,"body":"Currently in the guessing process there are four exceptions that are handled in a failed read attempt: `core.InconsistentTableError, ValueError, TypeError, AttributeError`.   The last one was added in #3342 to fix a problem with tables that almost look like DAOphot.\r\n\r\nA different way to approach this is to pro-actively catch expected parsing errors in the various readers and re-raise as `InconsistentTableError` or possibly subclasses there-of.  This would have the benefit of forcing scrutiny of the various failure paths and then providing users with better feedback for what went wrong.  This would be immediately beneficial in the no-guess case.  It could also be useful for guessing since we might provide a mode to print out the exception message for each guess try.  Currently this isn't that useful since the exceptions are not always something that the user can make sense of.\r\n"},"comment":{"url":"https://api.github.com/repos/astropy/astropy/issues/comments/71247181","html_url":"https://github.com/astropy/astropy/issues/3346#issuecomment-71247181","issue_url":"https://api.github.com/repos/astropy/astropy/issues/3346","id":71247181,"user":{"login":"hamogu","id":498688,"avatar_url":"https://avatars.githubusercontent.com/u/498688?v=3","gravatar_id":"","url":"https://api.github.com/users/hamogu","html_url":"https://github.com/hamogu","followers_url":"https://api.github.com/users/hamogu/followers","following_url":"https://api.github.com/users/hamogu/following{/other_user}","gists_url":"https://api.github.com/users/hamogu/gists{/gist_id}","starred_url":"https://api.github.com/users/hamogu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamogu/subscriptions","organizations_url":"https://api.github.com/users/hamogu/orgs","repos_url":"https://api.github.com/users/hamogu/repos","events_url":"https://api.github.com/users/hamogu/events{/privacy}","received_events_url":"https://api.github.com/users/hamogu/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T19:10:06Z","updated_at":"2015-01-23T19:10:06Z","body":"Looking at the top three pages of open astropy issues (75 issues, of which maybe 50 are bugs, simple feature requests etc that any user cold have and 25 are \"make release\", \"optimize Travis\" etc. ), there are <5 issues opened by people who are not developing astropy or an affiliated package. We know that the astropy user base is >> 10, so do the non-developers never run in to issues?\r\n\r\nI believe that's not the case, but non-developers don't report issues."}}