Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

ParameterChannel Connections Dict KeyError #44

Closed
ch3njust1n opened this issue Apr 19, 2018 · 1 comment
Closed

ParameterChannel Connections Dict KeyError #44

ch3njust1n opened this issue Apr 19, 2018 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ch3njust1n
Copy link
Owner

ch3njust1n commented Apr 19, 2018

ERROR:root:'192.168.0.12:9888'
Traceback (most recent call last):
  File "/home/ubuntu/smpl/distributed/parameter_channel.py", line 107, in send
    sock = self.connections[addr]
KeyError: '192.168.0.12:9888'
@ch3njust1n ch3njust1n added the bug Something isn't working label Apr 19, 2018
@ch3njust1n ch3njust1n self-assigned this Apr 19, 2018
@ch3njust1n
Copy link
Owner Author

ch3njust1n commented Apr 24, 2018

[parameter_channel.py:149 -               remove()] 2018-04-24 19:22:39,556 - root - ERROR - '192.168.0.10:51540'
[parameter_channel.py:133 -                 send()] 2018-04-24 19:22:17,201 - root - ERROR - '192.168.0.11:9888'

ch3njust1n added a commit that referenced this issue Apr 24, 2018
…ixed #44 by removing line in ps.receive() that deletes connection if receives an empty message. Calling function should handle empty responses elegantly.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant