jath03 / openrgb-python

A python client for the OpenRGB SDK
GNU General Public License v3.0
115 stars 22 forks source link

OpenRGBClient() hangs on update_profiles() (Win10) #20

Closed Jaklans closed 3 years ago

Jaklans commented 3 years ago

Running the example file, the script hangs without providing any error. Debugging the program, the last function to execute is requestProfileList(). It sends the header, then gets to line 95: self.sock.recv_into(header) before hanging indefinitely.

The client shows up in the OpenRGB SDK Server tab. I have the following devices:

X570 I Aorus Pro WiFi SteelSeriesRival 300 Mouse

Using openrgb-python version 0.2.6 on python 3.9.2

anar4732 commented 3 years ago

same here

Jaklans commented 3 years ago

Ugggh, found the issue. The feature to save/load the profiles is not in the release version of the OpenRGB SDK Server. Its a newer feature. Since the functionality does not exist, the server ignores it, and the client freezes. This should probably be noted in the readme or fixed so their is some sort of timeout error

Current release of OpenRGB SDK is 0.5

jath03 commented 3 years ago

Can you guys make sure that the latest git version fixes this issue before I make a pypi release?

MaximilianGaedig commented 3 years ago

Can you guys make sure that the latest git version fixes this issue before I make a pypi release?

Yes, it works now.