{"action":"created","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/2812","repository_url":"https://api.github.com/repos/spyder-ide/spyder","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2812/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2812/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2812/events","html_url":"https://github.com/spyder-ide/spyder/issues/2812","id":116979456,"node_id":"MDU6SXNzdWUxMTY5Nzk0NTY=","number":2812,"title":"Spyder ipython console throws \"An error ocurred while starting the kernel\" when restarting kernel","user":{"login":"asrbrr","id":5294513,"node_id":"MDQ6VXNlcjUyOTQ1MTM=","avatar_url":"https://avatars3.githubusercontent.com/u/5294513?v=4","gravatar_id":"","url":"https://api.github.com/users/asrbrr","html_url":"https://github.com/asrbrr","followers_url":"https://api.github.com/users/asrbrr/followers","following_url":"https://api.github.com/users/asrbrr/following{/other_user}","gists_url":"https://api.github.com/users/asrbrr/gists{/gist_id}","starred_url":"https://api.github.com/users/asrbrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asrbrr/subscriptions","organizations_url":"https://api.github.com/users/asrbrr/orgs","repos_url":"https://api.github.com/users/asrbrr/repos","events_url":"https://api.github.com/users/asrbrr/events{/privacy}","received_events_url":"https://api.github.com/users/asrbrr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":27,"created_at":"2015-11-15T07:49:40Z","updated_at":"2019-01-02T10:33:41Z","closed_at":"2015-11-16T15:59:39Z","author_association":"NONE","body":"## Description\n\nWhen restarting ipython kernel or opening a new ipython console session within Spyder, it crashes. Below is the error message. However, the very first ipython console session that get's opened by Spyder, does work. I have reinstalled anaconda  with a fresh new download but the problem keeps appearing.\n\n```\nAn error ocurred while starting the kernel\nError in sitecustomize; set PYTHONVERBOSE for traceback:\nTypeError: 'NoneType' object is not callable\nTraceback (most recent call last):\nFile \"/Users/asierberra/anaconda/lib/python3.5/site‑packages/spyderlib/widgets/externalshell/start_ipython_kernel.py\", line 183, in \nfrom IPython.kernel.zmq.kernelapp import IPKernelApp\nFile \"/Users/asierberra/anaconda/lib/python3.5/site‑packages/IPython/__init__.py\", line 48, in \nfrom .terminal.embed import embed\nFile \"/Users/asierberra/anaconda/lib/python3.5/site‑packages/IPython/terminal/embed.py\", line 16, in \nfrom IPython.core.interactiveshell import DummyMod\nFile \"/Users/asierberra/anaconda/lib/python3.5/site‑packages/IPython/core/interactiveshell.py\", line 31, in \nfrom pickleshare import PickleShareDB\nFile \"/Users/asierberra/anaconda/lib/python3.5/site‑packages/pickleshare.py\", line 41, in \nfrom path import path as Path\nFile \"/Users/asierberra/anaconda/lib/python3.5/site‑packages/path.py\", line 123, in \n__version__ = pkg_resources.require('path.py')[0].version\nTypeError: 'NoneType' object is not callable\n```\n\n**What steps will reproduce the problem?**\n1. Open spyder and work in ipython consol\n2. Open a new ipython console tab, or restart current kernel\n3.  \n\n**What is the expected output? What do you see instead?**\n\n**Please provide any additional information below**\n## Version and main components\n- Spyder Version: 2.3.7 \n- Python Version: 3.5.0\n- Qt Versions:  4.8.7, PyQt4 (API v2) 4.11.4 on Darwin\n- OsX 10.11.1\n## Optional dependencies\n\n```\npyflakes >=0.6.0   :  1.0.0 (OK)\npep8 >=0.6         :  1.6.2 (OK)\npygments >=1.6     :  2.0.2 (OK)\nIPython >=1.0      :  4.0.0 (OK)\nzmq >=2.1.11       :  14.7.0 (OK)\nqtconsole >=4.0    :  4.1.0 (OK)\npandas >=0.13.1    :  0.17.0 (OK)\nsphinx >=0.6.6     :  1.3.1 (OK)\npsutil >=0.3       :  3.2.2 (OK)\nrope >=0.9.2       :  0.9.4-1 (OK)\njedi >=0.8.1;<0.9.0:  0.9.0 (NOK)\nmatplotlib >=1.0   :  1.4.3 (OK)\nsympy >=0.7.3      :  0.7.6.1 (OK)\npylint >=0.25      :  None (NOK)\n\n```\n"},"comment":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/comments/450830870","html_url":"https://github.com/spyder-ide/spyder/issues/2812#issuecomment-450830870","issue_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2812","id":450830870,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDgzMDg3MA==","user":{"login":"quantumdotsss","id":46307359,"node_id":"MDQ6VXNlcjQ2MzA3MzU5","avatar_url":"https://avatars1.githubusercontent.com/u/46307359?v=4","gravatar_id":"","url":"https://api.github.com/users/quantumdotsss","html_url":"https://github.com/quantumdotsss","followers_url":"https://api.github.com/users/quantumdotsss/followers","following_url":"https://api.github.com/users/quantumdotsss/following{/other_user}","gists_url":"https://api.github.com/users/quantumdotsss/gists{/gist_id}","starred_url":"https://api.github.com/users/quantumdotsss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quantumdotsss/subscriptions","organizations_url":"https://api.github.com/users/quantumdotsss/orgs","repos_url":"https://api.github.com/users/quantumdotsss/repos","events_url":"https://api.github.com/users/quantumdotsss/events{/privacy}","received_events_url":"https://api.github.com/users/quantumdotsss/received_events","type":"User","site_admin":false},"created_at":"2019-01-02T10:33:41Z","updated_at":"2019-01-02T10:33:41Z","author_association":"NONE","body":"I have the same problem as @anglem \r\nAn error ocurred while starting the kernel\r\nb''\r\n\r\nCan any people help us? Many thanks!\r\n\r\n\r\n"}}
{"actor":{"display_login":"quantumdotsss"}}