{"action":"created","issue":{"url":"https://api.github.com/repos/tornadoweb/tornado/issues/1907","repository_url":"https://api.github.com/repos/tornadoweb/tornado","labels_url":"https://api.github.com/repos/tornadoweb/tornado/issues/1907/labels{/name}","comments_url":"https://api.github.com/repos/tornadoweb/tornado/issues/1907/comments","events_url":"https://api.github.com/repos/tornadoweb/tornado/issues/1907/events","html_url":"https://github.com/tornadoweb/tornado/issues/1907","id":193480959,"number":1907,"title":"Some bugs when using jupyter notebook with tornado","user":{"login":"QingGo","id":13678719,"avatar_url":"https://avatars.githubusercontent.com/u/13678719?v=3","gravatar_id":"","url":"https://api.github.com/users/QingGo","html_url":"https://github.com/QingGo","followers_url":"https://api.github.com/users/QingGo/followers","following_url":"https://api.github.com/users/QingGo/following{/other_user}","gists_url":"https://api.github.com/users/QingGo/gists{/gist_id}","starred_url":"https://api.github.com/users/QingGo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QingGo/subscriptions","organizations_url":"https://api.github.com/users/QingGo/orgs","repos_url":"https://api.github.com/users/QingGo/repos","events_url":"https://api.github.com/users/QingGo/events{/privacy}","received_events_url":"https://api.github.com/users/QingGo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-12-05T12:10:34Z","updated_at":"2016-12-13T12:48:42Z","closed_at":"2016-12-13T12:48:42Z","body":"I have intall python3, anaconda2 and anaconda3 in my window8.1 system, but i can only open jupyter notebook with anaconda2. when using jupyter notebook with anaconda3 or python3, it will jump out an \"OSError: [WinError 10013 Attempts to access the socket are made in a way that access is not allowed.(translated)\"\r\n\r\n```\r\nC:\\Windows\\system32>where anaconda\r\nE:\\Users\\Zeng\\Anaconda2\\Scripts\\anaconda.exe\r\nE:\\Users\\Zeng\\Anaconda3\\Scripts\\anaconda.exe\r\n\r\nC:\\Windows\\system32>where jupyter\r\nE:\\Users\\Zeng\\Anaconda2\\Scripts\\jupyter.exe\r\nE:\\Users\\Zeng\\Anaconda3\\Scripts\\jupyter.exe\r\nC:\\Users\\Zeng\\AppData\\Local\\Programs\\Python\\Python35\\Scripts\\jupyter.exe\r\n\r\nC:\\Windows\\system32>E:\\Users\\Zeng\\Anaconda2\\Scripts\\jupyter.exe notebook\r\n[I 16:37:46.539 NotebookApp] [nb_conda_kernels] enabled, 2 kernels found\r\n[I 16:37:48.627 NotebookApp] 鉁?nbpresent HTML export ENABLED\r\n[W 16:37:48.628 NotebookApp] 鉁?nbpresent PDF export DISABLED: No module named n\r\nbbrowserpdf.exporters.pdf\r\n[I 16:37:48.644 NotebookApp] [nb_conda] enabled\r\n[I 16:37:49.030 NotebookApp] [nb_anacondacloud] enabled\r\n[I 16:37:49.696 NotebookApp] Serving notebooks from local directory: C:\\Windows\\\r\nsystem32\r\n[I 16:37:49.697 NotebookApp] 0 active kernels\r\n[I 16:37:49.697 NotebookApp] The Jupyter Notebook is running at: http://localhos\r\nt:38888/\r\n[I 16:37:49.698 NotebookApp] Use Control-C to stop this server and shut down all\r\n kernels (twice to skip confirmation).\r\n[I 16:38:19.703 NotebookApp] Interrupted...\r\n[I 16:38:19.703 NotebookApp] Shutting down kernels\r\n\r\nC:\\Windows\\system32>E:\\Users\\Zeng\\Anaconda3\\Scripts\\jupyter.exe notebook\r\n[I 16:38:34.727 NotebookApp] [nb_conda_kernels] enabled, 2 kernels found\r\nTraceback (most recent call last):\r\n  File \"E:\\Users\\Zeng\\Anaconda3\\lib\\site-packages\\tornado\\platform\\common.py\", l\r\nine 44, in __init__\r\n    self.writer.connect(connect_address)\r\nOSError: [WinError 10013] 以一种访问权限不允许的方式做了一个访问套接字的尝试。\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"E:\\Users\\Zeng\\Anaconda3\\Scripts\\jupyter-notebook-script.py\", line 5, in\r\n<module>\r\n    sys.exit(notebook.notebookapp.main())\r\n  File \"E:\\Users\\Zeng\\Anaconda3\\lib\\site-packages\\jupyter_core\\application.py\",\r\nline 267, in launch_instance\r\n    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)\r\n  File \"E:\\Users\\Zeng\\Anaconda3\\lib\\site-packages\\traitlets\\config\\application.p\r\ny\", line 652, in launch_instance\r\n    app.initialize(argv)\r\n  File \"<decorator-gen-7>\", line 2, in initialize\r\n  File \"E:\\Users\\Zeng\\Anaconda3\\lib\\site-packages\\traitlets\\config\\application.p\r\ny\", line 87, in catch_config_error\r\n    return method(app, *args, **kwargs)\r\n  File \"E:\\Users\\Zeng\\Anaconda3\\lib\\site-packages\\notebook\\notebookapp.py\", line\r\n 1071, in initialize\r\n    self.init_webapp()\r\n  File \"E:\\Users\\Zeng\\Anaconda3\\lib\\site-packages\\notebook\\notebookapp.py\", line\r\n 919, in init_webapp\r\n    self.http_server.listen(port, self.ip)\r\n  File \"E:\\Users\\Zeng\\Anaconda3\\lib\\site-packages\\tornado\\tcpserver.py\", line 12\r\n7, in listen\r\n    self.add_sockets(sockets)\r\n  File \"E:\\Users\\Zeng\\Anaconda3\\lib\\site-packages\\tornado\\tcpserver.py\", line 13\r\n9, in add_sockets\r\n    self.io_loop = IOLoop.current()\r\n  File \"E:\\Users\\Zeng\\Anaconda3\\lib\\site-packages\\tornado\\ioloop.py\", line 213,\r\nin current\r\n    return IOLoop.instance()\r\n  File \"E:\\Users\\Zeng\\Anaconda3\\lib\\site-packages\\tornado\\ioloop.py\", line 161,\r\nin instance\r\n    IOLoop._instance = IOLoop()\r\n  File \"E:\\Users\\Zeng\\Anaconda3\\lib\\site-packages\\tornado\\util.py\", line 278, in\r\n __new__\r\n    instance.initialize(*args, **init_kwargs)\r\n  File \"E:\\Users\\Zeng\\Anaconda3\\lib\\site-packages\\zmq\\eventloop\\ioloop.py\", line\r\n 133, in initialize\r\n    super(ZMQIOLoop, self).initialize(impl=impl, **kwargs)\r\n  File \"E:\\Users\\Zeng\\Anaconda3\\lib\\site-packages\\tornado\\ioloop.py\", line 705,\r\nin initialize\r\n    self._waker = Waker()\r\n  File \"E:\\Users\\Zeng\\Anaconda3\\lib\\site-packages\\tornado\\platform\\common.py\", l\r\nine 48, in __init__\r\n    detail[0] != errno.WSAEADDRINUSE):\r\nTypeError: 'OSError' object is not subscriptable\r\n```\r\n\r\nI have tried to close the windows firewall but the result is same and have not found the port 8888 being occupied with command \"netstat -na\". Form the traceback I guess maybe there are some bugs in tornado? I have no idea what is wrong."},"comment":{"url":"https://api.github.com/repos/tornadoweb/tornado/issues/comments/266730122","html_url":"https://github.com/tornadoweb/tornado/issues/1907#issuecomment-266730122","issue_url":"https://api.github.com/repos/tornadoweb/tornado/issues/1907","id":266730122,"user":{"login":"bdarnell","id":160562,"avatar_url":"https://avatars.githubusercontent.com/u/160562?v=3","gravatar_id":"","url":"https://api.github.com/users/bdarnell","html_url":"https://github.com/bdarnell","followers_url":"https://api.github.com/users/bdarnell/followers","following_url":"https://api.github.com/users/bdarnell/following{/other_user}","gists_url":"https://api.github.com/users/bdarnell/gists{/gist_id}","starred_url":"https://api.github.com/users/bdarnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdarnell/subscriptions","organizations_url":"https://api.github.com/users/bdarnell/orgs","repos_url":"https://api.github.com/users/bdarnell/repos","events_url":"https://api.github.com/users/bdarnell/events{/privacy}","received_events_url":"https://api.github.com/users/bdarnell/received_events","type":"User","site_admin":false},"created_at":"2016-12-13T12:48:42Z","updated_at":"2016-12-13T12:48:42Z","body":"With #1908 merged to fix the exception handling and the rest of the issue diagnosed as a problem with security software, I don't think there's anything else to do here."}}
{"actor":{"display_login":"bdarnell"}}