{"action":"opened","issue":{"url":"https://api.github.com/repos/Toblerity/Fiona/issues/330","repository_url":"https://api.github.com/repos/Toblerity/Fiona","labels_url":"https://api.github.com/repos/Toblerity/Fiona/issues/330/labels{/name}","comments_url":"https://api.github.com/repos/Toblerity/Fiona/issues/330/comments","events_url":"https://api.github.com/repos/Toblerity/Fiona/issues/330/events","html_url":"https://github.com/Toblerity/Fiona/issues/330","id":145394093,"number":330,"title":"Pb Reading Shapefile","user":{"login":"oliverjack38","id":3680918,"avatar_url":"https://avatars.githubusercontent.com/u/3680918?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverjack38","html_url":"https://github.com/oliverjack38","followers_url":"https://api.github.com/users/oliverjack38/followers","following_url":"https://api.github.com/users/oliverjack38/following{/other_user}","gists_url":"https://api.github.com/users/oliverjack38/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverjack38/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverjack38/subscriptions","organizations_url":"https://api.github.com/users/oliverjack38/orgs","repos_url":"https://api.github.com/users/oliverjack38/repos","events_url":"https://api.github.com/users/oliverjack38/events{/privacy}","received_events_url":"https://api.github.com/users/oliverjack38/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-02T16:58:47Z","updated_at":"2016-04-02T16:58:47Z","closed_at":null,"body":"I Have some problem reading shapefiles created in QGis. I am not sure whether it is a Fiona or a QGis problem....\r\n\r\nWhen I do:\r\n\r\n`import fiona\r\n\r\nl =\"poly3.shp\"\r\n\r\nwith fiona.open(l) as src:\r\n    for feature in src:\r\n        print feature\r\n`\r\n\r\nI get:\r\n\r\n`\r\n---------------------------------------------------------------------------\r\nIndexError                                Traceback (most recent call last)\r\n<ipython-input-24-236e481de75e> in <module>()\r\n      1 with fiona.open(l) as src:\r\n----> 2         for feature in src:\r\n      3                 print(feature)\r\n      4 \r\n\r\nfiona/ogrext.pyx in fiona.ogrext.Iterator.__next__ (fiona/ogrext.c:19067)()\r\n\r\nfiona/ogrext.pyx in fiona.ogrext.FeatureBuilder.build (fiona/ogrext.c:3357)()\r\n\r\nIndexError: list index out of range\r\n\r\n`\r\n\r\nif I do\r\n\r\n`\r\nc = fiona.open(l)\r\nc.next()[\"geometry\"]\r\n`\r\n\r\nI get\r\n\r\n`\r\n/usr/lib/python2.7/site-packages/fiona/collection.pyc in __next__(self)\r\n    316         if not self.iterator:\r\n    317             iter(self)\r\n--> 318         return next(self.iterator)\r\n    319 \r\n    320     next = __next__\r\n\r\nfiona/ogrext.pyx in fiona.ogrext.Iterator.__next__ (fiona/ogrext.c:19067)()\r\n\r\nfiona/ogrext.pyx in fiona.ogrext.FeatureBuilder.build (fiona/ogrext.c:3357)()\r\n\r\nIndexError: list index out of range\r\n`\r\n\r\nFrom what I understand the issue comes from the schema which does not seem to be read or set properly...\r\n"}}