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

Unable to access pydoc from plugin #147

Open
gzagatti opened this issue Feb 3, 2016 · 0 comments
Open

Unable to access pydoc from plugin #147

gzagatti opened this issue Feb 3, 2016 · 0 comments

Comments

@gzagatti
Copy link

gzagatti commented Feb 3, 2016

Hi,

The get_doc_buffer function does not work. I get the following error message:

Traceback (most recent call last):
    doc = get_doc(word, level)
  File "~/.vim/bundle/vim-ipython/ftplugin/python/vim_ipython.py", line 235, in get_doc
    msg_id = kc.shell_channel.object_info(word, level)
AttributeError: 'ZMQSocketChannel' object has no attribute 'object_info'
  File "<string>", line 1
    get_doc_buffer(print)
                       ^
SyntaxError: invalid syntax

It seems that the attribute object_info does not work. I wonder if it wouldn't be easy to just send the word appended of the ?-mark to the the IPython server. That's how the pydoc is accessed anyway on the console.

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