Problem using cmd:all using Websockets
-
Dear all,
I try to use the cmd:all command using Websocket to retrieve all values at connexion in my custom UI.
After digging into the source code, I managed to understand that there is a problem in the current master code on the Github:
In evok.py, the line 113:
result += map(lambda dev: dev.full(), Devices.by_int(dev))
returns this exception when cmd:all command is fired:
Exc: unsupported operand type(s) for +=: 'dict' and 'list'
Could you please help me to correct this, as I really need this functionnality ? I would like not to have to use the REST API to do that, as I do everything using Websockets.
Best regards.
Olivier.
-
Hi Olivier,
The issue should now be fixed in the latest commit. Please see if it works for you, thank you for reporting the bug.
Kind regards,
Tom -
Hi Tom,
great ! Problem fixed !
Thanks for your fast answer and support.
Regards.
Olivier.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login