{"action":"created","issue":{"url":"https://api.github.com/repos/tilo/smarter_csv/issues/90","repository_url":"https://api.github.com/repos/tilo/smarter_csv","labels_url":"https://api.github.com/repos/tilo/smarter_csv/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/tilo/smarter_csv/issues/90/comments","events_url":"https://api.github.com/repos/tilo/smarter_csv/issues/90/events","html_url":"https://github.com/tilo/smarter_csv/issues/90","id":203892852,"number":90,"title":"ERROR -- : end of file reached (EOFError) with some CSV files","user":{"login":"katiemccann","id":2029820,"avatar_url":"https://avatars0.githubusercontent.com/u/2029820?v=3","gravatar_id":"","url":"https://api.github.com/users/katiemccann","html_url":"https://github.com/katiemccann","followers_url":"https://api.github.com/users/katiemccann/followers","following_url":"https://api.github.com/users/katiemccann/following{/other_user}","gists_url":"https://api.github.com/users/katiemccann/gists{/gist_id}","starred_url":"https://api.github.com/users/katiemccann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katiemccann/subscriptions","organizations_url":"https://api.github.com/users/katiemccann/orgs","repos_url":"https://api.github.com/users/katiemccann/repos","events_url":"https://api.github.com/users/katiemccann/events{/privacy}","received_events_url":"https://api.github.com/users/katiemccann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-01-29T20:12:31Z","updated_at":"2017-05-04T04:35:11Z","closed_at":null,"body":"Using 1.1.4, I'm getting an EOFError on some .csv files. I've attached an example (had to zip it as github won't accept a csv attachment).[linkedin_test.csv.zip](https://github.com/tilo/smarter_csv/files/737781/linkedin_test.csv.zip)\r\n\r\nError looks like:\r\n[2017-01-28T14:02:39.334602 #41155] ERROR -- : end of file reached (EOFError)\r\n/Users/katiemccann/.rvm/gems/ruby-2.3.1/gems/smarter_csv-1.1.4/lib/smarter_csv/smarter_csv.rb:42:in `readline'\r\n/Users/katiemccann/.rvm/gems/ruby-2.3.1/gems/smarter_csv-1.1.4/lib/smarter_csv/smarter_csv.rb:42:in `process'\r\n/Users/katiemccann/Documents/Code/recommender/app/controllers/contacts_controller.rb:92:in `block in linkedin_upload'\r\n\r\nLine 92 of contacts_controller.rb:\r\nli_contacts = SmarterCSV.process(filename, {:verbose => true, :force_utf8  =>true, :key_mapping => {:e_mail_address => :email}})\r\n\r\nI’ve tried playing around with the encoding but no matter what, I get this EOFError\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tilo/smarter_csv/issues/comments/299095217","html_url":"https://github.com/tilo/smarter_csv/issues/90#issuecomment-299095217","issue_url":"https://api.github.com/repos/tilo/smarter_csv/issues/90","id":299095217,"user":{"login":"tilo","id":22553,"avatar_url":"https://avatars2.githubusercontent.com/u/22553?v=3","gravatar_id":"","url":"https://api.github.com/users/tilo","html_url":"https://github.com/tilo","followers_url":"https://api.github.com/users/tilo/followers","following_url":"https://api.github.com/users/tilo/following{/other_user}","gists_url":"https://api.github.com/users/tilo/gists{/gist_id}","starred_url":"https://api.github.com/users/tilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tilo/subscriptions","organizations_url":"https://api.github.com/users/tilo/orgs","repos_url":"https://api.github.com/users/tilo/repos","events_url":"https://api.github.com/users/tilo/events{/privacy}","received_events_url":"https://api.github.com/users/tilo/received_events","type":"User","site_admin":false},"created_at":"2017-05-04T04:35:11Z","updated_at":"2017-05-04T04:35:11Z","body":"I downloaded the file, but it still worked after saving it with TextEdit \r\n"}}
{"actor":{"display_login":"tilo"}}