{"action":"closed","issue":{"url":"https://api.github.com/repos/gregsexton/ob-ipython/issues/26","labels_url":"https://api.github.com/repos/gregsexton/ob-ipython/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/gregsexton/ob-ipython/issues/26/comments","events_url":"https://api.github.com/repos/gregsexton/ob-ipython/issues/26/events","html_url":"https://github.com/gregsexton/ob-ipython/issues/26","id":102539087,"number":26,"title":"Not working with IPython 4. and Jupyter","user":{"login":"Titan-C","id":713451,"avatar_url":"https://avatars.githubusercontent.com/u/713451?v=3","gravatar_id":"","url":"https://api.github.com/users/Titan-C","html_url":"https://github.com/Titan-C","followers_url":"https://api.github.com/users/Titan-C/followers","following_url":"https://api.github.com/users/Titan-C/following{/other_user}","gists_url":"https://api.github.com/users/Titan-C/gists{/gist_id}","starred_url":"https://api.github.com/users/Titan-C/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Titan-C/subscriptions","organizations_url":"https://api.github.com/users/Titan-C/orgs","repos_url":"https://api.github.com/users/Titan-C/repos","events_url":"https://api.github.com/users/Titan-C/events{/privacy}","received_events_url":"https://api.github.com/users/Titan-C/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gregsexton/ob-ipython/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"gregsexton","id":150883,"avatar_url":"https://avatars.githubusercontent.com/u/150883?v=3","gravatar_id":"","url":"https://api.github.com/users/gregsexton","html_url":"https://github.com/gregsexton","followers_url":"https://api.github.com/users/gregsexton/followers","following_url":"https://api.github.com/users/gregsexton/following{/other_user}","gists_url":"https://api.github.com/users/gregsexton/gists{/gist_id}","starred_url":"https://api.github.com/users/gregsexton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregsexton/subscriptions","organizations_url":"https://api.github.com/users/gregsexton/orgs","repos_url":"https://api.github.com/users/gregsexton/repos","events_url":"https://api.github.com/users/gregsexton/events{/privacy}","received_events_url":"https://api.github.com/users/gregsexton/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-08-22T13:59:37Z","updated_at":"2015-08-23T15:22:10Z","closed_at":"2015-08-23T15:22:10Z","body":"I recently upgraded my Ipython versions and when evaluating a codeblock the system would stand still trying to: `Contacting host: localhost:9988`\r\n\r\nIf I kill the process I can read in `ob-ipython-oi-ipython-driver`\r\n```\r\n/home/oscar/miniconda/envs/dev/lib/python2.7/site-packages/IPython/kernel/__init__.py:13: ShimWarning: The `IPython.kernel` package has been deprecated. You should import from ipykernel or jupyter_client instead.\r\n  \"You should import from ipykernel or jupyter_client instead.\", ShimWarning)\r\n['/home/oscar/.emacs.d/elpa/ob-ipython-20150704.457/driver.py', '9988']\r\n```\r\nWhich is not much information for me.\r\nI change nevertheles `IPython.kernel` for `jupyter_client`. That did not improve things.\r\nWhen evaluating a block, it gets stuck in the same step.\r\n\r\nIf I give the block a session name I do get to an error the `ob-ipython-debug` says\r\n```\r\nHTTP/1.1 500 Internal Server Error\r\nDate: Sat, 22 Aug 2015 13:43:07 GMT\r\nContent-Length: 93\r\nContent-Type: text/html; charset=UTF-8\r\nServer: TornadoServer/4.2.1\r\n\r\n<html><title>500: Internal Server Error</title><body>500: Internal Server Error</body></html>\r\n```\r\nand  `ob-ipython-oi-ipython-driver`\r\n```\r\nERROR:tornado.application:Uncaught exception POST /execute/cars (::1)\r\nHTTPServerRequest(protocol='http', host='localhost:9988', method='POST', uri='/execute/cars', version='HTTP/1.1', remote_ip='::1', headers={'Content-Length': '165', 'Accept-Encoding': 'gzip', 'Extension': 'Security/Digest Security/SSL', 'Connection': 'keep-alive', 'Accept': '*/*', 'User-Agent': 'URL/Emacs', 'Host': 'localhost:9988', 'Mime-Version': '1.0'})\r\nTraceback (most recent call last):\r\n  File \"/home/oscar/miniconda/envs/dev/lib/python2.7/site-packages/tornado/web.py\", line 1369, in _stack_context_handle_exception\r\n    raise_exc_info((type, value, traceback))\r\n  File \"/home/oscar/miniconda/envs/dev/lib/python2.7/site-packages/tornado/web.py\", line 1572, in wrapper\r\n    result = method(self, *args, **kwargs)\r\n  File \"/home/oscar/.emacs.d/elpa/ob-ipython-20150704.457/driver.py\", line 71, in post\r\n    c = get_client(name)\r\n  File \"/home/oscar/.emacs.d/elpa/ob-ipython-20150704.457/driver.py\", line 54, in get_client\r\n    clients[name] = create_client(name)\r\n  File \"/home/oscar/.emacs.d/elpa/ob-ipython-20150704.457/driver.py\", line 42, in create_client\r\n    cf = find_connection_file('emacs-' + name)\r\n  File \"/home/oscar/miniconda/envs/dev/lib/python2.7/site-packages/ipykernel/connect.py\", line 85, in find_connection_file\r\n    return jupyter_client.find_connection_file(filename, path=['.', security_dir])\r\n  File \"/home/oscar/miniconda/envs/dev/lib/python2.7/site-packages/jupyter_client/connect.py\", line 185, in find_connection_file\r\n    raise IOError(\"Could not find %r in %r\" % (filename, path))\r\nIOError: Could not find u'emacs-cars' in ['.', u'/home/oscar/.ipython/profile_default/security']\r\nERROR:tornado.access:500 POST /execute/cars (::1) 3.85ms\r\n```"}}