You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to make reactive lightning for a single panel backlight, and whenever I try to run the file, I get the following error:
Traceback (most recent call last):
File "/home/cala/projects/reactivepanel/main.py", line 4, in <module>
client = OpenRGBClient('127.0.0.1', 6742, 'My client!')
File "/home/cala/projects/reactivepanel/env/lib/python3.10/site-packages/openrgb/orgb.py", line 388, in __init__
self.update()
File "/home/cala/projects/reactivepanel/env/lib/python3.10/site-packages/openrgb/orgb.py", line 576, in update
self.comms.requestDeviceNum()
File "/home/cala/projects/reactivepanel/env/lib/python3.10/site-packages/openrgb/network.py", line 214, in requestDeviceNum
self.read()
File "/home/cala/projects/reactivepanel/env/lib/python3.10/site-packages/openrgb/network.py", line 116, in read
self.callback(device_id, packet_type, buff[0])
File "/home/cala/projects/reactivepanel/env/lib/python3.10/site-packages/openrgb/orgb.py", line 400, in _callback
self.comms.requestDeviceData(x)
File "/home/cala/projects/reactivepanel/env/lib/python3.10/site-packages/openrgb/network.py", line 207, in requestDeviceData
self.read()
File "/home/cala/projects/reactivepanel/env/lib/python3.10/site-packages/openrgb/network.py", line 137, in read
self.callback(device_id, packet_type, utils.ControllerData.unpack(data, self._protocol_version))
File "/home/cala/projects/reactivepanel/env/lib/python3.10/site-packages/openrgb/utils.py", line 601, in unpack
mode = ModeData.unpack(data, version, x)
File "/home/cala/projects/reactivepanel/env/lib/python3.10/site-packages/openrgb/utils.py", line 332, in unpack
color_mode = ModeColors(parse_var('I', data))
File "/usr/lib/python3.10/enum.py", line 385, in __call__
return cls.__new__(cls, value)
File "/usr/lib/python3.10/enum.py", line 710, in __new__
raise ve_exc
ValueError: 64 is not a valid ModeColors
I have no idea why this is not working, I've tried both code written by myself and code copy-pasted from the documentation. (the error is with the copy-pasted code, I just changed the IP and port to be what I'm actually using)
I'm trying to make reactive lightning for a single panel backlight, and whenever I try to run the file, I get the following error:
I have no idea why this is not working, I've tried both code written by myself and code copy-pasted from the documentation. (the error is with the copy-pasted code, I just changed the IP and port to be what I'm actually using)
openrgb-python
version: 0.3.3OpenRGB version: 0.9, commit
b5f46e3f1de03595656c682fc2f068b66e735e63
The text was updated successfully, but these errors were encountered: