Skip to content

Tornado 5.0 not supported (unexpected keyword argument 'io_loop') #19

@TimSC

Description

@TimSC

Tornado 3 and 4 works ok. Tornado 5 server.py fails with:

Traceback (most recent call last):
  File "server.py", line 8, in <module>
	server.listen(msgpackrpc.Address("localhost", 18800))
  File "/usr/local/lib/python2.7/dist-packages/msgpackrpc/server.py", line 24, in listen
	listener.listen(self)
  File "/usr/local/lib/python2.7/dist-packages/msgpackrpc/transport/tcp.py", line 170, in listen
	self._mp_server = MessagePackServer(self, io_loop=self._server._loop._ioloop, encodings=self._encodings)
  File "/usr/local/lib/python2.7/dist-packages/msgpackrpc/transport/tcp.py", line 157, in __init__
	tcpserver.TCPServer.__init__(self, io_loop=io_loop)
TypeError: __init__() got an unexpected keyword argument 'io_loop'

Unfortunately pip defaults to version 5. Suggest we get pip to install 4.5.3 until version 5 is supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions