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

Already on GitHub? Sign in to your account

Snow Leopard ipy_vimserver POLL error #118

Closed
nsmgr8 opened this Issue May 17, 2010 · 2 comments

Comments

Projects
None yet
3 participants

nsmgr8 commented May 17, 2010

Snow Leopard select module does not have any poll method or attributes. Therefore ipy_vimserver is not possible to use.

In [1]: import ipy_vimserver


AttributeError Traceback (most recent call last)

/Users/nasim/ in ()

/Library/Python/2.6/site-packages/IPython/Extensions/ipy_vimserver.py in ()
74 import re
75
---> 76 ERRCONDS = select.POLLHUP|select.POLLERR
77 SERVER = None
78 ip = IPython.ipapi.get()

AttributeError: 'module' object has no attribute 'POLLHUP'

Also

import select;
dir(select);
['KQ_EV_ADD',
'KQ_EV_CLEAR',
'KQ_EV_DELETE',
'KQ_EV_DISABLE',
'KQ_EV_ENABLE',
'KQ_EV_EOF',
'KQ_EV_ERROR',
'KQ_EV_FLAG1',
'KQ_EV_ONESHOT',
'KQ_EV_SYSFLAGS',
'KQ_FILTER_AIO',
'KQ_FILTER_PROC',
'KQ_FILTER_READ',
'KQ_FILTER_SIGNAL',
'KQ_FILTER_TIMER',
'KQ_FILTER_VNODE',
'KQ_FILTER_WRITE',
'KQ_NOTE_ATTRIB',
'KQ_NOTE_CHILD',
'KQ_NOTE_DELETE',
'KQ_NOTE_EXEC',
'KQ_NOTE_EXIT',
'KQ_NOTE_EXTEND',
'KQ_NOTE_FORK',
'KQ_NOTE_LINK',
'KQ_NOTE_LOWAT',
'KQ_NOTE_PCTRLMASK',
'KQ_NOTE_PDATAMASK',
'KQ_NOTE_RENAME',
'KQ_NOTE_REVOKE',
'KQ_NOTE_TRACK',
'KQ_NOTE_TRACKERR',
'KQ_NOTE_WRITE',
'doc',
'file',
'name',
'package',
'error',
'kevent',
'kqueue',
'select']

Owner

takluyver commented Mar 23, 2011

Is this still an issue?

Owner

minrk commented Apr 19, 2011

ipy_vimserver has been moved to deathrow, as it depends on the old API. A new version of this code should probably use the 0MQ kernel anyway.

Closing this as 'wontfix', but anyone is welcome to write new vim integration.

@minrk minrk closed this Apr 19, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment