[IPython-dev] Fwd: [GitHub] ipy_vimserver traceback on Windows [ipython/ipython GH-153]

Fernando Perez fperez.net at gmail.com
Sun Oct 10 01:18:37 EDT 2010

Hi folks,

does the vimserver code run on Windows?  We have  a bug report about
it on the site, and I have no idea what to say, see below...



---------- Forwarded message ----------
From: GitHub <noreply at github.com>
Date: Thu, Sep 23, 2010 at 1:58 PM
Subject: [GitHub] ipy_vimserver traceback on Windows [ipython/ipython GH-153]
To: fperez.net at gmail.com

whitelynx reported an issue:

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)

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

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

C:\Python27\lib\site-packages\IPython\Extensions\ipy_vimserver.pyc in <module>()
    74 import re
---> 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

View Issue: http://github.com/ipython/ipython/issues#issue/153

More information about the IPython-dev mailing list