{"action":"opened","issue":{"url":"https://api.github.com/repos/conveyal/geom2gtfs/issues/19","labels_url":"https://api.github.com/repos/conveyal/geom2gtfs/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/conveyal/geom2gtfs/issues/19/comments","events_url":"https://api.github.com/repos/conveyal/geom2gtfs/issues/19/events","html_url":"https://github.com/conveyal/geom2gtfs/issues/19","id":65282374,"number":19,"title":"Shapefiles left locked when exceptions occur","user":{"login":"abyrd","id":112871,"avatar_url":"https://avatars.githubusercontent.com/u/112871?v=3","gravatar_id":"","url":"https://api.github.com/users/abyrd","html_url":"https://github.com/abyrd","followers_url":"https://api.github.com/users/abyrd/followers","following_url":"https://api.github.com/users/abyrd/following{/other_user}","gists_url":"https://api.github.com/users/abyrd/gists{/gist_id}","starred_url":"https://api.github.com/users/abyrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abyrd/subscriptions","organizations_url":"https://api.github.com/users/abyrd/orgs","repos_url":"https://api.github.com/users/abyrd/repos","events_url":"https://api.github.com/users/abyrd/events{/privacy}","received_events_url":"https://api.github.com/users/abyrd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-30T19:23:16Z","updated_at":"2015-03-30T19:23:16Z","closed_at":null,"body":"When something is misconfigured and geom2gtfs throws an exception, any open shapefiles are left locked. On subsequent runs we see errors like the following:\r\n\r\n```\r\nMar 30, 2015 9:10:52 PM org.geotools.data.shapefile.files.ShpFiles logCurrentLockers\r\nSEVERE: The following locker still has a lock: read on file:/Users/abyrd/nyrail/alignment-topo.shp by org.geotools.data.shapefile.shp.ShapefileReader\r\nMar 30, 2015 9:10:52 PM org.geotools.data.shapefile.files.ShpFiles logCurrentLockers\r\nSEVERE: The following locker still has a lock: read on file:/Users/abyrd/nyrail/alignment-topo.shx by org.geotools.data.shapefile.shp.IndexFile\r\nMar 30, 2015 9:10:52 PM org.geotools.data.shapefile.files.ShpFiles logCurrentLockers\r\nSEVERE: The following locker still has a lock: read on file:/Users/abyrd/nyrail/alignment-topo.dbf by org.geotools.data.shapefile.dbf.DbaseFileReader\r\n```"}}