Logitech / logi_craft_sdk

Provide (API) SDK specifications to map your app functions to Logitech Craft dial controller called "Crown".
575 stars 110 forks source link

Python sdk samle - Error on Windows #17

Open ABrauser opened 5 years ago

ABrauser commented 5 years ago

Hello im working on a windows 10 Client with the python sdk. i implemented everything as described in https://github.com/Logitech/logi_craft_sdk/blob/master/samples/CraftPython/README.md

When i start the craft.exe no context menu is shown. i only receive following errors in the command box wenn i touch the Crown:

see attachment. Error.txt

Can someone help me to troubleshoot the problem?

Kind regards

naokihada commented 5 years ago

Hi @ABrauser ,

It appeared that latest websocket-client (currently 0.55) is not compatible and need to use older version (0.48 or before) with current sample code.

Following Python sample instruction need to be changed.

https://github.com/Logitech/logi_craft_sdk/tree/master/samples/CraftPython

NG: pip3 install websocket-client

OK: pip3 install websocket-client==0.48

If it is already installed, you can uninstall as following command. pip3 uninstall websocket-client

Please try again with older websocket-client