Tratlets issue with pycharm 5

I am getting the following issue when trying to start the python console, or run any scripts on PyCharm 5.

I am using OSX el capitain,  have ipython 3.2.1 installed, the python kernel is 2.7.9. Everything runs fine (incl ipython notebook) outside of pycharm.

let me know?

 

usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/bin/python2.7 /Applications/PyCharm.app/Contents/helpers/pydev/pydevconsole.py 53527 53528

Traceback (most recent call last):

  File "/Applications/PyCharm.app/Contents/helpers/pydev/pydevconsole.py", line 488, in <module>

    pydevconsole.StartServer(pydev_localhost.get_localhost(), int(port), int(client_port))

  File "/Applications/PyCharm.app/Contents/helpers/pydev/pydevconsole.py", line 330, in StartServer

    interpreter = InterpreterInterface(host, client_port, threading.currentThread())

  File "/Applications/PyCharm.app/Contents/helpers/pydev/pydev_ipython_console.py", line 26, in __init__

    self.interpreter = get_pydev_frontend(host, client_port)

  File "/Applications/PyCharm.app/Contents/helpers/pydev/pydev_ipython_console_011.py", line 472, in get_pydev_frontend

    _PyDevFrontEndContainer._instance = _PyDevFrontEnd()

  File "/Applications/PyCharm.app/Contents/helpers/pydev/pydev_ipython_console_011.py", line 303, in __init__

    self.ipython = PyDevTerminalInteractiveShell.instance()

  File "/usr/local/lib/python2.7/site-packages/IPython/config/configurable.py", line 337, in instance

    inst = cls(*args, **kwargs)

  File "/usr/local/lib/python2.7/site-packages/IPython/core/interactiveshell.py", line 512, in __init__

    self.init_readline()

  File "/usr/local/lib/python2.7/site-packages/IPython/core/interactiveshell.py", line 1911, in init_readline

    if self.readline_use:

  File "/usr/local/lib/python2.7/site-packages/traitlets/traitlets.py", line 529, in __get__

    return self.get(obj, cls)

  File "/usr/local/lib/python2.7/site-packages/traitlets/traitlets.py", line 507, in get

    % (self.name, obj))

traitlets.traitlets.TraitError: No default value found for None trait of <pydev_ipython_console_011.PyDevTerminalInteractiveShell object at 0x105f0b050>

1 comment
Comment actions Permalink

this seems to have 'magically' fixed itself following several restarts and muttering under my breath... 

 

0

Please sign in to leave a comment.