On Mon, Mar 26, 2012 at 3:29 PM, Jiri B <[email protected]> wrote: > Hi all, > > as some of us use ESXi/vSphere with OpenBSD and we all like serial consoles > there's vSPC.py (a fork of vSPC.py, a virtual serial port concentrator for use > with VMware) which could be nice combined with conserver. > > OK, original vSPC.py runs OK on OpenBSD, this extended one doesn't. > > If anybody would like to test it, go a head ;) > > https://github.com/isnotajoke/vSPC.py/issues/2 > > $ python2.7 ./vSPCServer -d > ERROR:root:Top level exception caught > Traceback (most recent call last): > File "./vSPCServer", line 138, in <module> > vSPC(options.proxy_port, options.admin_port, options.vm_port_start, > options.vm_expire_time, backend, options.ssl, options.cert, options.key).run() > File "/tmp/isnotajoke-vSPC.py-9154df7/vSPC.py", line 1009, in __init__ > Poller.__init__(self) > File "/tmp/isnotajoke-vSPC.py-9154df7/vSPC.py", line 501, in __init__ > self.epoll = select.epoll() > AttributeError: 'module' object has no attribute 'epoll'
http://docs.python.org/library/select.html select.epoll (Only supported on Linux 2.5.44 and newer.) Returns an edge polling object, which can be used as Edge or Level Triggered interface for I/O events; see section Edge and Level Trigger Polling (epoll) Objects below for the methods supported by epolling objects.
