{"action":"created","issue":{"url":"https://api.github.com/repos/Toblerity/Fiona/issues/281","labels_url":"https://api.github.com/repos/Toblerity/Fiona/issues/281/labels{/name}","comments_url":"https://api.github.com/repos/Toblerity/Fiona/issues/281/comments","events_url":"https://api.github.com/repos/Toblerity/Fiona/issues/281/events","html_url":"https://github.com/Toblerity/Fiona/issues/281","id":110106341,"number":281,"title":"files don't open when there is a bad driver","user":{"login":"demiurg","id":865819,"avatar_url":"https://avatars.githubusercontent.com/u/865819?v=3","gravatar_id":"","url":"https://api.github.com/users/demiurg","html_url":"https://github.com/demiurg","followers_url":"https://api.github.com/users/demiurg/followers","following_url":"https://api.github.com/users/demiurg/following{/other_user}","gists_url":"https://api.github.com/users/demiurg/gists{/gist_id}","starred_url":"https://api.github.com/users/demiurg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demiurg/subscriptions","organizations_url":"https://api.github.com/users/demiurg/orgs","repos_url":"https://api.github.com/users/demiurg/repos","events_url":"https://api.github.com/users/demiurg/events{/privacy}","received_events_url":"https://api.github.com/users/demiurg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Toblerity/Fiona/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/Toblerity/Fiona/labels/GDAL/OGR","name":"GDAL/OGR","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Toblerity/Fiona/milestones/27","html_url":"https://github.com/Toblerity/Fiona/milestones/1.7","labels_url":"https://api.github.com/repos/Toblerity/Fiona/milestones/27/labels","id":1219674,"number":27,"title":"1.7","description":null,"creator":{"login":"sgillies","id":33697,"avatar_url":"https://avatars.githubusercontent.com/u/33697?v=3","gravatar_id":"","url":"https://api.github.com/users/sgillies","html_url":"https://github.com/sgillies","followers_url":"https://api.github.com/users/sgillies/followers","following_url":"https://api.github.com/users/sgillies/following{/other_user}","gists_url":"https://api.github.com/users/sgillies/gists{/gist_id}","starred_url":"https://api.github.com/users/sgillies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgillies/subscriptions","organizations_url":"https://api.github.com/users/sgillies/orgs","repos_url":"https://api.github.com/users/sgillies/repos","events_url":"https://api.github.com/users/sgillies/events{/privacy}","received_events_url":"https://api.github.com/users/sgillies/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":2,"state":"open","created_at":"2015-07-22T06:50:06Z","updated_at":"2015-10-27T15:03:12Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-10-06T21:36:01Z","updated_at":"2015-10-27T15:14:30Z","closed_at":null,"body":"I have come upon a strange issue. It manifests itself when using fiona in a method, in a class, in another module and one of the gdal drivers generates GDAL_ERROR. What happens is that ogr raises exception which bubbles up to Fiona basically saying 'dataset not found', which took me half a day to fix by removing the bad driver. \r\n\r\nThe error happens with Fiona 1.6 but NOT Fiona 1.4.\r\nThe error doesn't happen when importing fiona from console, but happened when I had a django project with views.py (worked in views) import form from forms.py, it happened anywhere in forms.py.\r\n\r\nAfter I downgraded to fiona 1.4, things began to work, but I saw in the console:\r\n```\r\nGDAL_ERROR 1: dlopen(/usr/local/lib/gdalplugins/ogr_FileGDB.dylib, 1): Symbol not found: __ZN11OGRSFDriver14CopyDataSourceEP13OGRDataSourcePKcPPc\r\n  Referenced from: /usr/local/lib/gdalplugins/ogr_FileGDB.dylib\r\n  Expected in: flat namespace\r\n in /usr/local/lib/gdalplugins/ogr_FileGDB.dylib\r\n```\r\n\r\nWhich prompted me to delete the driver, after which things worked. This made me think the driver could be the problem, and after upgrading back to 1.6, everything did work. I'm not sure I can provide more input on this, but I thought I'd at least document."},"comment":{"url":"https://api.github.com/repos/Toblerity/Fiona/issues/comments/151536499","html_url":"https://github.com/Toblerity/Fiona/issues/281#issuecomment-151536499","issue_url":"https://api.github.com/repos/Toblerity/Fiona/issues/281","id":151536499,"user":{"login":"demiurg","id":865819,"avatar_url":"https://avatars.githubusercontent.com/u/865819?v=3","gravatar_id":"","url":"https://api.github.com/users/demiurg","html_url":"https://github.com/demiurg","followers_url":"https://api.github.com/users/demiurg/followers","following_url":"https://api.github.com/users/demiurg/following{/other_user}","gists_url":"https://api.github.com/users/demiurg/gists{/gist_id}","starred_url":"https://api.github.com/users/demiurg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demiurg/subscriptions","organizations_url":"https://api.github.com/users/demiurg/orgs","repos_url":"https://api.github.com/users/demiurg/repos","events_url":"https://api.github.com/users/demiurg/events{/privacy}","received_events_url":"https://api.github.com/users/demiurg/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T15:14:30Z","updated_at":"2015-10-27T15:14:30Z","body":"Thanks, that would be informative to see OGR errors. They're usually indicative of 'pretty bad' things."}}