FlyingDiver / Indigo-miniUniFi

Minimalistic UniFi plugin for Indigo
MIT License
0 stars 0 forks source link

Dictionary changed size during iteration #38

Closed autolog closed 2 years ago

autolog commented 2 years ago

Running latest pre-relaese code from repository as advised last night.

Added a new UniFi device (UXG-Pro) to miniUnifi and got this error: ` miniUniFi Error Error in plugin execution runConcurrentThread:

File "plugin.py", line 113, in runConcurrentThread type: dictionary changed size during iteration

miniUniFi Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds) ` I guess beacuse the device was added to the dictionary while the iteration was in progress?

FlyingDiver commented 2 years ago

Yeah, that's a Python3 change I'm not thrilled with.

FlyingDiver commented 2 years ago

https://github.com/FlyingDiver/Indigo-miniUniFi/releases/tag/2022.1.2