Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

ipy_vimserver traceback on Windows #153

Closed
whitelynx opened this Issue · 2 comments

2 participants

@whitelynx

On Windows, I receive the following traceback when attempting to load the ipy_vimserver module in my ipy_user_conf.py:

ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (49, 0))

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)

C:\Python27\lib\site-packages\IPython\ipmaker.pyc in force_import(modname, force_reload)
     61         reload(sys.modules[modname])
     62     else:
---> 63         __import__(modname)
     64
     65

C:\Users\davidbron\_ipython\ipy_user_conf.pyc in ()
    412     ip.ex('execfile("%s")' % os.path.expanduser(fname))
    413
--> 414 main()
    415
    416

C:\Users\davidbron\_ipython\ipy_user_conf.pyc in main()
     55
     56
---> 57     import ipy_vimserver
     58     from subprocess import Popen, PIPE
     59

C:\Python27\lib\site-packages\IPython\Extensions\ipy_vimserver.pyc 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'
WARNING: Loading of ipy_user_conf failed.

Platform: Windows 7 64-bit
Python version: 2.7
IPython version: 0.10
Vim version: 7.2

@fperez
Owner

Mmh, I'm neither a vim nor a Windows user, so I'm afraid I'm of little help here.

I'll ping on the list and hopefully one of the original authors will respond.

@fperez
Owner

Better report errors where select is missing POLLHUP/POLERR (win32).

Closed by 6bc709a.

@fperez fperez referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.