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

Fernando Perez fperez.net@gmail....
Sun Oct 10 00:18:37 CDT 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...

Thanks

f


---------- Forwarded message ----------
From: GitHub <noreply@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@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:

<pre>
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 <module>()
   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 <module>()
    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.
</pre>

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