Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

similar to shell update problem #6 that was closed. vim exception Ctrl-s or F5 #106

Open
ghost opened this issue Oct 5, 2014 · 2 comments

Comments

@ghost
Copy link

ghost commented Oct 5, 2014

(disclaimer - first issue, so I hope this follows common etiquette)
Linux 3.10.17-smp #2 SMP i686 Intel Pentium Dual
vim 7.4 compiled on slackware 14
ipython 2.2.0
.bashrc and .vimrc modified as directed in tutorial

Traceback (most recent call last):
File "", line 1, in
File "///.vim/bundle/vim-ipython/ftplugin/python/vim_ipython.py", line 478, in f_with_update f(*args)
File "///.vim/bundle/vim-ipython/ftplugin/python/vim_ipython.py", line 487, in run_this_file
msg_id = send('%%run %s %s' % (run_flags, repr(vim.current.buffer.name),))
NameError: global name 'send' is not defined

also
:py print km
None
:py send = km.shell_channel.execute

Traceback (most recent call last):
File "", line 1, in
AttributeError: 'NoneType' object has no attribute 'shell_channel'

This was working fine, and it seemed to stop working after installing virtualenv
and virtualenvwraper (required editing .bashrc) but reversing the changes does
not fix the problem.

ipython notebook qtconsole and ipython kernels all work.
Thank you.

@noreun
Copy link

noreun commented Aug 18, 2016

Similar, but different... Any luck solving this? Same problem here.

Traceback (most recent call last):
File "", line 1, in
File "/.vim/bundle/vim-ipython/ftplugin/python/vim_ipython.py", line 502, in f_with_update f(*args)
File "
/.vim/bundle/vim-ipython/ftplugin/python/vim_ipython.py", line 511, in run_this_file
msg_id = send('%%run %s %s' % (run_flags, repr(vim.current.buffer.name),))
NameError: global name 'send' is not defined

@noreun
Copy link

noreun commented Aug 18, 2016

For me downgrading ipython to 3.2.3 did the trick... perhaps related to #155 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant