{"action":"created","issue":{"url":"https://api.github.com/repos/ipython/ipython/issues/8770","labels_url":"https://api.github.com/repos/ipython/ipython/issues/8770/labels{/name}","comments_url":"https://api.github.com/repos/ipython/ipython/issues/8770/comments","events_url":"https://api.github.com/repos/ipython/ipython/issues/8770/events","html_url":"https://github.com/ipython/ipython/issues/8770","id":102963477,"number":8770,"title":"response from the image window to kernel is not getting passed","user":{"login":"abhisheki2904","id":8945228,"avatar_url":"https://avatars.githubusercontent.com/u/8945228?v=3","gravatar_id":"","url":"https://api.github.com/users/abhisheki2904","html_url":"https://github.com/abhisheki2904","followers_url":"https://api.github.com/users/abhisheki2904/followers","following_url":"https://api.github.com/users/abhisheki2904/following{/other_user}","gists_url":"https://api.github.com/users/abhisheki2904/gists{/gist_id}","starred_url":"https://api.github.com/users/abhisheki2904/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhisheki2904/subscriptions","organizations_url":"https://api.github.com/users/abhisheki2904/orgs","repos_url":"https://api.github.com/users/abhisheki2904/repos","events_url":"https://api.github.com/users/abhisheki2904/events{/privacy}","received_events_url":"https://api.github.com/users/abhisheki2904/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-08-25T06:57:34Z","updated_at":"2015-08-25T09:35:38Z","closed_at":"2015-08-25T09:31:11Z","body":"here is a simple part of code ... to display a image and then closing it off on pressing the esc or 'q'\r\n\r\n```python\r\nimport cv2\r\nimg=cv2.imread('/<imagelocation>')\r\ncv2.imshow('image',img)\r\nk=cv2/waitKey(0)\r\nif k == 27 or ord('q'):\r\n     cv2.destroyAllWindows()\r\n```\r\n\r\nnow the image is shown properly but on pressing 'q' or esc , it hangs and then you have to force quit the image ,\r\nand immediately notebook detects this failure and restart the kernel \r\n"},"comment":{"url":"https://api.github.com/repos/ipython/ipython/issues/comments/134539659","html_url":"https://github.com/ipython/ipython/issues/8770#issuecomment-134539659","issue_url":"https://api.github.com/repos/ipython/ipython/issues/8770","id":134539659,"user":{"login":"Carreau","id":335567,"avatar_url":"https://avatars.githubusercontent.com/u/335567?v=3","gravatar_id":"","url":"https://api.github.com/users/Carreau","html_url":"https://github.com/Carreau","followers_url":"https://api.github.com/users/Carreau/followers","following_url":"https://api.github.com/users/Carreau/following{/other_user}","gists_url":"https://api.github.com/users/Carreau/gists{/gist_id}","starred_url":"https://api.github.com/users/Carreau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Carreau/subscriptions","organizations_url":"https://api.github.com/users/Carreau/orgs","repos_url":"https://api.github.com/users/Carreau/repos","events_url":"https://api.github.com/users/Carreau/events{/privacy}","received_events_url":"https://api.github.com/users/Carreau/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T09:35:38Z","updated_at":"2015-08-25T09:35:38Z","body":"Ok, great. "}}