{"action":"created","issue":{"url":"https://api.github.com/repos/kennethreitz/tablib/issues/235","repository_url":"https://api.github.com/repos/kennethreitz/tablib","labels_url":"https://api.github.com/repos/kennethreitz/tablib/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/kennethreitz/tablib/issues/235/comments","events_url":"https://api.github.com/repos/kennethreitz/tablib/issues/235/events","html_url":"https://github.com/kennethreitz/tablib/issues/235","id":143012239,"number":235,"title":"TypeError: 'NoneType' object is not iterable","user":{"login":"poswald","id":49721,"avatar_url":"https://avatars.githubusercontent.com/u/49721?v=3","gravatar_id":"","url":"https://api.github.com/users/poswald","html_url":"https://github.com/poswald","followers_url":"https://api.github.com/users/poswald/followers","following_url":"https://api.github.com/users/poswald/following{/other_user}","gists_url":"https://api.github.com/users/poswald/gists{/gist_id}","starred_url":"https://api.github.com/users/poswald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poswald/subscriptions","organizations_url":"https://api.github.com/users/poswald/orgs","repos_url":"https://api.github.com/users/poswald/repos","events_url":"https://api.github.com/users/poswald/events{/privacy}","received_events_url":"https://api.github.com/users/poswald/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kennethreitz/tablib/labels/bug","name":"bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-23T16:35:52Z","updated_at":"2016-03-24T13:22:58Z","closed_at":"2016-03-24T13:22:58Z","body":"There seems to be an issue if you do `str(dataset)` without having headers set for some reason...\r\n\r\n```\r\n(env) poswald [master] $ pip install tablib\r\nCollecting tablib\r\n  Using cached tablib-0.11.2-py2.py3-none-any.whl\r\nInstalling collected packages: tablib\r\nSuccessfully installed tablib-0.11.2\r\nYou are using pip version 8.1.0, however version 8.1.1 is available.\r\nYou should consider upgrading via the 'pip install --upgrade pip' command.\r\n\r\n\r\n(env) poswald [master] $ ipython\r\nPython 3.5.1 (default, Dec  8 2015, 21:47:30)\r\nIPython 4.1.2 -- An enhanced Interactive Python.\r\nIn [1]: import tablib\r\nIn [2]: str(tablib.Dataset())\r\n---------------------------------------------------------------------------\r\nTypeError                                 Traceback (most recent call last)\r\n<ipython-input-2-fed0569f103a> in <module>()\r\n----> 1 str(tablib.Dataset())\r\n\r\n/Users/poswald/Projects/ex/env/lib/python3.5/site-packages/tablib/core.py in __str__(self)\r\n    240\r\n    241     def __str__(self):\r\n--> 242         return self.__unicode__()\r\n    243\r\n    244     # ---------\r\n\r\n/Users/poswald/Projects/ex/env/lib/python3.5/site-packages/tablib/core.py in __unicode__(self)\r\n    224\r\n    225         # Add unicode representation of headers.\r\n--> 226         result.append([unicode(h) for h in self.__headers])\r\n    227\r\n    228         # Add unicode representation of rows.\r\n\r\nTypeError: 'NoneType' object is not iterable\r\n\r\n\r\n(env) poswald [master] $ python --version\r\nPython 3.5.1\r\n```\r\n\r\nEdit:\r\nJust realized this is perhaps a python 3.5 issue?\r\n"},"comment":{"url":"https://api.github.com/repos/kennethreitz/tablib/issues/comments/200830826","html_url":"https://github.com/kennethreitz/tablib/issues/235#issuecomment-200830826","issue_url":"https://api.github.com/repos/kennethreitz/tablib/issues/235","id":200830826,"user":{"login":"iurisilvio","id":105852,"avatar_url":"https://avatars.githubusercontent.com/u/105852?v=3","gravatar_id":"","url":"https://api.github.com/users/iurisilvio","html_url":"https://github.com/iurisilvio","followers_url":"https://api.github.com/users/iurisilvio/followers","following_url":"https://api.github.com/users/iurisilvio/following{/other_user}","gists_url":"https://api.github.com/users/iurisilvio/gists{/gist_id}","starred_url":"https://api.github.com/users/iurisilvio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iurisilvio/subscriptions","organizations_url":"https://api.github.com/users/iurisilvio/orgs","repos_url":"https://api.github.com/users/iurisilvio/repos","events_url":"https://api.github.com/users/iurisilvio/events{/privacy}","received_events_url":"https://api.github.com/users/iurisilvio/received_events","type":"User","site_admin":false},"created_at":"2016-03-24T13:22:58Z","updated_at":"2016-03-24T13:22:58Z","body":"Thanks for the bug report! :+1: I think it was fixed with #228 (not released yet).\r\n\r\nClosing it as a duplicate. Feel free to reopen if this is not the case.\r\n"}}