ipy_vimserver traceback on Windows #153

Closed
whitelynx opened this Issue Sep 23, 2010 · 2 comments

Comments

Projects
None yet
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

This comment has been minimized.

Show comment Hide comment
@fperez

fperez Sep 23, 2010

Member

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.

Member

fperez commented Sep 23, 2010

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

This comment has been minimized.

Show comment Hide comment
@fperez

fperez Mar 13, 2011

Member

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

Closed by 6bc709a.

Member

fperez commented Mar 13, 2011

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

Closed by 6bc709a.

markvoorhies pushed a commit to markvoorhies/ipython that referenced this issue Apr 21, 2011

minrk pushed a commit to minrk/ipython that referenced this issue Jul 1, 2013

Merge pull request #153 from Carreau/mutable-default
Do not use mutable class defautl parameter

mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014

This issue was closed.

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