ivanov / vim-ipython

A two-way integration between Vim and IPython 0.11+
http://github.com/ivanov/vim-ipython
1.04k stars 163 forks source link

Canopy & Vim: 'ShellChannel' object has no attribute 'get_msg' #71

Closed aaren closed 11 years ago

aaren commented 11 years ago

I've managed to compile vim to use my Canopy install.

With a running ipython kernel, I can source ipy.vim but when I run :IPython I get:

{u'hb_port': 39201, u'iopub_port': 42237, u'ip': u'127.0.0.1', u'key': u'6890cb4b-3534-4aed-83d5-329ea6622473', u'shell_port': 49005, u'stdin_port': 42938} Traceback (most recent call last): File "", line 1, in File "", line 134, in km_from_string File "", line 453, in set_pid File "", line 357, in get_child_msg AttributeError: 'ShellChannel' object has no attribute 'get_msg'

I'm not sure whether this is a problem with vim-ipython or my vim setup. I'm using the latest version of vim.

dusans commented 11 years ago

What version of IPython do u have?

aaren commented 11 years ago

1.0.dev

dusans commented 11 years ago

Might be just blurred memories but i remember having same issues with 1.0.dev and then switched to 1.0.rc and it worked. Now im on 1.0 and its also fine.

aaren commented 11 years ago

I downgraded to ipython 0.13.1 and it works. Don't think I can go to ipython 1.0 within canopy though.

dusans commented 11 years ago

I think u can close the issue.

aaren commented 11 years ago

yes.

conclusion: no problem with ipython 0.13.1 or 1.0. problem with whatever 1.0.dev I had.

ivanov commented 11 years ago

glad all was resolved :) sorry I've been a bit neglectful of vim-ipython lately, it should get more love now...