{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter/nbconvert/issues/305","repository_url":"https://api.github.com/repos/jupyter/nbconvert","labels_url":"https://api.github.com/repos/jupyter/nbconvert/issues/305/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/nbconvert/issues/305/comments","events_url":"https://api.github.com/repos/jupyter/nbconvert/issues/305/events","html_url":"https://github.com/jupyter/nbconvert/issues/305","id":152834734,"number":305,"title":"nbconvert fails withh TypeError","user":{"login":"jhamrick","id":83444,"avatar_url":"https://avatars.githubusercontent.com/u/83444?v=3","gravatar_id":"","url":"https://api.github.com/users/jhamrick","html_url":"https://github.com/jhamrick","followers_url":"https://api.github.com/users/jhamrick/followers","following_url":"https://api.github.com/users/jhamrick/following{/other_user}","gists_url":"https://api.github.com/users/jhamrick/gists{/gist_id}","starred_url":"https://api.github.com/users/jhamrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhamrick/subscriptions","organizations_url":"https://api.github.com/users/jhamrick/orgs","repos_url":"https://api.github.com/users/jhamrick/repos","events_url":"https://api.github.com/users/jhamrick/events{/privacy}","received_events_url":"https://api.github.com/users/jhamrick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-03T17:49:22Z","updated_at":"2016-05-03T18:59:52Z","closed_at":null,"body":"Running nbconvert 4.2 (installed via pip) from the command line under python 2.7 fails with the following error:\r\n\r\n```\r\n$ jupyter nbconvert\r\nTraceback (most recent call last):\r\n  File \"/Users/jhamrick/miniconda3/envs/py2/bin/jupyter-nbconvert\", line 7, in <module>\r\n    from nbconvert.nbconvertapp import main\r\n  File \"/Users/jhamrick/miniconda3/envs/py2/lib/python2.7/site-packages/nbconvert/nbconvertapp.py\", line 99, in <module>\r\n    class NbConvertApp(JupyterApp):\r\n  File \"/Users/jhamrick/miniconda3/envs/py2/lib/python2.7/site-packages/nbconvert/nbconvertapp.py\", line 179, in NbConvertApp\r\n    \"\"\".format(get_export_names()))\r\n  File \"/Users/jhamrick/miniconda3/envs/py2/lib/python2.7/site-packages/nbconvert/exporters/export.py\", line 210, in get_export_names\r\n    sorted(entrypoints.get_group_named('nbconvert.exporters'))\r\n  File \"/Users/jhamrick/miniconda3/envs/py2/lib/python2.7/site-packages/entrypoints.py\", line 187, in get_group_named\r\n    for ep in get_group_all(group, path=path):\r\n  File \"/Users/jhamrick/miniconda3/envs/py2/lib/python2.7/site-packages/entrypoints.py\", line 199, in get_group_all\r\n    if group in config:\r\nTypeError: argument of type 'instance' is not iterable\r\n```\r\n\r\nIt seems to work fine under python 3."},"comment":{"url":"https://api.github.com/repos/jupyter/nbconvert/issues/comments/216631194","html_url":"https://github.com/jupyter/nbconvert/issues/305#issuecomment-216631194","issue_url":"https://api.github.com/repos/jupyter/nbconvert/issues/305","id":216631194,"user":{"login":"takluyver","id":327925,"avatar_url":"https://avatars.githubusercontent.com/u/327925?v=3","gravatar_id":"","url":"https://api.github.com/users/takluyver","html_url":"https://github.com/takluyver","followers_url":"https://api.github.com/users/takluyver/followers","following_url":"https://api.github.com/users/takluyver/following{/other_user}","gists_url":"https://api.github.com/users/takluyver/gists{/gist_id}","starred_url":"https://api.github.com/users/takluyver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takluyver/subscriptions","organizations_url":"https://api.github.com/users/takluyver/orgs","repos_url":"https://api.github.com/users/takluyver/repos","events_url":"https://api.github.com/users/takluyver/events{/privacy}","received_events_url":"https://api.github.com/users/takluyver/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T18:59:52Z","updated_at":"2016-05-03T18:59:52Z","body":"This comes up if you have python-future in the env, see PythonCharmers/python-future#118 and takluyver/entrypoints#3. I'm trying to work out a workaround in entrypoints, but for now removing `future` is an easy workaround."}}