Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

example run_cluster.py not working on python3.6.3 #17

Open
MazokuMaxy opened this issue Jan 25, 2018 · 0 comments
Open

example run_cluster.py not working on python3.6.3 #17

MazokuMaxy opened this issue Jan 25, 2018 · 0 comments

Comments

@MazokuMaxy
Copy link

python3 run_cluster.py
INFO:root:('/home/user/dev/logs', '127.0.0.1:8002', {'127.0.0.1:8001', '127.0.0.1:8000'})
INFO:root:('/home/user/dev/logs', '127.0.0.1:8001', {'127.0.0.1:8002', '127.0.0.1:8000'})
INFO:root:('/home/user/dev/logs', '127.0.0.1:8000', {'127.0.0.1:8002', '127.0.0.1:8001'})
ERROR:asyncio:Exception in callback _SelectorDatagramTransport._read_ready()
handle: <Handle _SelectorDatagramTransport._read_ready()>
Traceback (most recent call last):
File "/usr/lib/python3.6/asyncio/events.py", line 127, in _run
self._callback(*self._args)
File "/usr/lib/python3.6/asyncio/selector_events.py", line 1078, in _read_ready
self.protocol.datagram_received(data, addr)
File "/usr/local/lib/python3.6/dist-packages/raftos/network.py", line 33, in datagram_received
self.request_handler(data)
File "/usr/local/lib/python3.6/dist-packages/raftos/server.py", line 73, in request_handler
self.state.request_handler(data)
File "/usr/local/lib/python3.6/dist-packages/raftos/state.py", line 534, in request_handler
getattr(self.state, 'on_receive
{}'.format(data['type']))(data)
File "/usr/local/lib/python3.6/dist-packages/raftos/state.py", line 56, in wrapped
return func(self, *args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/raftos/state.py", line 38, in on_receive_function
return func(self, data)
File "/usr/local/lib/python3.6/dist-packages/raftos/state.py", line 219, in on_receive_append_entries_response
if data['request_id'] in self.response_map:
KeyError: 'request_id'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant