{"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,"number":2812,"title":"Spyder ipython console throws \"An error ocurred while starting the kernel\" when restarting kernel","user":{"login":"asrbrr","id":5294513,"avatar_url":"https://avatars.githubusercontent.com/u/5294513?v=3","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,"milestone":null,"comments":5,"created_at":"2015-11-15T07:49:40Z","updated_at":"2016-05-23T14:58:45Z","closed_at":"2015-11-16T15:59:39Z","body":"## Description\r\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.\r\n\r\n```\r\nAn error ocurred while starting the kernel\r\nError in sitecustomize; set PYTHONVERBOSE for traceback:\r\nTypeError: 'NoneType' object is not callable\r\nTraceback (most recent call last):\r\nFile \"/Users/asierberra/anaconda/lib/python3.5/site‑packages/spyderlib/widgets/externalshell/start_ipython_kernel.py\", line 183, in \r\nfrom IPython.kernel.zmq.kernelapp import IPKernelApp\r\nFile \"/Users/asierberra/anaconda/lib/python3.5/site‑packages/IPython/__init__.py\", line 48, in \r\nfrom .terminal.embed import embed\r\nFile \"/Users/asierberra/anaconda/lib/python3.5/site‑packages/IPython/terminal/embed.py\", line 16, in \r\nfrom IPython.core.interactiveshell import DummyMod\r\nFile \"/Users/asierberra/anaconda/lib/python3.5/site‑packages/IPython/core/interactiveshell.py\", line 31, in \r\nfrom pickleshare import PickleShareDB\r\nFile \"/Users/asierberra/anaconda/lib/python3.5/site‑packages/pickleshare.py\", line 41, in \r\nfrom path import path as Path\r\nFile \"/Users/asierberra/anaconda/lib/python3.5/site‑packages/path.py\", line 123, in \r\n__version__ = pkg_resources.require('path.py')[0].version\r\nTypeError: 'NoneType' object is not callable\r\n```\r\n\r\n\r\n**What steps will reproduce the problem?**\r\n\r\n1. Open spyder and work in ipython consol\r\n2. Open a new ipython console tab, or restart current kernel\r\n3.  \r\n\r\n**What is the expected output? What do you see instead?**\r\n\r\n\r\n**Please provide any additional information below**\r\n\r\n\r\n## Version and main components\r\n\r\n* Spyder Version: 2.3.7 \r\n* Python Version: 3.5.0\r\n* Qt Versions:  4.8.7, PyQt4 (API v2) 4.11.4 on Darwin\r\n* OsX 10.11.1\r\n\r\n## Optional dependencies\r\n```\r\npyflakes >=0.6.0   :  1.0.0 (OK)\r\npep8 >=0.6         :  1.6.2 (OK)\r\npygments >=1.6     :  2.0.2 (OK)\r\nIPython >=1.0      :  4.0.0 (OK)\r\nzmq >=2.1.11       :  14.7.0 (OK)\r\nqtconsole >=4.0    :  4.1.0 (OK)\r\npandas >=0.13.1    :  0.17.0 (OK)\r\nsphinx >=0.6.6     :  1.3.1 (OK)\r\npsutil >=0.3       :  3.2.2 (OK)\r\nrope >=0.9.2       :  0.9.4-1 (OK)\r\njedi >=0.8.1;<0.9.0:  0.9.0 (NOK)\r\nmatplotlib >=1.0   :  1.4.3 (OK)\r\nsympy >=0.7.3      :  0.7.6.1 (OK)\r\npylint >=0.25      :  None (NOK)\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/comments/221004517","html_url":"https://github.com/spyder-ide/spyder/issues/2812#issuecomment-221004517","issue_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2812","id":221004517,"user":{"login":"leonbrave","id":14029996,"avatar_url":"https://avatars.githubusercontent.com/u/14029996?v=3","gravatar_id":"","url":"https://api.github.com/users/leonbrave","html_url":"https://github.com/leonbrave","followers_url":"https://api.github.com/users/leonbrave/followers","following_url":"https://api.github.com/users/leonbrave/following{/other_user}","gists_url":"https://api.github.com/users/leonbrave/gists{/gist_id}","starred_url":"https://api.github.com/users/leonbrave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonbrave/subscriptions","organizations_url":"https://api.github.com/users/leonbrave/orgs","repos_url":"https://api.github.com/users/leonbrave/repos","events_url":"https://api.github.com/users/leonbrave/events{/privacy}","received_events_url":"https://api.github.com/users/leonbrave/received_events","type":"User","site_admin":false},"created_at":"2016-05-23T14:58:45Z","updated_at":"2016-05-23T14:58:45Z","body":"ccordoba12 THANKS!!!!!!  this solve my problem!"}}
{"actor":{"display_login":"leonbrave"}}