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

crash when sending 2 commands at the same time #2

Open
tikismoke opened this issue Apr 28, 2019 · 0 comments
Open

crash when sending 2 commands at the same time #2

tikismoke opened this issue Apr 28, 2019 · 0 comments

Comments

@tikismoke
Copy link

Publishing 2 value at the same time i got:

Connected to: KLF 200: Software version: 0.2.0.0.71.0, hardware version: 5, protocol version: 3.14
Traceback (most recent call last):
  File "vlx2mqtt.py", line 196, in <module>
    LOOP.run_until_complete(main(LOOP))
  File "/usr/lib/python3.5/asyncio/base_events.py", line 466, in run_until_complete
    return future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
    raise self._exception
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "vlx2mqtt.py", line 174, in main
    for name, value in nodes.items():
RuntimeError: dictionary changed size during iteration

@tikismoke tikismoke changed the title crash when sending 2 command at the same time crash when sending 2 commands at the same time Apr 28, 2019
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