-
Notifications
You must be signed in to change notification settings - Fork 44
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
poll.py RuntimeError: dictionary changed size during iteration #32
Comments
The poll call in that traceback is required by the mqtt client code and I didn't allow for it to close the connection because I didn't that was possible. I have no idea why the MQTT poll would close the connection but clearly that can happen. Generally that's not a problem as the client immediately reconnects but in this case obvious it doesn't work. Should be a fairly easy fix - I'll try and push something out tomorrow. If you need an immediate work around, you can probably set the keep alive time to be longer on the MQTT broker side which might prevent this from happening. |
If you're OK grabbing the dev branch, please give this is a try. Otherwise, I'll run some more tests over the next day or so and release a bug fix update with the fix in it and you can try that. |
I will try to test the dev branch this weekend. Since I've only seen the problem once in about 2 or 3 weeks, it won't be conclusive that the problem is fixed, but I can at least test that it nominally still works. |
The dev branch is working for me. I don't know that it fixed the problem, but the diff set looks appropriate to the error message. |
I'm going to close this as I think it will work fine now. We can always re-open if it shows up again. |
insteon-mqtt log file:
mosquito log file:
The text was updated successfully, but these errors were encountered: