MrJoes/tornadio2 — Issue #5: None of the examples work
Author: aroman
Created: 2011-11-08 23:27:54+00:00
State: open

when starting any of the example servers, this occurs:

tornadio2/examples/transports >>> python transports.py
INFO:root:Starting up tornadio server on port '8001'
Traceback (most recent call last):
File "transports.py", line 55, in
tornadio2.server.SocketServer(application)
File "/usr/lib64/python2.6/site-packages/TornadIO2-0.0.1-py2.6.egg/tornadio2/server.py", line 58, in __init__
self.listen(socket_io_port, socket_io_address)
File "/usr/lib64/python2.6/site-packages/tornado/netutil.py", line 100, in listen
sockets = bind_sockets(port, address=address)
File "/usr/lib64/python2.6/site-packages/tornado/netutil.py", line 265, in bind_sockets
sock.bind(sockaddr)
File "", line 1, in bind
socket.error: getsockaddrarg: bad family
tornadio2/examples/transports >>> python --version
Python 2.6.7
tornadio2/examples/transports >>>

---

Cloned from git today, Tornado version 2.1.1